implemented it as an internal DSL in Scala. Scala is a new object-oriented and functional programming language that runs on JVM. Scala lends itself very easily to creation of embedded languages.
extensive library, and is easily extensible. …but dude, it’s dynamically typed, has a slow runtime, and Python is hardly amenable to DSLs in the first place!!!