Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 355 Bytes

File metadata and controls

23 lines (20 loc) · 355 Bytes

YAML parser written in OCaml

This is just a toy.

Build

To build the parser:

$ make

To build the lexer:

$ make yaml_only_lex.native

Usage

To parse a YAML file and print a result:

$ ./yaml_main.native <yaml file path>

To lex a YAML and print a result:

$ ./yaml_only_lex.native <yaml file path>