pt_introduction(3tcl) | Parser Tools | pt_introduction(3tcl) |
pt_introduction - Introduction to Parser Tools
package require Tcl 8.5
Welcome to the Parser Tools, a system for the creation and manipulation of parsers and the grammars driving them.
What are your goals which drove you here ?
In that case have a look at our parser generator application, pt, or, for a slightly deeper access, the package underneath it, pt::pgen.
This is described in the section Parser Tools Architecture, below
See the Introduction to Parsing Expression Grammars.
The system can be split into roughly three layers, as seen in the figure below
IMAGE: architecture
These layers are, from high to low:
The list of packages belonging to this layer can be found in section User Packages
The list of packages belonging to this layer can be found in section Core Packages
The list of packages belonging to this layer can be found in section Support Packages
This layer is further split into six sections handling the storage, import, export, transformation, and execution of grammars, plus grammar specific support packages.
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category pt of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please also report any ideas for enhancements you may have for either package and/or documentation.
When proposing code changes, please provide unified diffs, i.e the output of diff -u.
Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar.
EBNF, LL(k), PEG, TDPL, context-free languages, expression, grammar, matching, parser, parsing expression, parsing expression grammar, push down automaton, recursive descent, state, top-down parsing languages, transducer
Parsing and Grammars
Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
1 | tcllib |