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

" it's how to bootstrap your own language quickly using open source tools (which is surprisingly simple once you know how, but very complicated if you don't know where to start)."

You can't "bootstrap a language quickly" using open Source tools unless you already know what you are doing.

Learning how to build a decent language (leave alone an "enterprise ready" whatever that is) language does take more than a few days. Promises to make you the next Matz and Guido "in a few weeks" is outright fraud.

"rather than buying "Modern Compiler Design" and realizing you have no interest in writing your own lexer or parser."

It is obvious you haven't read the book before making this comment. MCD teaches you how grammars and grammer processors work.

Without understanding this you can't use lex/yacc etc properly. Being able to build your own lex/yacc type tools is a bonus.

"they are just overkill."

if you think EOPL, an undergrad text focusing directly on the core of your language interpreter (hint, lexing and parsing are not the core) is "overkill", I have nothing to say to you!

Good Luck with the "build a revolutionary programming language in 21 days" approach!

Coming up next, "Build an Operating System in 21 days and become the next Linus Torvalds!"

;-)



Ignore everything he said except this: "They are an introductory peek at what is cool about a complex subject. Then you have the opportunity to learn more about the parts the interested you..."

It's not a book that'll teach you how to actually do any of this stuff. It's an overview, a gloss, an extended Wikipedia entry in guide form, that shows you the work that goes into creating a programming language. It's like the show "How It's Made." If, at the end, you think you actually want to write a programming language, then by all means, read your set of books. (That's not to say that this was their goal--it was probably a stupid attempt to actually let people design and implement a language after reading one book--but this is what you should take away from it, and a perspective from which reading the book would be useful.)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: