I am intrigued by lower level concepts such as operating systems, algorithms, mathematically proving software correctness, etc.
What intrigued me most are compilers. I started learning about them and wish to implement a toy compiler for the sake of learning and maybe it turns out to be something big (you never know, right?).
My goal is to implement lua-like statically typed, thread-aware programming language (first goal is interpreter with basic stack operations of course). My problem though is that I have little to no interest in lower level languages such as c,c++ or pascal and I was wondering whether it would be possible to implement a compiler for statically typed language in a dynamically typed environment?
I am interested to implement such a language in lua or python (lua suits me better though).