I'm a little late to this conversation.

For some reason, all the responses have been about parsing.  Parsing
is the easiest problem related to languages - a zillion man hours of
research have made it a "solved" problem.  ANTLR, Rats, Scala's parser
combinators, whatever.  There are reasons to prefer one over the
other, but in the end whichever route you go the mechanics are all
pretty easy.

The part that does semantic analysis and optimization and code
generation - that's the fun part.

Fortunately, there are plenty of great books on compilers.

This one is a classic, but IMHO goes too deep in some areas for a
first compiler book while simultaneously ignoring many modern compiler
techniques (at least in the older edition I own).  Still, it's a
classic for a reason:
http://www.amazon.com/Compilers-Principles-Techniques-Tools-2nd/dp/0321486811/ref=pd_sim_b_1

This one is in Java, but probably needs supplementary material if you
want to move beyond the compiler he presents (again, at least in the
edition I own).  On the plus side it's a very easy read, especially as
compared to the previous one:
http://www.amazon.com/Modern-Compiler-Implementation-Andrew-Appel/dp/052182060X/ref=sr_1_1?ie=UTF8&s=books&qid=1231422175&sr=1-1

This one is also in Java and gets a lot of rave reviews, but I've
never read it:
http://www.amazon.com/Programming-Language-Processors-Java-Interpreters/dp/0130257869/ref=pd_sim_b_8

If you're targeting the JVM, there's a google group devoted to
discussing the design and implementation of languages for the JVM:
http://groups.google.com/group/jvm-languages

Somebody else mentioned Lambda the Ultimate.  It's a great resource,
but we (I'm a contributing editor) generally don't discuss basic how-
to kinds of issues.  Be sure to search the site and read the FAQ
before posting.

On Jan 8, 2:13 am, Kram <mark.macum...@gmail.com> wrote:
> Thanks Jan for the advice, I will definitely go ahead and start on
> that trail.
>
> I too appreciate the thinness of books, and also when they get strait
> to the point and skip the bloating that can occur in many text
> books...
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to javaposse@googlegroups.com
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to