Skip to content

BRonen/json-parser-prolog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Json Parser in Prolog

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

About

Json parser implementation using prolog

Resources

License

Stars

Watchers

Forks