Re:Creating Your Own Freaking Awesome Programming Language
by mahmud on Thursday November 17, 2011 @10:35PM
(#3250476)
You don't have to dick with sub-par literature. Prof Krishnamurthi's 1st-rate book is already available for free. It's Essentials of Programming Languages-like but much more approachable.
Re:Creating Your Own Freaking Awesome Programming Language
by mozartbu on Thursday November 17, 2011 @11:55PM
(#3250651)
I am very new to HackerNews but this comment surprises me. Affiliation has been clearly mentioned by the author in the disclaimer section. See the right hand section of his blog. What's wrong if he has worked out a review and wants to earn some money. Do you ban all pages on HN which have posts with ads. Isn't that making money?
Re:Creating Your Own Freaking Awesome Programming Language
by RodgerTheGreat on Thursday November 17, 2011 @11:22PM
(#3250592)
I like starting with designing a VM. It lets you short-circuit many of the nasty parts of code emission and results in a portable language off the bat. One of my big backburner projects is a simplified virtual game console designed to be a Forth machine. I've built a compiler for a very simple dialect of Forth, and I've started using it as a testbed for more sophisticated compilers- so far I have toy compilers for FORTRAN and a TinyBASIC with plans for an ALGOL-60 implementation and a classical Lisp.
Re:Creating Your Own Freaking Awesome Programming Language
by fmota on Thursday November 17, 2011 @10:14PM
(#3250424)
Programming language design and implementation is awesome and terrifying. I did exactly this for my senior project, a language called [fuga](http://github.com/fmota/fuga) that is based on [Io](http://iolanguage.com/). I learned so much.
But beware. Language design is a bottomless pit from which you must climb if you wish to implement anything.
http://www.cs.brown.edu/~sk/Publications/Books/ProgLangs/
Stuff like John Cranshaw's tutorial is outdated. If you know a modicum of Lisp you can start hacking languages in no time.
This shouldn't be on the front page of HN
Perhaps this will interest someone: https://github.com/JohnEarnest/Mako
But beware. Language design is a bottomless pit from which you must climb if you wish to implement anything.
EDIT: link to actual start.