5 ms·
If you add significant white space while keeping the prefix notation, it kinda looks like python. https://gist.github.com/2401588 https://gist.github.com/24015
by wjbr 14y ago
If you add significant white space while keeping the prefix notation, it kinda looks like python.
https://gist.github.com/2401588 https://gist.github.com/2401588
- fusiongyro 14y agoThis has been noted before. I have seen a couple proposals to add significant whitespace to Scheme which I can't remember the details for offhand, and I believe was also the basis for the Pliant language's syntax.
- roryokane 14y agoOne such proposal that I like is "sweet-expressions" at http://www.dwheeler.com/readable/ http://www.dwheeler.com/readable/. That page also has a rudimentary set of implementations for some Lisp dialects, including Scheme. It's too bad that new Lisp dialects never seem to take notice of these features. Also, quick links for others looking for Pliant: Pliant syntax docs: http://hc.fullpliant.org/doc/language/syntax http://hc.fullpliant.org/doc/language/syntax Pliant language docs: http://hc.fullpliant.org/doc/ http://hc.fullpliant.org/doc/
- rogcg 14y agoI liked your demonstration. A mix of python and Lisp syntax doesn't sound bad.