Skip to content

Instantly share code, notes, and snippets.

@SteveGilham
Created April 26, 2015 14:18
Show Gist options
  • Save SteveGilham/a4669781cb22bacb10f0 to your computer and use it in GitHub Desktop.
Save SteveGilham/a4669781cb22bacb10f0 to your computer and use it in GitHub Desktop.
Continuation based lexeme producer
// s is our lexerSystem
let lexGetChar s g =
K (fun () -> execute (g (s.input())));;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment