e0/lib/lexer.mll
2022-03-08 00:16:27 -06:00

5 lines
80 B
OCaml

{ open Parser }
rule f = parse
| "fn" { KWD_FN }
| ['a'-'z']* as i { IDENT i }