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:07

Here are some more:
Line number languages: all control flow involves line numbers (e.g. original BASIC, FORTRAN, COBOL)
"English-like" languages: each statement is made up of English-like keywords and all statements have their own syntax and sub-keywords (e.g. COBOL, SQL, AppleScript)
FIOC languages: leading white space is syntactically significant (e.g. Python, Fortran 77)
Self-modifying syntax: macros can be defined to alter the parsing grammar of the language (e.g. Perl 6)

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