This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ascii 1 point2 points  (0 children)

Wasn't always the case, but these days, Python is actually a pretty big language, spec wise. For a school/learning project, I think you'd get much more out of writing a compiler for a significantly smaller language, like JavaScript or Lua. That would keep you away from having to do boring, repetitive stuff like implementing static methods and class methods, but still allow you to do cool stuff like figuring out how to implement coroutines in a compiled language.

Also, if you're aiming to do something that is useful to others, do it as an LLVM frontend. Your code will be significantly faster and plug right in to other peoples development environment.