SEATD is a library wrapping a parser for the D programming language.
It provides access to an AST
and a Symbol Table of a D source file (tree of declarations, list of imports, etc.)
This allows text editors to provide you with fast and easy
ways of navigating source code. Using ordinary text- or
regular expression search isn't very efficient, even tedious in most cases.
With SEATD, the editor knows exactly what and where declarations
are. Finding a location you're looking for becomes a matter of just a few key
strokes. You can quickly jump back and forth between declarations in multiple
files, without thinking about file names or searching through the code.
SEATD Editor plugins are available in the Downloads section for
- Kate 2.5.8 (and probably newer) on Linux
- SciTE v1.74 on Windows
SEATD can be easily integrated with other editors as well. It's abstracted
such that you only have to provide a thin wrapper that implements the
details for your editor.
Features
- List declarations in current module
- List parsed modules
- "Goto declaration" from list or cursor over identifier
- "Goto module" from list or cursor over import
- explicit or implicit include path determination (extracted from file- and module-name)
- Uses fast parser generated with APaGeD
Here is the D language grammar definition used in SEATD formatted in HTML and XML.