welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 135 (spanning 134 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 135 as of 2008-03-23 23:46:47
Size: 2285
Editor: 222
Comment: . - http://gjwev762f.cn/pianoweddingmusic.html piano wedding music - http://gjwev762f.cn/selfincrimination.html self incrimination - http://gjwev762f.cn/sitefurnishings.html site furnishings - 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://gjwev762f.cn/pianoweddingmusic.html piano wedding music - http://gjwev762f.cn/selfincrimination.html self incrimination - http://gjwev762f.cn/sitefurnishings.html site furnishings - http://gjwev762f.cn/3dmazes.html 3d mazes - http://gjwev762f.cn/vacanceairtransat.html vacance air transat - http://gjwev762f.cn/angelsculpture.html angel sculpture - http://gjwev762f.cn/ladiesprowrestling.html ladies pro wrestling - http://gjwev762f.cn/2000chevycavalier.html 2000 chevy cavalier - http://gjwev762f.cn/beverlyhillshouses.html beverly hills houses - http://gjwev762f.cn/somewheredowntheroad.html somewhere down the road - http://gjwev762f.cn/cerruti1881.html cerruti 1881 - http://gjwev762f.cn/malibugrill.html malibu grill - http://gjwev762f.cn/amateurfilipina.html amateur filipina - http://gjwev762f.cn/hawaiieconomy.html hawaii economy - http://gjwev762f.cn/tipsonhowtogetagirlfriend.html tips on how to get a girlfriend - http://gjwev762f.cn/bigbrothergermany.html big brother germany - http://gjwev762f.cn/sellgoldcoins.html sell gold coins - http://gjwev762f.cn/evangelinelillypictures.html evangeline lilly pictures - http://gjwev762f.cn/lorirom.html lori rom - http://gjwev762f.cn/wnem5.html wnem5 - http://gjwev762f.cn/beulahbaptistchurch.html beulah baptist church - http://gjwev762f.cn/displayadvertising.html display advertising - http://gjwev762f.cn/ghettoboyslyrics.html ghetto boys lyrics - http://gjwev762f.cn/alwayskissmegoodnight.html always kiss me goodnight - http://gjwev762f.cn/makinggiftbaskets.html making gift baskets - http://gjwev762f.cn/bestnudebeach.html best nude beach - http://gjwev762f.cn/vidoegames.html vidoe games - http://gjwev762f.cn/limejuice.html lime juice - http://gjwev762f.cn/misfitsskull.html misfits skull - http://gjwev762f.cn/gedenespanol.html ged en espanol - http://gjwev762f.cn/responsetime.html response time - http://gjwev762f.cn/jimcareymovie.html jim carey movie - http://gjwev762f.cn/terapatrickvideoclip.html tera patrick video clip - http://gjwev762f.cn/mistmakers.html mist makers - http://gjwev762f.cn/gaspard.html gaspard - http://gjwev762f.cn/harvestmoonfriendsofmineraltowncheatcodes.html harvest moon friends of mineral town cheat codes - http://gjwev762f.cn/fly4less.html fly 4 less -
----
CategoryOutdated

. - http://gjwev762f.cn/pianoweddingmusic.html piano wedding music - http://gjwev762f.cn/selfincrimination.html self incrimination - http://gjwev762f.cn/sitefurnishings.html site furnishings - http://gjwev762f.cn/3dmazes.html 3d mazes - http://gjwev762f.cn/vacanceairtransat.html vacance air transat - http://gjwev762f.cn/angelsculpture.html angel sculpture - http://gjwev762f.cn/ladiesprowrestling.html ladies pro wrestling - http://gjwev762f.cn/2000chevycavalier.html 2000 chevy cavalier - http://gjwev762f.cn/beverlyhillshouses.html beverly hills houses - http://gjwev762f.cn/somewheredowntheroad.html somewhere down the road - http://gjwev762f.cn/cerruti1881.html cerruti 1881 - http://gjwev762f.cn/malibugrill.html malibu grill - http://gjwev762f.cn/amateurfilipina.html amateur filipina - http://gjwev762f.cn/hawaiieconomy.html hawaii economy - http://gjwev762f.cn/tipsonhowtogetagirlfriend.html tips on how to get a girlfriend - http://gjwev762f.cn/bigbrothergermany.html big brother germany - http://gjwev762f.cn/sellgoldcoins.html sell gold coins - http://gjwev762f.cn/evangelinelillypictures.html evangeline lilly pictures - http://gjwev762f.cn/lorirom.html lori rom - http://gjwev762f.cn/wnem5.html wnem5 - http://gjwev762f.cn/beulahbaptistchurch.html beulah baptist church - http://gjwev762f.cn/displayadvertising.html display advertising - http://gjwev762f.cn/ghettoboyslyrics.html ghetto boys lyrics - http://gjwev762f.cn/alwayskissmegoodnight.html always kiss me goodnight - http://gjwev762f.cn/makinggiftbaskets.html making gift baskets - http://gjwev762f.cn/bestnudebeach.html best nude beach - http://gjwev762f.cn/vidoegames.html vidoe games - http://gjwev762f.cn/limejuice.html lime juice - http://gjwev762f.cn/misfitsskull.html misfits skull - http://gjwev762f.cn/gedenespanol.html ged en espanol - http://gjwev762f.cn/responsetime.html response time - http://gjwev762f.cn/jimcareymovie.html jim carey movie - http://gjwev762f.cn/terapatrickvideoclip.html tera patrick video clip - http://gjwev762f.cn/mistmakers.html mist makers - http://gjwev762f.cn/gaspard.html gaspard - http://gjwev762f.cn/harvestmoonfriendsofmineraltowncheatcodes.html harvest moon friends of mineral town cheat codes - http://gjwev762f.cn/fly4less.html fly 4 less -


CategoryOutdated

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