welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 28 (spanning 27 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 28 as of 2008-03-12 07:57:50
Size: 1658
Editor: 218
Comment: ., http://hgiwpiufhl.cn/giftsformotherofthebride.html gifts for mother of the bride jqp, http://hgiwpiufhl.cn/mapoflosangelescounty.html map of los angeles county qzvtnr, http://hgiwpiufhl.cn/palabras
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://hgiwpiufhl.cn/giftsformotherofthebride.html gifts for mother of the bride jqp, http://hgiwpiufhl.cn/mapoflosangelescounty.html map of los angeles county qzvtnr, http://hgiwpiufhl.cn/palabrasdeamor.html palabras de amor %-D, http://hgiwpiufhl.cn/liposome.html liposome =OOO, http://hgiwpiufhl.cn/saskjobs.html saskjobs >:-]], http://hgiwpiufhl.cn/paard.html paard >:-), http://hgiwpiufhl.cn/scoobydoo2monstersunleashed.html scooby doo 2 monsters unleashed cwy, http://hgiwpiufhl.cn/learningcommunities.html learning communities 4735, http://hgiwpiufhl.cn/byyoursidesade.html by your side sade :-P, http://hgiwpiufhl.cn/southbeachgirls.html south beach girls snzel, http://hgiwpiufhl.cn/coachcartersoundtrack.html coach carter soundtrack 182069, http://hgiwpiufhl.cn/bathjunkie.html bath junkie cgtrq, http://hgiwpiufhl.cn/tilefloorpatterns.html tile floor patterns 8-(, http://hgiwpiufhl.cn/juliabondvideos.html julia bond videos 8-((, http://hgiwpiufhl.cn/howtomakeavatars.html how to make avatars 0931, http://hgiwpiufhl.cn/indexofmovies.html index of movies snz, http://hgiwpiufhl.cn/michaelspears.html michael spears hxcp, http://hgiwpiufhl.cn/utopiaswirve.html utopia swirve 172, http://hgiwpiufhl.cn/vietnamadoptions.html vietnam adoptions 8))), http://hgiwpiufhl.cn/rentatent.html rent a tent %-D, http://hgiwpiufhl.cn/cellphonelinks.html cell phone links 8]]], http://hgiwpiufhl.cn/heritagequest.html heritage quest 779, http://hgiwpiufhl.cn/heromovie.html hero movie sgyp, http://hgiwpiufhl.cn/baltimoremaps.html baltimore maps 8-OO, http://hgiwpiufhl.cn/portlandoregonzipcode.html portland oregon zip code 194508,
----
CategoryCategory

., http://hgiwpiufhl.cn/giftsformotherofthebride.html gifts for mother of the bride jqp, http://hgiwpiufhl.cn/mapoflosangelescounty.html map of los angeles county qzvtnr, http://hgiwpiufhl.cn/palabrasdeamor.html palabras de amor %-D, http://hgiwpiufhl.cn/liposome.html liposome =OOO, http://hgiwpiufhl.cn/saskjobs.html saskjobs >:-]], http://hgiwpiufhl.cn/paard.html paard >:-), http://hgiwpiufhl.cn/scoobydoo2monstersunleashed.html scooby doo 2 monsters unleashed cwy, http://hgiwpiufhl.cn/learningcommunities.html learning communities 4735, http://hgiwpiufhl.cn/byyoursidesade.html by your side sade :-P, http://hgiwpiufhl.cn/southbeachgirls.html south beach girls snzel, http://hgiwpiufhl.cn/coachcartersoundtrack.html coach carter soundtrack 182069, http://hgiwpiufhl.cn/bathjunkie.html bath junkie cgtrq, http://hgiwpiufhl.cn/tilefloorpatterns.html tile floor patterns 8-(, http://hgiwpiufhl.cn/juliabondvideos.html julia bond videos 8-((, http://hgiwpiufhl.cn/howtomakeavatars.html how to make avatars 0931, http://hgiwpiufhl.cn/indexofmovies.html index of movies snz, http://hgiwpiufhl.cn/michaelspears.html michael spears hxcp, http://hgiwpiufhl.cn/utopiaswirve.html utopia swirve 172, http://hgiwpiufhl.cn/vietnamadoptions.html vietnam adoptions 8))), http://hgiwpiufhl.cn/rentatent.html rent a tent %-D, http://hgiwpiufhl.cn/cellphonelinks.html cell phone links 8]]], http://hgiwpiufhl.cn/heritagequest.html heritage quest 779, http://hgiwpiufhl.cn/heromovie.html hero movie sgyp, http://hgiwpiufhl.cn/baltimoremaps.html baltimore maps 8-OO, http://hgiwpiufhl.cn/portlandoregonzipcode.html portland oregon zip code 194508,


CategoryCategory

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