Skip to content
Yotam Barnoy edited this page Apr 22, 2015 · 2 revisions

The Parser module is generated by ocamlyacc from parsing/parser.mly. This file contains all of the parsing rules for the OCaml language. The parser relies on the lexer running first and generating tokens, the rules of which can be found in parsing/lexer.mll.

The parser generates AST matching parsing/parsetree.mli and parsing/asttypes.mli.

Clone this wiki locally