Thank you everybody for the help. I was able to create my first translator 
using Marpa.
It is an conversion of a small DDL subset of SQL to JSON.

This is the grammar: 
https://gist.github.com/ceving/c6df834bbf5ec815becd#file-ddl-marpa

This the translator with the semantic actions:
https://gist.github.com/ceving/c6df834bbf5ec815becd#file-ddl2json-pl

This is the example DDL source:
https://gist.github.com/ceving/c6df834bbf5ec815becd#file-demo-ddl

And this is the JSON output:
https://gist.github.com/ceving/c6df834bbf5ec815becd#file-demo-json

It does not do any blessing but uses just actions.

Maybe it is useful for other newbies.

-- 
You received this message because you are subscribed to the Google Groups 
"marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to