As the title suggests, I'm wondering if there are programming languages that were built specifically for building new programming languages?
Tell me more
×
Programmers Stack Exchange is a question and answer site for
professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.
|
|
|
|||||||||||||
|
|
Some languages like Standard ML have both the syntax, data structures, and libraries which is said to make compiler writing very friendly. |
|||||
|
|
The earliest example is probably Assembly Language, but you're probably looking for something higher level. Lisp introduced the notion of Macros, which enables developing it into a DSL. More recently, there is XL, or eXtensible Language. |
|||
|
|
RPython as used by the PyPy project. It allows you to write an interpreter in a subset of python, called RPython, and then it creates a JIT compiler from that. |
|||
|
|
|
Perl6 while not uniquely meant to create new language is designed to enable programmer with the capacity to doit using rich grammar/regex syntax. |
||||
|
|
