I don&#x27;t really understand our what your issue with ocamllex&#x2F;ocamlyacc is. Clearly you don&#x27;t need them if you are willing to write your lexer&#x2F;parser yourself. Also the same tools exist (and originate) in Unix&#x2F;C land with (f)lex and yacc (a.k.a bison)