Finite State Machine Compiler

added by Paul Wheeler
12/11/2014 1:49:01 PM

1 Kicks, 172 Views

On the train home I thought it would be fun to knock up a parser for the state machine in F# using FParsec, a parser combinator library. Parser combinators mix the lexing and parsing stages, and make light work of parsing. One of the many things I like about FParsec is that you get pretty good error messages for free from the library.