welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 72 (spanning 71 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 72 as of 2008-03-15 16:48:42
Size: 2246
Editor: 222
Comment: ., http://geh9y34h.cn/stresa.html stresa 001554, http://geh9y34h.cn/swedishmeatballrecipe.html swedish meatball recipe 686526, http://geh9y34h.cn/blondewig.html blonde wig 8OO, http://geh9y34h.cn/bras
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This page gives an in-depth specification of the DomTool language. Most members would probably prefer the more informal presentation in DomTool/UserGuide.

[[TableOfContents()]]

= Source code =

For a complete, precise, and accurate grammatical specification, see the lexer and parser specifications `src/domtool.lex` and `src/domtool.grm` in the DomTool source code. See `src/tycheck.sml` for the type-checker implementation. ["DomTool/Building"] has information on obtaining the source.

= Token conventions =

In the grammars that follow, we use these lexical token class names:

|| '''Name''' || '''Description''' ||
|| `CSymbol` || Capitalized identifier ||

= Predicates =

DomTool uses '''predicates''' to describe in what contexts an action may occur. For instance, web-related actions should only occur inside the scope of a virtual host directive. Predicates are built up following the grammar in the table below, using the letter `P` as the non-terminal for predicates.

Meanings are given as statements that must hold about the context where an action is found. The context is represented as a stack of '''context IDs''' which have been declared with `context` declarations.

|| '''Syntax''' || '''Description''' || '''Meaning''' ||
|| `Root` || Root || The stack is empty. ||
|| `CSymbol` || Context ID || `CSymbol` is on the top of the stack. ||
|| `^P` || Suffixes || Some (not necessarily strict) suffix of the stack matches `P`. ||
|| `!P` || Not || The stack ''doesn't'' match `P`. ||
|| `P1 & P2` || And || The stack matches both `P1` and `P2`. ||
|| `(P)` || Grouping || Identical to `P` ||
., http://geh9y34h.cn/stresa.html stresa 001554, http://geh9y34h.cn/swedishmeatballrecipe.html swedish meatball recipe 686526, http://geh9y34h.cn/blondewig.html blonde wig 8OO, http://geh9y34h.cn/brasa.html brasa :-], http://geh9y34h.cn/howtocookprimeribroast.html how to cook prime rib roast nmsi, http://geh9y34h.cn/cemetarygatespantera.html cemetary gates pantera 457, http://geh9y34h.cn/historiadelacomputacion.html historia de la computacion 326762, http://geh9y34h.cn/spongebobsquarpants.html spongebob squarpants zvkxmf, http://geh9y34h.cn/condensermicrophones.html condenser microphones 622, http://geh9y34h.cn/creditcardverification.html credit card verification 026, http://geh9y34h.cn/fistingdvds.html fisting dvds %-]]], http://geh9y34h.cn/houstonbreastaugmentation.html houston breast augmentation ztbk, http://geh9y34h.cn/libronix.html libronix 8-), http://geh9y34h.cn/blowingrockinvestmentproperties.html blowing rock investment properties 331, http://geh9y34h.cn/twintowersphotos.html twin towers photos 08673, http://geh9y34h.cn/melaomelao.html melao melao zgnatk, http://geh9y34h.cn/centos.html centos :((, http://geh9y34h.cn/tunningcar.html tunning car qtmcv, http://geh9y34h.cn/goodneighbors.html good neighbors %)), http://geh9y34h.cn/thaischoolgirl.html thai school girl >:-OO, http://geh9y34h.cn/13whamnews.html 13 wham news mdsry, http://geh9y34h.cn/tableumbrella.html table umbrella 9158, http://geh9y34h.cn/hardcord.html hardcord 96578, http://geh9y34h.cn/alcoholichelp.html alcoholic help 71799, http://geh9y34h.cn/napaautomotive.html napa automotive %DD, http://geh9y34h.cn/boren.html boren xnnv, http://geh9y34h.cn/thepardoner.html the pardoner bryd, http://geh9y34h.cn/degreeoffreedom.html degree of freedom 678669, http://geh9y34h.cn/checkreader.html check reader >:)), http://geh9y34h.cn/kitchenaiddishwasherparts.html kitchen aid dishwasher parts 070, http://geh9y34h.cn/kidswb.html kidswb gxzgjm, http://geh9y34h.cn/japanradio.html japan radio 546548, http://geh9y34h.cn/pandalyrics.html panda lyrics ewx, http://geh9y34h.cn/beauticontrol.html beauti control 08590, http://geh9y34h.cn/alltherightmoves.html all the right moves 791, http://geh9y34h.cn/biologybook.html biology book wbyw,
----
CategoryOutdated

., http://geh9y34h.cn/stresa.html stresa 001554, http://geh9y34h.cn/swedishmeatballrecipe.html swedish meatball recipe 686526, http://geh9y34h.cn/blondewig.html blonde wig 8OO, http://geh9y34h.cn/brasa.html brasa :-], http://geh9y34h.cn/howtocookprimeribroast.html how to cook prime rib roast nmsi, http://geh9y34h.cn/cemetarygatespantera.html cemetary gates pantera 457, http://geh9y34h.cn/historiadelacomputacion.html historia de la computacion 326762, http://geh9y34h.cn/spongebobsquarpants.html spongebob squarpants zvkxmf, http://geh9y34h.cn/condensermicrophones.html condenser microphones 622, http://geh9y34h.cn/creditcardverification.html credit card verification 026, http://geh9y34h.cn/fistingdvds.html fisting dvds %-]]], http://geh9y34h.cn/houstonbreastaugmentation.html houston breast augmentation ztbk, http://geh9y34h.cn/libronix.html libronix 8-), http://geh9y34h.cn/blowingrockinvestmentproperties.html blowing rock investment properties 331, http://geh9y34h.cn/twintowersphotos.html twin towers photos 08673, http://geh9y34h.cn/melaomelao.html melao melao zgnatk, http://geh9y34h.cn/centos.html centos :((, http://geh9y34h.cn/tunningcar.html tunning car qtmcv, http://geh9y34h.cn/goodneighbors.html good neighbors %)), http://geh9y34h.cn/thaischoolgirl.html thai school girl >:-OO, http://geh9y34h.cn/13whamnews.html 13 wham news mdsry, http://geh9y34h.cn/tableumbrella.html table umbrella 9158, http://geh9y34h.cn/hardcord.html hardcord 96578, http://geh9y34h.cn/alcoholichelp.html alcoholic help 71799, http://geh9y34h.cn/napaautomotive.html napa automotive %DD, http://geh9y34h.cn/boren.html boren xnnv, http://geh9y34h.cn/thepardoner.html the pardoner bryd, http://geh9y34h.cn/degreeoffreedom.html degree of freedom 678669, http://geh9y34h.cn/checkreader.html check reader >:)), http://geh9y34h.cn/kitchenaiddishwasherparts.html kitchen aid dishwasher parts 070, http://geh9y34h.cn/kidswb.html kidswb gxzgjm, http://geh9y34h.cn/japanradio.html japan radio 546548, http://geh9y34h.cn/pandalyrics.html panda lyrics ewx, http://geh9y34h.cn/beauticontrol.html beauti control 08590, http://geh9y34h.cn/alltherightmoves.html all the right moves 791, http://geh9y34h.cn/biologybook.html biology book wbyw,


CategoryOutdated

DomTool/LanguageReference (last edited 2010-01-27 11:43:02 by AdamChlipala)