News for hackers. Stuff that matters.
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 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.

http://srfi.schemers.org/srfi-110/srfi-110.html

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
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 zem on Sunday November 16, 2014 @03:59PM (#8615410)
euphoria [http://www.rapideuphoria.com/] is the closest I've seen to a decent c/basic cross. worth checking out if you're interested in that space.
Re:Show HN: Heresy, a BASIC-inspired functional Lisp by gus_massa on Sunday November 16, 2014 @11:14AM (#8614532)
Have you tried to use keywords instead of normal symbols in the forms?

For example, instead of

  (if *test* then *do1* else *do2*)
define it to use

  (if *test* #:then *do1* #:else *do2*)
[Disclaimer: I still use VB6 from time to time.]
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.
Re:Show HN: Heresy, a BASIC-inspired functional Lisp by 3ifbyw on Sunday November 16, 2014 @12:19PM (#8614735)
I expected GOTO implemented with continuations. Very disappointing.
Re:Show HN: Heresy, a BASIC-inspired functional Lisp by jarcane on Sunday November 16, 2014 @12:30PM (#8614778)
CL can already do GOTO. And the BREAK and CARRY implementations use exit continuations.

I did consider doing it in CL though because then I'd have an excuse to call FUNCTION and FUNCALL "SUB" and "GOSUB".

Re:Show HN: Heresy, a BASIC-inspired functional Lisp by skrebbel on Sunday November 16, 2014 @12:50PM (#8614836)
Nice, but I miss ON ERROR RESUME NEXT.
Re:Show HN: Heresy, a BASIC-inspired functional Lisp by s_dev on Sunday November 16, 2014 @11:37AM (#8614601)
I love the name.