aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/eqn.7
Commit message (Collapse)AuthorAgeFilesLines
* Complete eqn.7 parsing. Features all productions from the original 1975Kristaps Dzonsons2011-07-211-1/+7
| | | | | | | | CACM paper in an LR(1) parse (1 -> eqn_rewind()). Right now the code is a little jungly, but will clear up as I consolidate parse components. The AST structure will also be cleaned up, as right now it's pretty ad hoc (this won't change the parse itself). I added the mandoc_strndup() function will here.
* Support `size' constructs in eqn.7. Generalise mandoc_strontou to thisKristaps Dzonsons2011-07-211-1/+2
| | | | effect.
* Full support for eqn positionals (above, over, sup, sub, etc.).Kristaps Dzonsons2011-07-211-1/+7
|
* Add eqn subexpression fonts.Kristaps Dzonsons2011-07-211-1/+5
|
* Add support for markers. These decorate the last box: see eqn.7.Kristaps Dzonsons2011-07-211-2/+11
|
* Document `{, }' subexpressions in eqn.7.Kristaps Dzonsons2011-07-211-1/+2
|
* Make `undef' not expand its argument before undefining it. DocumentKristaps Dzonsons2011-07-211-1/+14
| | | | this and have the same behaviour apply to `set' and `define'.
* Flip eqn into using parsed nodes. I've temporarily disabled printingKristaps Dzonsons2011-07-211-1/+2
| | | | | | | these in the front-ends except for -Ttree, which will display the parsed tree. While here, fix that quoted strings aren't scanned for replacement parts.
* Finish the eqn syntactic parser. This correctly parses terms and doesKristaps Dzonsons2011-07-211-17/+58
| | | | | | | the proper `define' dance, which amounts to pure word-replace (you can, say, define `foo' as `define' then define `define' as something else). eqn.c is now ready for some semantic parsing of `box' and `eqn' productions as defined by the grammar.
* Note that equation definitions are nestable.Kristaps Dzonsons2011-07-181-3/+7
|
* Provide implementations of `define', `set', and `unset'.Kristaps Dzonsons2011-07-171-18/+61
| | | | | | Tie them into the stream of data. Document these appropriate, bringing in the grammar as defined by the original eqn manual (Kernighan/Richie).
* Note the development status of eqn.7 and tbl.7.Kristaps Dzonsons2011-03-171-2/+15
|
* Add stub for eqn.7 manual and flip it on. Also note COMPATIBILITY issueKristaps Dzonsons2011-02-091-0/+79
of how we considered .TS (etc.) macros and how the preprocessors do.