There are many open source compiler and interpreter projects on github.
also:
https://github.com/BaseMax/AwesomeInterpreter
and probably there is one for compilers too.