e0/lib/lexer.mll

6 lines
80 B
OCaml
Raw Normal View History

2022-03-08 06:16:27 +00:00
{ open Parser }
rule f = parse
| "fn" { KWD_FN }
| ['a'-'z']* as i { IDENT i }