Skip to main content

Questions tagged [context-free-grammar]

Use this tag for questions about context-free grammars, a specific type of formal grammar that does not depend on any level of context to apply or parse. Do not use for questions about grammars in general, or questions solely about regular grammars or other subsets of context-free grammars.

Filter by
Sorted by
Tagged with
4 votes
1 answer

Is PicoBlaze assembly language a context-sensitive language?

I know one example of context-sensitivity in programming languages is the so-called typedef problem. Basically, the words can be different types, and that influences how a sentence may be parsed. For ...
FlatAssembler's user avatar
5 votes
1 answer

Context-free grammar for a language where indentation marks code blocks?

I have the following context-free grammar: ...
mousetail's user avatar
  • 8,359