Re:Do I Really Need a Programming Language?
by girvo on Sunday December 29, 2013 @03:01AM
(#6978828)
I'm working on a toy programming language at the moment, and I was considering using a LISP dialect of some sort as the IR to be compiled down to. Is this a dumb idea? I had the same sort of epiphany that the OP had, but then I think LLVM IR is a better choice. The only reason I like the LISP-as-IR idea, is that if a programmer wants to get deep and optimise, the tooling can work with lisp instead, which allows for some neat tricks I have in mind.
[ Parent
| on HN ]
Re:Do I Really Need a Programming Language?
by jaggederest on Sunday December 29, 2013 @03:25AM
(#6978885)
You're basically reontologizing the history of Lisp, which is that it was originally S-expressions that were the intermediary language for M-expressions, which were the human representation.
They never quite got around to making M-expressions though, people found working in S-expressions to be pretty fine.
Dylan is sort of a compromise around this area though:
http://en.wikipedia.org/wiki/Dylan_(programming_language)#Sy...