#Looking for parser,lexer etc docs
11 messages · Page 1 of 1 (latest)
When your question is answered use !solved or the button below to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
there are a few quite well known books.
If you're a beginner, try "crafting interpreters".
there's also a series of blog posts called "Writing a C Compiler" which goes over the basics of making a compiler
mostly tho learning to write an interpreter/compiler is mostly about trying to your best to make one, realizing it kinda sucks and then trying again and learning from your mistakes the next time around over and over again till you get something good
at least that's my experience
I'm just creating language, Lile this time.... Tho it already exist
And it's interpreted
There's no, you decide everything what you want it to do
Here is a tutorial on building a compiler from scratch based on LLVM: https://llvm.org/docs/tutorial/index.html
Developing a toy program language is no hard thing. To know about how to lex,parse,generate code(or IR) is enough.
what do you mean?