Regex based Lexer with F#

This lexer allows you to define your regular expression based rules in a very declarative way using F# computation expressions. open Lexer
let definitions =
lexerDefinitions {
do! addNextlineDefinition "NEWLINE" @"(\n\r)|\n|\r"
do!... Continue reading →