Category : Modula II Source Code
Archive   : PATTERN.ZIP
Filename : NFAPATTE.DEF

 
Output of file : NFAPATTE.DEF contained in archive : PATTERN.ZIP
DEFINITION MODULE NFAPattern;
FROM FileSystem IMPORT File;

CONST
AcceptingMarker = MAX (CARDINAL);
InvalidMarker = MAX (CARDINAL) - 1;
EndMarker = MAX (CARDINAL);

EmptyTransition = 377C;

TYPE
StateRecord = RECORD
next1,next2 : CARDINAL;
char : CHAR;
END; (* StateRecord *)

VAR
lastLexeme : ARRAY [0..255] OF CHAR;

PROCEDURE DefineConstant (num,start : CARDINAL);

PROCEDURE DefineState (num,n1,n2 : CARDINAL; ch : CHAR);

PROCEDURE InitializeNFA;

PROCEDURE ReadPattern (VAR num : CARDINAL);

PROCEDURE ReadNFAFromDisk (VAR f : File);
END NFAPattern.


  3 Responses to “Category : Modula II Source Code
Archive   : PATTERN.ZIP
Filename : NFAPATTE.DEF

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/