welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 87 (spanning 86 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 87 as of 2008-03-16 22:50:43
Size: 1859
Editor: 218
Comment: ., http://gw3h879gt3o.cn/mainerealestatelisting.html maine real estate listing %OOO, http://gw3h879gt3o.cn/weavervillenorthcarolinarealestate.html weaverville north carolina real estate zsqrcg, http:/
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://gw3h879gt3o.cn/mainerealestatelisting.html maine real estate listing %OOO, http://gw3h879gt3o.cn/weavervillenorthcarolinarealestate.html weaverville north carolina real estate zsqrcg, http://gw3h879gt3o.cn/communicationsfamilycreditunion.html communications family credit union 8-D, http://gw3h879gt3o.cn/freeeastercoloringpictures.html free easter coloring pictures bypf, http://gw3h879gt3o.cn/clobber.html clobber 261157, http://gw3h879gt3o.cn/illustratedproperties.html illustrated properties =-], http://gw3h879gt3o.cn/motorworks.html motor works 773, http://gw3h879gt3o.cn/volvorents.html volvo rents =), http://gw3h879gt3o.cn/oxforduniversityengland.html oxford university england 95432, http://gw3h879gt3o.cn/marinetoilet.html marine toilet 8OOO, http://gw3h879gt3o.cn/learningspanishonlinefree.html learning spanish online free 73402, http://gw3h879gt3o.cn/zummies.html zummies 90521, http://gw3h879gt3o.cn/lilflipgameover.html lil flip game over >:O, http://gw3h879gt3o.cn/revellmodelcars.html revell model cars %-]]], http://gw3h879gt3o.cn/fleecetieblanket.html fleece tie blanket pjhmf, http://gw3h879gt3o.cn/spyhard.html spy hard 285755, http://gw3h879gt3o.cn/valour.html valour 601671, http://gw3h879gt3o.cn/reatta.html reatta vgmd, http://gw3h879gt3o.cn/doodlebugdesigns.html doodlebug designs 7598, http://gw3h879gt3o.cn/spectatorchairs.html spectator chairs ecyx, http://gw3h879gt3o.cn/outdoortv.html outdoor tv lyh, http://gw3h879gt3o.cn/petchameleon.html pet chameleon >:-OO, http://gw3h879gt3o.cn/blakescidermill.html blakes cider mill :-[, http://gw3h879gt3o.cn/calciumelements.html calcium elements 9156, http://gw3h879gt3o.cn/freepubliccourtrecords.html free public court records bqztn, http://gw3h879gt3o.cn/zootycooncompletecollectioncheats.html zoo tycoon complete collection cheats :[,
----
CategorySystemAdministration

., http://gw3h879gt3o.cn/mainerealestatelisting.html maine real estate listing %OOO, http://gw3h879gt3o.cn/weavervillenorthcarolinarealestate.html weaverville north carolina real estate zsqrcg, http://gw3h879gt3o.cn/communicationsfamilycreditunion.html communications family credit union 8-D, http://gw3h879gt3o.cn/freeeastercoloringpictures.html free easter coloring pictures bypf, http://gw3h879gt3o.cn/clobber.html clobber 261157, http://gw3h879gt3o.cn/illustratedproperties.html illustrated properties =-], http://gw3h879gt3o.cn/motorworks.html motor works 773, http://gw3h879gt3o.cn/volvorents.html volvo rents =), http://gw3h879gt3o.cn/oxforduniversityengland.html oxford university england 95432, http://gw3h879gt3o.cn/marinetoilet.html marine toilet 8OOO, http://gw3h879gt3o.cn/learningspanishonlinefree.html learning spanish online free 73402, http://gw3h879gt3o.cn/zummies.html zummies 90521, http://gw3h879gt3o.cn/lilflipgameover.html lil flip game over >:O, http://gw3h879gt3o.cn/revellmodelcars.html revell model cars %-]]], http://gw3h879gt3o.cn/fleecetieblanket.html fleece tie blanket pjhmf, http://gw3h879gt3o.cn/spyhard.html spy hard 285755, http://gw3h879gt3o.cn/valour.html valour 601671, http://gw3h879gt3o.cn/reatta.html reatta vgmd, http://gw3h879gt3o.cn/doodlebugdesigns.html doodlebug designs 7598, http://gw3h879gt3o.cn/spectatorchairs.html spectator chairs ecyx, http://gw3h879gt3o.cn/outdoortv.html outdoor tv lyh, http://gw3h879gt3o.cn/petchameleon.html pet chameleon >:-OO, http://gw3h879gt3o.cn/blakescidermill.html blakes cider mill :-[, http://gw3h879gt3o.cn/calciumelements.html calcium elements 9156, http://gw3h879gt3o.cn/freepubliccourtrecords.html free public court records bqztn, http://gw3h879gt3o.cn/zootycooncompletecollectioncheats.html zoo tycoon complete collection cheats :[,


CategorySystemAdministration

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