Semantic parsing code is spread across a range of files.
The core infrastructure sets up buffers for parsing, and has all the core parsing routines. Most parsing routines are overloadable, so the actual implementation may be somewhere else.
Incremental reparse based on user edits.
Parser for the different grammar languages, and a major mode for editing grammars in Emacs.
Infrastructure for implementing lexical analyzers. Provides macros for creating individual analyzers for specific features, and a way to combine them together.
Infrastructure for a lexical symbolic preprocessor. This was written to implement the C preprocessor, but could be used for other lexical preprocessors.
The “bovine” grammar. This is the first grammar mode written for Semantic and is useful for simple creating simple parsers.
A port of bison to Emacs. This infrastructure lets you create LALR based parsers for Semantic.
Manage Abstract Syntax Trees for parsers.
Infrastructure for debugging grammars.
Various utilities for manipulating tags, such as describing the tag
under point, adding labels, and the all important