compiler-compiler
compiler-compiler A program that accepts the syntactic and semantic description of a programming language and generates a compiler for that language. The syntax is expressed in BNF or a derivative thereof, and must conform to the rules dictated by the parsing technique to be used in the generated compiler. The semantics of the language are usually described by associating a code-generation procedure with each syntactic construct, and arranging to call the procedure whenever the associated construct is recognized by the parser. Thus the user still has to design the run-time structures to be used, and decide how each syntactic construct is to be mapped into machine operations. Then he/she has to write the code-generating procedures. A compiler-compiler is therefore a useful tool to aid the compiler writer, but nothing more.
Strictly speaking a compiler-compiler includes a parser generator as a component part, but the two terms are often used synonymously. See also LEX, YACC.
Strictly speaking a compiler-compiler includes a parser generator as a component part, but the two terms are often used synonymously. See also LEX, YACC.
More From encyclopedia.com
Procedure , procedure •badger, cadger •Alger, neuralgia •ganja, grandeur, phalanger •charger, enlarger, maharaja, raja •slàinte • turbocharger •dredger, edger, h… Logo , The name of the programming language Logo comes from the Greek for "word." The first version of Logo, a dialect of LISP, was developed in 1966 by sev… Computer Language , computer language System of words and rules used to program a computer. Most computers work using a binary-coded language (using 1s and 0s) called ma… compiler , compiler •beguiler, compiler, Delilah, filer, Isla, miler, reviler, smiler, styler, tiler, Tyler •idler •stifler, trifler •recycler • Kreisler • prof… machine code , machine code In computing, instructions that the central processing unit (CPU) of a computer can execute, without the need for translation. Machine-c… Programming Language , In order for computers to accept commands from humans and perform tasks vital to productivity and e-commerce, a means of communication must exist. Pr…
You Might Also Like
NEARBY TERMS
compiler-compiler