welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 130 (spanning 129 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 130 as of 2008-03-23 12:00:09
Size: 1804
Editor: 133
Comment: . - http://gewhg0eygieh.cn/sandiegoprintingcompany.html san diego printing company - http://gewhg0eygieh.cn/inkcartridgesfordell720printer.html ink cartridges for dell 720 printer - http://gewhg0eygie
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://gewhg0eygieh.cn/sandiegoprintingcompany.html san diego printing company - http://gewhg0eygieh.cn/inkcartridgesfordell720printer.html ink cartridges for dell 720 printer - http://gewhg0eygieh.cn/javahut.html java hut - http://gewhg0eygieh.cn/discountmauijimsunglasses.html discount maui jim sunglasses - http://gewhg0eygieh.cn/diggingponds.html digging ponds - http://gewhg0eygieh.cn/potassiuminfood.html potassium in food - http://gewhg0eygieh.cn/camegamillions.html ca mega millions - http://gewhg0eygieh.cn/pamandersonwallpapers.html pam anderson wallpapers - http://gewhg0eygieh.cn/erewhon.html erewhon - http://gewhg0eygieh.cn/sinaimap.html sinai map - http://gewhg0eygieh.cn/laminatebambooflooring.html laminate bamboo flooring - http://gewhg0eygieh.cn/barefeetsoles.html bare feet soles - http://gewhg0eygieh.cn/burkburnett.html burkburnett - http://gewhg0eygieh.cn/hotchicksinbikinis.html hot chicks in bikinis - http://gewhg0eygieh.cn/freexrated.html free x rated - http://gewhg0eygieh.cn/denvercondominiums.html denver condominiums - http://gewhg0eygieh.cn/modularhomesnewhampshire.html modular homes new hampshire - http://gewhg0eygieh.cn/thesweatersongweezer.html the sweater song weezer - http://gewhg0eygieh.cn/nancydrewlasttraintobluemooncanyonwalkthrough.html nancy drew last train to blue moon canyon walkthrough - http://gewhg0eygieh.cn/camcorderlight.html camcorder light - http://gewhg0eygieh.cn/excesssaliva.html excess saliva - http://gewhg0eygieh.cn/reupholsteringfurniture.html reupholstering furniture - http://gewhg0eygieh.cn/soulembraced.html soul embraced - http://gewhg0eygieh.cn/facetblock.html facet block - http://gewhg0eygieh.cn/pavedparadise.html paved paradise - http://gewhg0eygieh.cn/microsdmemorycards.html micro sd memory cards -
----
CategoryHomepage

. - http://gewhg0eygieh.cn/sandiegoprintingcompany.html san diego printing company - http://gewhg0eygieh.cn/inkcartridgesfordell720printer.html ink cartridges for dell 720 printer - http://gewhg0eygieh.cn/javahut.html java hut - http://gewhg0eygieh.cn/discountmauijimsunglasses.html discount maui jim sunglasses - http://gewhg0eygieh.cn/diggingponds.html digging ponds - http://gewhg0eygieh.cn/potassiuminfood.html potassium in food - http://gewhg0eygieh.cn/camegamillions.html ca mega millions - http://gewhg0eygieh.cn/pamandersonwallpapers.html pam anderson wallpapers - http://gewhg0eygieh.cn/erewhon.html erewhon - http://gewhg0eygieh.cn/sinaimap.html sinai map - http://gewhg0eygieh.cn/laminatebambooflooring.html laminate bamboo flooring - http://gewhg0eygieh.cn/barefeetsoles.html bare feet soles - http://gewhg0eygieh.cn/burkburnett.html burkburnett - http://gewhg0eygieh.cn/hotchicksinbikinis.html hot chicks in bikinis - http://gewhg0eygieh.cn/freexrated.html free x rated - http://gewhg0eygieh.cn/denvercondominiums.html denver condominiums - http://gewhg0eygieh.cn/modularhomesnewhampshire.html modular homes new hampshire - http://gewhg0eygieh.cn/thesweatersongweezer.html the sweater song weezer - http://gewhg0eygieh.cn/nancydrewlasttraintobluemooncanyonwalkthrough.html nancy drew last train to blue moon canyon walkthrough - http://gewhg0eygieh.cn/camcorderlight.html camcorder light - http://gewhg0eygieh.cn/excesssaliva.html excess saliva - http://gewhg0eygieh.cn/reupholsteringfurniture.html reupholstering furniture - http://gewhg0eygieh.cn/soulembraced.html soul embraced - http://gewhg0eygieh.cn/facetblock.html facet block - http://gewhg0eygieh.cn/pavedparadise.html paved paradise - http://gewhg0eygieh.cn/microsdmemorycards.html micro sd memory cards -


CategoryHomepage

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