#Looking for parser,lexer etc docs

11 messages · Page 1 of 1 (latest)

hoary moth
#

I know that this question is not related to this community but i couldn’t find any other than it.

My question is , does anyone have documentations that are actually good for programing language development???

restive wigeonBOT
#

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.

brisk bloom
restive bear
#

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

meager lance
#

And it's interpreted

meager lance
viscid fog
#

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.

hoary moth