Re:Show HN: Heresy, a BASIC-inspired functional Lisp
by axblount on Sunday November 16, 2014 @04:46PM
(#8615565)
There's an SRFI that outlines an indentation based Scheme syntax called Sweet-expressions. It also adds infix operations.
Re:Show HN: Heresy, a BASIC-inspired functional Lisp
by jarcane on Monday November 17, 2014 @03:12PM
(#8620227)
Interesting, turns out there is a version of this for Racket: https://github.com/takikawa/sweet-racket
I will have to take a gander and see if it's compatible.
Re:Show HN: Heresy, a BASIC-inspired functional Lisp
by jarcane on Sunday November 16, 2014 @12:34PM
(#8614789)
It's an interesting idea. I'd have to study up a lot more on how to do reader macroing in Racket. Mostly I was more focused on terminology (going forward my naming policy will be to favor BASIC names over Lisp ones, same reason why print is display in Heresy), and on providing a kind of 'nutrasweet' Lisp rather than a full blown functional BASIC dialect (which is as yet beyond my skills with the language).
Re:Show HN: Heresy, a BASIC-inspired functional Lisp
by akkartik on Sunday November 16, 2014 @12:21PM
(#8614739)
Like this toy lisp of mine: http://akkartik.name/post/wart
In other words anything between two auccessive non escaped line endings is treated as being parenthesized. Suddenly you can write lisp without parens everywhere.