is there a simple compiler for a small language

前端 未结 18 2317
有刺的猬
有刺的猬 2021-01-29 22:55

I am looking for a simple compiler that compiles a simple language, I need it to write a paper about it and to learn how compilers work, I am not looking for a sophisticated thi

18条回答
  •  灰色年华
    2021-01-29 23:00

    In my former IT school, we had to develop a compiler in C++, but not from scratch : there were steps, learning curve etc..

    The concept of the TIGER Compiler and projet assignments

    All documents are available, but the code itself isn't, so you'd have to do it all by yourself.

    There's a lot of understandable and usable informations, it could be a good start for learning to code a compiler.

提交回复
热议问题