Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was assuming it's something similar to PL/0 but the grammar looks quite extensive...


Basically Algol, but with gratuitous "SET" to simplify parsing assignment statements, and without generic "BEGIN" braces: those are baked into "DO"/"THEN"/"ELSE".

You can probably straightforwardly translate it to Golang by running through a C preprocessor with an obvious set of macros.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: