|Description||infrastructure for parser based text analysis|
Semantic is an infrastructure for parser based text analysis in Emacs. It is a lexer, parser-generator, and parser. It is written in Emacs Lisp and is customized to the way Emacs thinks about language files, and is optimized to use Emacs' parsing capabilities.
Semantic's goal is to provide an intermediate API for authors of language agnostic tools who want to deal with languages in a generic way. It also provides a simple way for Mode Authors who are experts in their language, to provide a parser for those tool authors, without knowing anything about those tools.
- 1 Parser Infrastructure
- 2 Coding Tools
- 3 Smart Completion
- 4 Idle Summary and Completion
- 5 Speedbar Browser
- 6 Documentation Generator
- 7 Stickyfunc mode
- 8 Imenu
- 9 Navigator
- 10 Decoration Modes
- 11 Smart Bookmarking
- 12 Highlight bad code
- 13 Charting
- 14 Analyzer
- 15 Basic setup
- 16 Helpful keybindings
- 17 Common Customization
- 18 See Also
- 19 Project Pages
- 20 Tutorial Pages
Lexical Analyzer & Preprocessor
Converts a language into a token stream. Preprocessor support with lexical macro replacement (C/C++).
Converts a lexical token stream into a table of tags defined by the language.
Parser Generator with Bison
David Ponce has ported Bison to Emacs Lisp. New languages can be supported via the wisent parser.
Persistent storage of parsed information. Speeds load time and provides standard way of cross referencing files. The database backend supports alternate parsers and file formats.
Reparses minimal parts of a buffer as you edit.
Idle service manager
Reparses buffers in idle time, and also call other services.
Semantic supports a wide range of user interface tools.
Completes symbols actually available in a given context. Some tools call this intellisense.
Idle Summary and Completion
Show function help, or offer up smart completions in idle time.
Code for browsing tag lists with Speedbar.
Identifies inline documentation in source code, and can convert it to texinfo. It can also create inline documenation.
Locks the function declaration you are editing in the header line. (Emacs only).
Create hierarchical imenu menus from parsed files.
Senator is a navigator that permits simple navigation through the parsed language. It also includes token highlighting, and magic cut & paste.
Decorate buffers using more than regular expressions, such as overlines for functions, highlight header files Emacs can't find.
Emacs tracks what you edit, and allows quick navigation by name.
Highlight bad code
text which does not fit the language is underlined.
Draw a chart of some things semantic can quantify.
Examines code, and references those names against a database of pre-parsed files to provide detailed information.
- Move to next helm suggestion.
- Move to previous helm suggestion.