1 .\" $Id: mdoctree.1,v 1.1 2009/02/21 21:00:06 kristaps Exp $
3 .\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the
7 .\" above copyright notice and this permission notice appear in all
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11 .\" WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13 .\" AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14 .\" DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15 .\" PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16 .\" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17 .\" PERFORMANCE OF THIS SOFTWARE.
19 .Dd $Mdocdate: February 21 2009 $
25 .Nd mdoc macro compiler
38 manual pages and prints its syntax tree. The arguments are as follows:
39 .Bl -tag -width "\-Werr... "
42 Print verbose parsing output.
45 Print warning messages. May be set to
49 for groff/troff-compatibility warnings, or
51 for syntax warnings. If
53 is specified, warnings are considered errors and cause utility
56 arguments may be comma-separated, such as
57 .Fl W Ns Ar error,all .
69 utility is a formatting front-end for
77 into an abstract syntax tree.
82 reads from stdin and prints the syntax tree to stdout.
93 To validate this manual page:
96 .D1 % mdoctree \-Wall,error mdoctree.1
107 utility was written by
108 .An Kristaps Dzonsons Aq kristaps@kth.se .
113 for a list of bugs, caveats, and incomplete macros.