This project goal was just to learn more about Prolog and the Logic Paradigm, this implementation is not optimized to run on real projects.
There are some samples used to test this implementation on json/, you can run like this:
swipl -f json.pl -q -g "read_file('json/donuts.json', X), lexer(X, Y), parser(Y, R, Z), writeln(Z)." -t halt