OCaml: Implement configuration parser, bind lexer tokens with schema
This commit is contained in:
parent
c1d0788341
commit
b0c65f40b1
12 changed files with 187 additions and 41 deletions
7
ocaml/lib/parsers/config/parser.mli
Normal file
7
ocaml/lib/parsers/config/parser.mli
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
type token = Lexer.token
|
||||
type schema = Schema.schema
|
||||
type config = Schema.main
|
||||
|
||||
val parse : token list -> config
|
||||
val apply : schema -> config -> schema
|
||||
val string_of_config : config -> string
|
||||
Loading…
Add table
Add a link
Reference in a new issue