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

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

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

EmptyTransition = 377C;

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

PROCEDURE DefineIndex (state,cursor : CARDINAL);

PROCEDURE DefineState (state,next,accepting : CARDINAL; first,last : CHAR);

PROCEDURE InitializeDFA;

PROCEDURE ReadPattern (VAR num : CARDINAL);

PROCEDURE ReadDFAFromDisk (VAR f : File);
END DFAPattern.


  3 Responses to “Category : Modula II Source Code
Archive   : PATTERN.ZIP
Filename : DFAPATTE.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/