welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 155 (spanning 154 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 155 as of 2008-04-01 10:26:32
Size: 1831
Editor: 202
Comment: . - http://4hyp34u3434y.cn/floodwatch.html flood watch - http://4hyp34u3434y.cn/werewolfimages.html werewolf images - http://4hyp34u3434y.cn/sheetzgas.html sheetz gas - http://4hyp34u3434y.cn/airforce
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://4hyp34u3434y.cn/floodwatch.html flood watch - http://4hyp34u3434y.cn/werewolfimages.html werewolf images - http://4hyp34u3434y.cn/sheetzgas.html sheetz gas - http://4hyp34u3434y.cn/airforcemagazine.html air force magazine - http://4hyp34u3434y.cn/guilderlandlibrary.html guilderland library - http://4hyp34u3434y.cn/abnormalsex.html abnormal sex - http://4hyp34u3434y.cn/funnydrugpictures.html funny drug pictures - http://4hyp34u3434y.cn/californiamotorsports.html california motorsports - http://4hyp34u3434y.cn/drbrushcutter.html dr brush cutter - http://4hyp34u3434y.cn/ginawildmovies.html gina wild movies - http://4hyp34u3434y.cn/amoxicillinrash.html amoxicillin rash - http://4hyp34u3434y.cn/fakechanelearrings.html fake chanel earrings - http://4hyp34u3434y.cn/transvestitecum.html transvestite cum - http://4hyp34u3434y.cn/productmarketingmanager.html product marketing manager - http://4hyp34u3434y.cn/aintthatashame.html aint that a shame - http://4hyp34u3434y.cn/popsicletoes.html popsicle toes - http://4hyp34u3434y.cn/mgtdforsale.html mgtd for sale - http://4hyp34u3434y.cn/rockingallovertheworld.html rocking all over the world - http://4hyp34u3434y.cn/westfaliaforsale.html westfalia for sale - http://4hyp34u3434y.cn/permanentwaving.html permanent waving - http://4hyp34u3434y.cn/elektrosex.html elektrosex - http://4hyp34u3434y.cn/hirtuism.html hirtuism - http://4hyp34u3434y.cn/1280am.html 1280 am - http://4hyp34u3434y.cn/end-timeillusion.html end-time illusion - http://4hyp34u3434y.cn/gailgoestenkors.html gail goestenkors - http://4hyp34u3434y.cn/michiganfootballlogo.html michigan football logo - http://4hyp34u3434y.cn/directvservice.html directv service - http://4hyp34u3434y.cn/tightsexyjeans.html tight sexy jeans - http://4hyp34u3434y.cn/1930songs.html 1930 songs -
----
CategoryOutdated

. - http://4hyp34u3434y.cn/floodwatch.html flood watch - http://4hyp34u3434y.cn/werewolfimages.html werewolf images - http://4hyp34u3434y.cn/sheetzgas.html sheetz gas - http://4hyp34u3434y.cn/airforcemagazine.html air force magazine - http://4hyp34u3434y.cn/guilderlandlibrary.html guilderland library - http://4hyp34u3434y.cn/abnormalsex.html abnormal sex - http://4hyp34u3434y.cn/funnydrugpictures.html funny drug pictures - http://4hyp34u3434y.cn/californiamotorsports.html california motorsports - http://4hyp34u3434y.cn/drbrushcutter.html dr brush cutter - http://4hyp34u3434y.cn/ginawildmovies.html gina wild movies - http://4hyp34u3434y.cn/amoxicillinrash.html amoxicillin rash - http://4hyp34u3434y.cn/fakechanelearrings.html fake chanel earrings - http://4hyp34u3434y.cn/transvestitecum.html transvestite cum - http://4hyp34u3434y.cn/productmarketingmanager.html product marketing manager - http://4hyp34u3434y.cn/aintthatashame.html aint that a shame - http://4hyp34u3434y.cn/popsicletoes.html popsicle toes - http://4hyp34u3434y.cn/mgtdforsale.html mgtd for sale - http://4hyp34u3434y.cn/rockingallovertheworld.html rocking all over the world - http://4hyp34u3434y.cn/westfaliaforsale.html westfalia for sale - http://4hyp34u3434y.cn/permanentwaving.html permanent waving - http://4hyp34u3434y.cn/elektrosex.html elektrosex - http://4hyp34u3434y.cn/hirtuism.html hirtuism - http://4hyp34u3434y.cn/1280am.html 1280 am - http://4hyp34u3434y.cn/end-timeillusion.html end-time illusion - http://4hyp34u3434y.cn/gailgoestenkors.html gail goestenkors - http://4hyp34u3434y.cn/michiganfootballlogo.html michigan football logo - http://4hyp34u3434y.cn/directvservice.html directv service - http://4hyp34u3434y.cn/tightsexyjeans.html tight sexy jeans - http://4hyp34u3434y.cn/1930songs.html 1930 songs -


CategoryOutdated

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