-
Notifications
You must be signed in to change notification settings - Fork 2
grammarClassesForANTLR
rlaemmel edited this page Oct 11, 2012
·
5 revisions
This is the description of an SLECOURSE contribution.
Samples for grammar classes of ANTLR
The notion of "grammar classes" is deeply implanted into the conservative parser field, as it is taught also in compiler construction. In this classic context, the "classical" classes of SLR(1), LALR(1), LR(1), LL(1), and possibly a few friends are discussed. The present collection is more practically oriented and more modern in that it discusses the classes that arises from the slightly operational approach of ANTLR. The discussed grammar classes deal with look ahead, backtracking, syntactic predicates, and others.
- Categories: programming, concepts
- Objectives: make audience understand the operational impact of grammar classes
- Prerequisites: basic understanding of parsing
- Level: introductory
- Source code: Location on SLECOURSE GitHub repository
- Blog post: Link to blog post by contributor
Creative Commons Attribution (where applicable)
- 9 Oct 2012: added contribution
- 28 Apr 2011: discussed examples in SLE-ish course