Re:Show HN: Heresy, a BASIC-inspired functional Lisp
by Tloewald on Sunday November 16, 2014 @12:18PM
(#8614730)
If you could elimiate the outermost braces and have a line
continuation character you might get something even less intimidating.
In other words anything between two auccessive non escaped line endings is treated as being parenthesized. Suddenly you can write lisp without parens everywhere.
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 giancarlostoro on Sunday November 16, 2014 @03:20PM
(#8615285)
Odd.. I had a similar project I worked on at work one day out of boredom. Except mine was called "HereC", I was trying to make C more Basic like. Visual Basic 6 was my first language, so sometimes it's fun to 'go back' to it. GAMBAS is a neat little language I play with now and then.
Re:Show HN: Heresy, a BASIC-inspired functional Lisp
by jarcane on Sunday November 16, 2014 @11:19AM
(#8614546)
I didn't really think about it. Doing them as literals felt more idiomatic to classic BASIC, and it was easy to implement (initially) with syntax-rules.
In other words anything between two auccessive non escaped line endings is treated as being parenthesized. Suddenly you can write lisp without parens everywhere.
http://srfi.schemers.org/srfi-110/srfi-110.html
I will have to take a gander and see if it's compatible.
For example, instead of
define it to use [Disclaimer: I still use VB6 from time to time.]I did consider doing it in CL though because then I'd have an excuse to call FUNCTION and FUNCALL "SUB" and "GOSUB".