Re:Ask HN: What languages used to write computer languages?
by joe_the_user on Saturday January 09, 2010 @11:43PM
(#1042670)
A lot of languages weren't written in pure c but involved a combination of c (or java) and a parser-generator like Yacc or Bison.
The process of implementing a language isn't really about breaking out an editor and a compiler and coding. Rather, language implementing about specifying a virtual machine, a grammar and various other meta-programming constructs. Thus "written in c" can a deceptive description.
Even a recursive-descent parser involves a process of transforming a syntax specification into a series of recursive function calls.
The process of implementing a language isn't really about breaking out an editor and a compiler and coding. Rather, language implementing about specifying a virtual machine, a grammar and various other meta-programming constructs. Thus "written in c" can a deceptive description.
Even a recursive-descent parser involves a process of transforming a syntax specification into a series of recursive function calls.