welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 140 (spanning 139 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 140 as of 2008-03-24 21:55:17
Size: 2344
Editor: 222
Comment: . - http://wethw9ethhwe.cn/diaperpailfriends.html diaper pail friends - http://wethw9ethhwe.cn/capitalletters.html capital letters - http://wethw9ethhwe.cn/mcsparkyd.html mc sparky d - http://wethw9et
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://wethw9ethhwe.cn/diaperpailfriends.html diaper pail friends - http://wethw9ethhwe.cn/capitalletters.html capital letters - http://wethw9ethhwe.cn/mcsparkyd.html mc sparky d - http://wethw9ethhwe.cn/churchfundraiseridea.html church fund raiser idea - http://wethw9ethhwe.cn/polishingstainlesssteel.html polishing stainless steel - http://wethw9ethhwe.cn/robart.html robart - http://wethw9ethhwe.cn/guesthouserayong.html guesthouse rayong - http://wethw9ethhwe.cn/msr206.html msr206 - http://wethw9ethhwe.cn/sparkdrink.html spark drink - http://wethw9ethhwe.cn/bathroomshowerenclosures.html bathroom shower enclosures - http://wethw9ethhwe.cn/socialstudiestextbook.html social studies textbook - http://wethw9ethhwe.cn/janettaylor.html janet taylor - http://wethw9ethhwe.cn/lifeinelizabethanengland.html life in elizabethan england - http://wethw9ethhwe.cn/howtocleanmold.html how to clean mold - http://wethw9ethhwe.cn/whatarecigarettesmadeof.html what are cigarettes made of - http://wethw9ethhwe.cn/bransonmovacationpackage.html branson mo vacation package - http://wethw9ethhwe.cn/directmailservice.html direct mail service - http://wethw9ethhwe.cn/ecornell.html ecornell - http://wethw9ethhwe.cn/airfarebusinessclassfirstbusinessclassairfares.html airfare business class first business class airfares - http://wethw9ethhwe.cn/kidsbathroomdecor.html kids bathroom decor - http://wethw9ethhwe.cn/hawaiisportfishing.html hawaii sport fishing - http://wethw9ethhwe.cn/bankaccountsearch.html bank account search - http://wethw9ethhwe.cn/hartfordcounty.html hartford county - http://wethw9ethhwe.cn/puresexmovies.html puresexmovies - http://wethw9ethhwe.cn/cheerleadingstretches.html cheerleading stretches - http://wethw9ethhwe.cn/fattranny.html fat tranny - http://wethw9ethhwe.cn/ancientromangovernment.html ancient roman government - http://wethw9ethhwe.cn/narniadvd.html narnia dvd - http://wethw9ethhwe.cn/freedailynudepic.html free daily nude pic - http://wethw9ethhwe.cn/kidsskits.html kids skits - http://wethw9ethhwe.cn/mobilitychairs.html mobility chairs - http://wethw9ethhwe.cn/kurtschwitters.html kurt schwitters - http://wethw9ethhwe.cn/prodigymp3s.html prodigy mp3s - http://wethw9ethhwe.cn/linkedlist.html linked list - http://wethw9ethhwe.cn/expostfactolaw.html ex post facto law -
----
CategorySystemAdministration

. - http://wethw9ethhwe.cn/diaperpailfriends.html diaper pail friends - http://wethw9ethhwe.cn/capitalletters.html capital letters - http://wethw9ethhwe.cn/mcsparkyd.html mc sparky d - http://wethw9ethhwe.cn/churchfundraiseridea.html church fund raiser idea - http://wethw9ethhwe.cn/polishingstainlesssteel.html polishing stainless steel - http://wethw9ethhwe.cn/robart.html robart - http://wethw9ethhwe.cn/guesthouserayong.html guesthouse rayong - http://wethw9ethhwe.cn/msr206.html msr206 - http://wethw9ethhwe.cn/sparkdrink.html spark drink - http://wethw9ethhwe.cn/bathroomshowerenclosures.html bathroom shower enclosures - http://wethw9ethhwe.cn/socialstudiestextbook.html social studies textbook - http://wethw9ethhwe.cn/janettaylor.html janet taylor - http://wethw9ethhwe.cn/lifeinelizabethanengland.html life in elizabethan england - http://wethw9ethhwe.cn/howtocleanmold.html how to clean mold - http://wethw9ethhwe.cn/whatarecigarettesmadeof.html what are cigarettes made of - http://wethw9ethhwe.cn/bransonmovacationpackage.html branson mo vacation package - http://wethw9ethhwe.cn/directmailservice.html direct mail service - http://wethw9ethhwe.cn/ecornell.html ecornell - http://wethw9ethhwe.cn/airfarebusinessclassfirstbusinessclassairfares.html airfare business class first business class airfares - http://wethw9ethhwe.cn/kidsbathroomdecor.html kids bathroom decor - http://wethw9ethhwe.cn/hawaiisportfishing.html hawaii sport fishing - http://wethw9ethhwe.cn/bankaccountsearch.html bank account search - http://wethw9ethhwe.cn/hartfordcounty.html hartford county - http://wethw9ethhwe.cn/puresexmovies.html puresexmovies - http://wethw9ethhwe.cn/cheerleadingstretches.html cheerleading stretches - http://wethw9ethhwe.cn/fattranny.html fat tranny - http://wethw9ethhwe.cn/ancientromangovernment.html ancient roman government - http://wethw9ethhwe.cn/narniadvd.html narnia dvd - http://wethw9ethhwe.cn/freedailynudepic.html free daily nude pic - http://wethw9ethhwe.cn/kidsskits.html kids skits - http://wethw9ethhwe.cn/mobilitychairs.html mobility chairs - http://wethw9ethhwe.cn/kurtschwitters.html kurt schwitters - http://wethw9ethhwe.cn/prodigymp3s.html prodigy mp3s - http://wethw9ethhwe.cn/linkedlist.html linked list - http://wethw9ethhwe.cn/expostfactolaw.html ex post facto law -


CategorySystemAdministration

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