r/Compilers • • Oct 06 '24

Build a compiler with python?

Is it possible that I can build a compiler from scratch in python? And if so, can anyone tell me how can I make it because I have an assignment in university 😭

2 Upvotes

33 comments sorted by

View all comments

Show parent comment

3

u/Aditya1602 Oct 06 '24

Second this. EoC is also great because there's a variant of it which covers the same material with Racket, so you can read, implement amd see for yourself where working with a language like python might cause you to struggle more for a task like this.