Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

XML, Julia, Rust, Crystal, Forth? support macros too. I was just pointing out that it can be done without sexp. Yes, the tooling sucks. Grammatical implementation is less powerful but that seems better than implementing a grammar ontop of sexps. You get some lexical freedom ontop of pure text that you don't get implementing grammars on top of sexps, respecting lisps tokenisation rules.

I wonder how far Lisp would have come if people had taken the source-source translator approach of js and just implemented an Algol frontend to lisp. There's plenty of things that Lisp had that are far more useful than just macros.

I think Tcl is the Unix answer to Lisp. Worse is better somehow evolved into a Lisp.



> I wonder how far Lisp would have come if people had taken the source-source translator approach of js and just implemented an Algol frontend to lisp.

People did that a number of times over Lisp's history, so Lisp would have come exactly where it has come.

The first Algol-like front end to Lisp was supposed to be the direct descendant of Lisp 1, namely Lisp 2. This branch went nowhere. The descendants of Lisp trace back to Lisp 1.5.

In the early 70's there was something called CGOL. It still exists.

There have been various more recent things in that direction.

And of course, certain contemporary languages are basically sort of Lisp-like things with Algol bolted on.

Lisp 2: https://en.wikipedia.org/wiki/LISP_2

Manual with code examples: http://www.softwarepreservation.org/projects/LISP/lisp2/Abra...

CGOL: https://en.wikipedia.org/wiki/CGOL




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: