Refer to main readme
build/nlex --output tokeniser.obj --library --target-sys windows --object-format coff --target-arch x86_64 ../examples/test.nlex
link /dll /def:tokeniser.def tokeniser.obj
cd ../wrapper/c
cc wrapper.c ../src/tokeniser.obj
And use a.out
./a.out [options] -- input_files...
[OPTIONS]
--json : Enable json output
--output [output_file] : write json to given file