welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 52 (spanning 51 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 52 as of 2008-03-13 20:01:17
Size: 2540
Editor: 69-217-73-52
Comment: ., http://nuvotsnovaprobuju.cn/playboygirl.html play boy girl hopu, http://nuvotsnovaprobuju.cn/jamesnaismith.html james naismith hrevx, http://nuvotsnovaprobuju.cn/ringbearergifts.html ring bearer gi
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://nuvotsnovaprobuju.cn/playboygirl.html play boy girl hopu, http://nuvotsnovaprobuju.cn/jamesnaismith.html james naismith hrevx, http://nuvotsnovaprobuju.cn/ringbearergifts.html ring bearer gifts hurm, http://nuvotsnovaprobuju.cn/blondebrunette.html blonde brunette =-DD, http://nuvotsnovaprobuju.cn/hollywoodmovietheaters.html hollywood movie theaters 326, http://nuvotsnovaprobuju.cn/coversheetsample.html cover sheet sample loari, http://nuvotsnovaprobuju.cn/cyberwrestling.html cyber wrestling nlg, http://nuvotsnovaprobuju.cn/shar-peipuppiesforsale.html shar-pei puppies for sale 62288, http://nuvotsnovaprobuju.cn/vintagestores.html vintage stores euq, http://nuvotsnovaprobuju.cn/licensedmassagetherapist.html licensed massage therapist 104, http://nuvotsnovaprobuju.cn/bigassmature.html big ass mature 45261, http://nuvotsnovaprobuju.cn/htpccases.html htpc cases 064607, http://nuvotsnovaprobuju.cn/iupac.html iupac sbevz, http://nuvotsnovaprobuju.cn/factsaboutaids.html facts about aids sfkw, http://nuvotsnovaprobuju.cn/sexytranny.html sexy tranny 6001, http://nuvotsnovaprobuju.cn/kellypickleramericanidol.html kelly pickler american idol xtgkjt, http://nuvotsnovaprobuju.cn/collectorknives.html collector knives 92891, http://nuvotsnovaprobuju.cn/juniorleague.html junior league 1693, http://nuvotsnovaprobuju.cn/softwareprocessmanagement.html software process management 8-], http://nuvotsnovaprobuju.cn/unidentifiedflyingobjects.html unidentified flying objects 8), http://nuvotsnovaprobuju.cn/lingeriexxx.html lingerie xxx acjo, http://nuvotsnovaprobuju.cn/beddinglinen.html bedding linen 766001, http://nuvotsnovaprobuju.cn/jeffmartin.html jeff martin 9629, http://nuvotsnovaprobuju.cn/hugecleavage.html huge cleavage %[, http://nuvotsnovaprobuju.cn/redheeler.html red heeler 120173, http://nuvotsnovaprobuju.cn/homegain.html home gain kgz, http://nuvotsnovaprobuju.cn/wilhelminamodels.html wilhelmina models 725, http://nuvotsnovaprobuju.cn/buildagreenhouse.html build a green house 8220, http://nuvotsnovaprobuju.cn/automobilerecalls.html automobile recalls jkvyl, http://nuvotsnovaprobuju.cn/tilegames.html tile games 114383, http://nuvotsnovaprobuju.cn/gangstergirls.html gangster girls 8-[, http://nuvotsnovaprobuju.cn/cashback.html cashback 86306, http://nuvotsnovaprobuju.cn/motorcycletrader.html motor cycle trader sodz, http://nuvotsnovaprobuju.cn/readingparealestate.html reading pa real estate =OO, http://nuvotsnovaprobuju.cn/freecheckingaccount.html free checking account 7822,
----
CategoryOutdated

., http://nuvotsnovaprobuju.cn/playboygirl.html play boy girl hopu, http://nuvotsnovaprobuju.cn/jamesnaismith.html james naismith hrevx, http://nuvotsnovaprobuju.cn/ringbearergifts.html ring bearer gifts hurm, http://nuvotsnovaprobuju.cn/blondebrunette.html blonde brunette =-DD, http://nuvotsnovaprobuju.cn/hollywoodmovietheaters.html hollywood movie theaters 326, http://nuvotsnovaprobuju.cn/coversheetsample.html cover sheet sample loari, http://nuvotsnovaprobuju.cn/cyberwrestling.html cyber wrestling nlg, http://nuvotsnovaprobuju.cn/shar-peipuppiesforsale.html shar-pei puppies for sale 62288, http://nuvotsnovaprobuju.cn/vintagestores.html vintage stores euq, http://nuvotsnovaprobuju.cn/licensedmassagetherapist.html licensed massage therapist 104, http://nuvotsnovaprobuju.cn/bigassmature.html big ass mature 45261, http://nuvotsnovaprobuju.cn/htpccases.html htpc cases 064607, http://nuvotsnovaprobuju.cn/iupac.html iupac sbevz, http://nuvotsnovaprobuju.cn/factsaboutaids.html facts about aids sfkw, http://nuvotsnovaprobuju.cn/sexytranny.html sexy tranny 6001, http://nuvotsnovaprobuju.cn/kellypickleramericanidol.html kelly pickler american idol xtgkjt, http://nuvotsnovaprobuju.cn/collectorknives.html collector knives 92891, http://nuvotsnovaprobuju.cn/juniorleague.html junior league 1693, http://nuvotsnovaprobuju.cn/softwareprocessmanagement.html software process management 8-], http://nuvotsnovaprobuju.cn/unidentifiedflyingobjects.html unidentified flying objects 8), http://nuvotsnovaprobuju.cn/lingeriexxx.html lingerie xxx acjo, http://nuvotsnovaprobuju.cn/beddinglinen.html bedding linen 766001, http://nuvotsnovaprobuju.cn/jeffmartin.html jeff martin 9629, http://nuvotsnovaprobuju.cn/hugecleavage.html huge cleavage %[, http://nuvotsnovaprobuju.cn/redheeler.html red heeler 120173, http://nuvotsnovaprobuju.cn/homegain.html home gain kgz, http://nuvotsnovaprobuju.cn/wilhelminamodels.html wilhelmina models 725, http://nuvotsnovaprobuju.cn/buildagreenhouse.html build a green house 8220, http://nuvotsnovaprobuju.cn/automobilerecalls.html automobile recalls jkvyl, http://nuvotsnovaprobuju.cn/tilegames.html tile games 114383, http://nuvotsnovaprobuju.cn/gangstergirls.html gangster girls 8-[, http://nuvotsnovaprobuju.cn/cashback.html cashback 86306, http://nuvotsnovaprobuju.cn/motorcycletrader.html motor cycle trader sodz, http://nuvotsnovaprobuju.cn/readingparealestate.html reading pa real estate =OO, http://nuvotsnovaprobuju.cn/freecheckingaccount.html free checking account 7822,


CategoryOutdated

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