Created
April 26, 2015 14:20
-
-
Save SteveGilham/2bc0b3151bdfb4671b3c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Define a type with a character source, a 'lexeme sink and an error string sink: | |
| type lexerSystem<'lexeme> = { | |
| input: unit -> char option; | |
| output: 'lexeme -> unit; | |
| error: string -> unit; | |
| result: unit -> lexerResult<'lexeme> };; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment