Skip to content

Richard-Degenne/parser-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parser test

A dummy repo to toy around with OCaml parsers.

Usage

parser_test -p int file.txt

Parses a file containing an integer.

parser_test -p data file.txt

Parses a file containing a colon-separated triple (integer, string, string)

parser_test -p data_seq file.txt

Parses a file containing a list of colon-separated triples (integer, string, string) one per line.

Examples

Example data can be found in test/data.

$ parser_test -p int test/data/int.txt

Found 42
$ parser_test -p data test/data/data.txt

Found
  - 42
  - bonjour
  - oui

About

A dummy repo to toy around with OCaml parsers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages