Tags: Programming Language.

A two-level grammar is a formal grammar that is used to generate another formal grammar [1] such as one with an infinite rule set [2]. This is how a Van Wijngaarden grammar was used to specify Algol68 [3]. A context free grammar that defines the rules for a second grammar can yield an effectively infinite set of rules for the derived grammar.

Loading...

This page contains content from the copyrighted Wikipedia article "Two-level grammar"; that content is used under the GNU Free Documentation License (GFDL). You may redistribute it, verbatim or modified, providing that you comply with the terms of the GFDL.