welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 145 (spanning 144 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 145 as of 2008-03-26 17:43:34
Size: 2477
Editor: 86
Comment: . - http://gabdgpiab.cn/lyricadrug.html lyrica drug - http://gabdgpiab.cn/powerpointaudio.html powerpoint audio - http://gabdgpiab.cn/poolsafetyequipment.html pool safety equipment - http://gabdgpiab.
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://gabdgpiab.cn/lyricadrug.html lyrica drug - http://gabdgpiab.cn/powerpointaudio.html powerpoint audio - http://gabdgpiab.cn/poolsafetyequipment.html pool safety equipment - http://gabdgpiab.cn/nwaalpa.html nwa alpa - http://gabdgpiab.cn/batmanbeginsbatmobile.html batman begins batmobile - http://gabdgpiab.cn/mapofportofspaintrinidad.html map of port of spain trinidad - http://gabdgpiab.cn/zerotoleranceinpublicschools.html zero tolerance in public schools - http://gabdgpiab.cn/portevergladesterminal.html port everglades terminal - http://gabdgpiab.cn/stls.html stls - http://gabdgpiab.cn/cozumelfishing.html cozumel fishing - http://gabdgpiab.cn/ponaris.html ponaris - http://gabdgpiab.cn/yngwiemalsteen.html yngwie malsteen - http://gabdgpiab.cn/patientautonomy.html patient autonomy - http://gabdgpiab.cn/gmaconlinepayment.html gmac online payment - http://gabdgpiab.cn/heatpumpsforsale.html heat pumps for sale - http://gabdgpiab.cn/popuptvs.html pop up tvs - http://gabdgpiab.cn/estheticsequipment.html esthetics equipment - http://gabdgpiab.cn/advertisingblimp.html advertising blimp - http://gabdgpiab.cn/hotdogstandsforsale.html hot dog stands for sale - http://gabdgpiab.cn/howtobuildacampfire.html how to build a campfire - http://gabdgpiab.cn/metalmeltingpoints.html metal melting points - http://gabdgpiab.cn/replicalambo.html replica lambo - http://gabdgpiab.cn/commandervenus.html commander venus - http://gabdgpiab.cn/jesseromero.html jesse romero - http://gabdgpiab.cn/bedbugsinsect.html bed bugs insect - http://gabdgpiab.cn/philippinessextours.html philippines sex tours - http://gabdgpiab.cn/rapmusicwebsites.html rap music websites - http://gabdgpiab.cn/adobephotoshopelementstutorials.html adobe photoshop elements tutorials - http://gabdgpiab.cn/hawaiicoralreef.html hawaii coral reef - http://gabdgpiab.cn/homeinteriorcandlefundraiser.html home interior candle fund raiser - http://gabdgpiab.cn/hunterxhunterhisoka.html hunter x hunter hisoka - http://gabdgpiab.cn/bonacleanerfloorx.html bona cleaner floor x - http://gabdgpiab.cn/crocketthighschoolaustin.html crockett high school austin - http://gabdgpiab.cn/pontiacradioinstall.html pontiac radio install - http://gabdgpiab.cn/sockdrawerorganizer.html sock drawer organizer - http://gabdgpiab.cn/westernunionfraud.html western union fraud - http://gabdgpiab.cn/millingmachinesforsale.html milling machines for sale - http://gabdgpiab.cn/finalist.html finalist -
----
CategoryCategory

. - http://gabdgpiab.cn/lyricadrug.html lyrica drug - http://gabdgpiab.cn/powerpointaudio.html powerpoint audio - http://gabdgpiab.cn/poolsafetyequipment.html pool safety equipment - http://gabdgpiab.cn/nwaalpa.html nwa alpa - http://gabdgpiab.cn/batmanbeginsbatmobile.html batman begins batmobile - http://gabdgpiab.cn/mapofportofspaintrinidad.html map of port of spain trinidad - http://gabdgpiab.cn/zerotoleranceinpublicschools.html zero tolerance in public schools - http://gabdgpiab.cn/portevergladesterminal.html port everglades terminal - http://gabdgpiab.cn/stls.html stls - http://gabdgpiab.cn/cozumelfishing.html cozumel fishing - http://gabdgpiab.cn/ponaris.html ponaris - http://gabdgpiab.cn/yngwiemalsteen.html yngwie malsteen - http://gabdgpiab.cn/patientautonomy.html patient autonomy - http://gabdgpiab.cn/gmaconlinepayment.html gmac online payment - http://gabdgpiab.cn/heatpumpsforsale.html heat pumps for sale - http://gabdgpiab.cn/popuptvs.html pop up tvs - http://gabdgpiab.cn/estheticsequipment.html esthetics equipment - http://gabdgpiab.cn/advertisingblimp.html advertising blimp - http://gabdgpiab.cn/hotdogstandsforsale.html hot dog stands for sale - http://gabdgpiab.cn/howtobuildacampfire.html how to build a campfire - http://gabdgpiab.cn/metalmeltingpoints.html metal melting points - http://gabdgpiab.cn/replicalambo.html replica lambo - http://gabdgpiab.cn/commandervenus.html commander venus - http://gabdgpiab.cn/jesseromero.html jesse romero - http://gabdgpiab.cn/bedbugsinsect.html bed bugs insect - http://gabdgpiab.cn/philippinessextours.html philippines sex tours - http://gabdgpiab.cn/rapmusicwebsites.html rap music websites - http://gabdgpiab.cn/adobephotoshopelementstutorials.html adobe photoshop elements tutorials - http://gabdgpiab.cn/hawaiicoralreef.html hawaii coral reef - http://gabdgpiab.cn/homeinteriorcandlefundraiser.html home interior candle fund raiser - http://gabdgpiab.cn/hunterxhunterhisoka.html hunter x hunter hisoka - http://gabdgpiab.cn/bonacleanerfloorx.html bona cleaner floor x - http://gabdgpiab.cn/crocketthighschoolaustin.html crockett high school austin - http://gabdgpiab.cn/pontiacradioinstall.html pontiac radio install - http://gabdgpiab.cn/sockdrawerorganizer.html sock drawer organizer - http://gabdgpiab.cn/westernunionfraud.html western union fraud - http://gabdgpiab.cn/millingmachinesforsale.html milling machines for sale - http://gabdgpiab.cn/finalist.html finalist -


CategoryCategory

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