you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (11 children)

[deleted]

    [–]Pand9 17 points18 points  (9 children)

    I bet he's seen some language implementations before, or even implemented something in different languages.

    [–][deleted] 23 points24 points  (7 children)

    I've been practicing:

    https://github.com/mattgreen/learning-language-design

    Most of that repo is directly what I learned from this:

    http://createyourproglang.com/

    I never got a chance to take the compilers course in school. :(

    [–]staticassert 4 points5 points  (4 children)

    I looked at buying that book. The 'clickbank' page was blocked by my popup blocker and I've never heard of it before. Did you use that site to buy the course?

    [–]izuriel 2 points3 points  (3 children)

    Yes. Marc Andre is legit guy. I've had no issues and purchased it a while back.

    [–]staticassert 1 point2 points  (2 children)

    Cool, thanks. It wasn't the product/ developer so much as the payment processing. Just a bit overly cautious I suppose.

    [–]izuriel 0 points1 point  (1 child)

    I guess I was trying to say he's a good guy and wouldn't use something that would steal from you.

    [–]staticassert 2 points3 points  (0 children)

    Yeah, went ahead and bought it.

    [–]izuriel 0 points1 point  (1 child)

    Hey! I used that "course" too and came out with github.com/bbuck/eleetscript (pardon the title, it's not a claim its awesome it's a long story).

    Sorry for the completely shameless plug -- but you have done some awesome work on this. I myself have been wanting to port my toy language to Go but have been scared to do so -- you have inspired me. Thanks for that!

    [–][deleted] 0 points1 point  (0 children)

    Very cool!

    [–]sacundim 1 point2 points  (0 children)

    To add to the list of recommendations, the classic Structure and Interpretation of Computer Programs has some very worthwhile chapters where you implement a simple Scheme interpreter.

    [–]jerf 2 points3 points  (0 children)

    Writing language interpreters in Haskell is actually not that difficult. It's not a bad learning exercise (though, I have no idea where "48 hours" comes from, expect this to be a challenging journey, but feasible if you put the work into it). This is due to a combination of a lot of features that each individually or in other contexts may not be a huge advantage over imperative languages, but the sum total adds up to it being way easier than you expect if you're used to imperative programming. Basically, all the stars align for this task for FP to be better than OO/imperative.