This is just a toy.
To build the parser:
$ make
To build the lexer:
$ make yaml_only_lex.native
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>