Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Syntax families

Name: Anonymous 2012-01-15 13:48

How many syntax families are there /prog/?
Lisp: All the lisps, homoiconic and syntax takes 2 seconds to learn, parsing is LL(0) easy.
Pascal: A bunch of languages, some can apparently compile in a single pass.
C: C and perhaps some other ones. C requires a symbol table to disambiguate, parsing by `maximal munch'.
Curlies: The only thing in common with C is they both have curlies and both are imperative, the scripting languages often don't require the symbol table.
Prolog: Prolog and Erlang, homoiconic but a bitch to write in, parsing is ``easy'' as its just a long string of weighted operators (maybe APL is loosely related).
strtok'ers: Forth and the rest of these. `Parser' can be strtok.
Full Retard: C++

Name: Anonymous 2012-01-15 19:41

>>13
Self-modifying syntax: macros can be defined to alter the parsing grammar of the language (e.g. Perl 6)
And Forth, I don't know about the other stack languages.

Also, ML-style languages (ML, Haskell, ...).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List