3 ms·
I'm going to have to reread this to really understand it, but it prompted me to imagine the possibility of a simpler antidote to parentheses than described here
by jessaustin 12y ago
I'm going to have to reread this to really understand it, but it prompted me to imagine the possibility of a simpler antidote to parentheses than described here. If the tokenizer generated INDENT and DEDENT tokens as in python, then the combination of those tokens and the spaces and parens that lisp already has could be translated to other paren patterns and then interpreted as in normal lisp. (Of course strictly speaking even parens are already translated into hierarchical cons-pairs, but that just proves that this sort of translation is not foreign to lisp.) Hmmm, something to think about.
- akkartik 12y agoI did this last year: http://akkartik.name/post/wart http://akkartik.name/post/wart