OCaml: Refactor configuration lexer for readability, conciseness
This commit is contained in:
parent
df3a9e9a68
commit
8b1aae16c6
3 changed files with 80 additions and 65 deletions
4
ocaml/lib/parsers/config/lexer.mli
Normal file
4
ocaml/lib/parsers/config/lexer.mli
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
type token
|
||||
val read : string -> char list list
|
||||
val scan : char list list -> token list list
|
||||
val string_of_tokens : token list list -> string
|
||||
Loading…
Add table
Add a link
Reference in a new issue