Sunday, February 06, 2011

[mlogdbhp] Minimal lexical elements for LisP

The minimal lexical elements for a programming language (I'm imagining Lisp) are token separators (usually space, newline, tab), grouping constructs (e.g., parentheses), and an escape character for using the special characters in a non-special way (backslash).

One could imagine a pragma or a command line flag allowing changing those characters to something else.  Lisp with square brackets.  Spaces in identifiers (only tab as a horizontal token separator).

No comments :