GetPoplog / Grammar

Managing the Pop-11 Grammar
Creative Commons Zero v1.0 Universal
2 stars 1 forks source link

Convert the tabatkins grammar to a nearly.js grammar #20

Open sfkleach opened 1 year ago

sfkleach commented 1 year ago

We want to converge on a single javascript friendly grammar format & Nearly is our tool of choice. Please convert pop11_grammar_tabatkins.txt.

edgardozoppi commented 1 year ago

Nearly syntax is actually very similar to this syntax: pop11_grammar_ebnf.txt and it has a built-in tool to generate Tabatkins railroads diagrams from it. So we could have only one grammar file in EBNF Nearly format and automatically generate a parser and charts from it. This way we can get rid of pop11_grammar_tabatkins.txt file.