jan-Lope / Toki_Pona-Parser

Toki Pona is a constructed, minimal language. This parser based on swi-prolog and definite clause grammars (dcg) and supports spelling, grammar check and ambiguity check of Toki Pona sentences.
GNU General Public License v3.0
48 stars 4 forks source link

pretty printing the parse tree #5

Open jan-Lope opened 7 years ago

jan-Lope commented 7 years ago

http://cecs.wright.edu/~tkprasad/VHDL/VHDL-AMS/vhdl97.html https://github.com/dragonwasrobot/learn-prolog-now-exercises/blob/master/chapter-12/practical-session.pl

heuchi commented 7 years ago

I had a quick look at the links you gave, but I didn't find anything about the desired output. Do you have some examples or a link explaining how it should look?

jan-Lope commented 7 years ago

It is an idea only and not so important. I think about a tree like this:

s np subject vp object.