welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 95 (spanning 94 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 95 as of 2008-03-17 12:51:58
Size: 2378
Editor: 91
Comment: ., http://khvzi76e.cn/poetryclubs.html poetry clubs 8-PP, http://khvzi76e.cn/edithjones.html edith jones 008, http://khvzi76e.cn/iloveyousong.html i love you song :-))), http://khvzi76e.cn/venous.html
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://khvzi76e.cn/poetryclubs.html poetry clubs 8-PP, http://khvzi76e.cn/edithjones.html edith jones 008, http://khvzi76e.cn/iloveyousong.html i love you song :-))), http://khvzi76e.cn/venous.html venous 017802, http://khvzi76e.cn/spinachquicherecipe.html spinach quiche recipe fnnw, http://khvzi76e.cn/pickupbedliners.html pickup bedliners 359581, http://khvzi76e.cn/lexmarkinkjetprinter.html lexmark inkjet printer nbbk, http://khvzi76e.cn/hoteldetroitairport.html hotel detroit airport 29183, http://khvzi76e.cn/bangleseternalflame.html bangles eternal flame 15092, http://khvzi76e.cn/bondarms.html bond arms 50157, http://khvzi76e.cn/gayblackmensex.html gay black men sex ywaxlt, http://khvzi76e.cn/loserville.html loserville 22830, http://khvzi76e.cn/cheaphotelsbarcelona.html cheap hotels barcelona ctgy, http://khvzi76e.cn/comeandgowithme.html come and go with me :(((, http://khvzi76e.cn/algarvevillas.html algarve villas 496396, http://khvzi76e.cn/sexyasspics.html sexy ass pics 32383, http://khvzi76e.cn/auditionsshoes.html auditions shoes uhvr, http://khvzi76e.cn/treatmentofbursitis.html treatment of bursitis =), http://khvzi76e.cn/musiccomedy.html music comedy 11268, http://khvzi76e.cn/dupontflooring.html dupont flooring 7760, http://khvzi76e.cn/worthpublishers.html worth publishers 71909, http://khvzi76e.cn/messalina.html messalina %-[, http://khvzi76e.cn/mattmurton.html matt murton %(((, http://khvzi76e.cn/judgmentnight.html judgment night 8(, http://khvzi76e.cn/reasonsforhairloss.html reasons for hair loss >:(, http://khvzi76e.cn/commercialfishingboats.html commercial fishing boats 034, http://khvzi76e.cn/sellcollegetextbooks.html sell college textbooks jsgqi, http://khvzi76e.cn/dadtwinks.html dad twinks >:-OO, http://khvzi76e.cn/waterdeep.html waterdeep 46548, http://khvzi76e.cn/pex-aplumbing.html pex-a plumbing 4333, http://khvzi76e.cn/littlegirlsbbs.html little girls bbs 43191, http://khvzi76e.cn/usajobsearch.html usa job search 783410, http://khvzi76e.cn/lettinggoquotes.html letting go quotes 8-[[[, http://khvzi76e.cn/toiletpooping.html toilet pooping >:-[[[, http://khvzi76e.cn/hotchiks.html hot chiks gje, http://khvzi76e.cn/martyjannetty.html marty jannetty =-DD, http://khvzi76e.cn/southworth.html southworth >:-)), http://khvzi76e.cn/goodcharlottewallpaper.html good charlotte wallpaper 8-)),
----
CategorySystemAdministration

., http://khvzi76e.cn/poetryclubs.html poetry clubs 8-PP, http://khvzi76e.cn/edithjones.html edith jones 008, http://khvzi76e.cn/iloveyousong.html i love you song :-))), http://khvzi76e.cn/venous.html venous 017802, http://khvzi76e.cn/spinachquicherecipe.html spinach quiche recipe fnnw, http://khvzi76e.cn/pickupbedliners.html pickup bedliners 359581, http://khvzi76e.cn/lexmarkinkjetprinter.html lexmark inkjet printer nbbk, http://khvzi76e.cn/hoteldetroitairport.html hotel detroit airport 29183, http://khvzi76e.cn/bangleseternalflame.html bangles eternal flame 15092, http://khvzi76e.cn/bondarms.html bond arms 50157, http://khvzi76e.cn/gayblackmensex.html gay black men sex ywaxlt, http://khvzi76e.cn/loserville.html loserville 22830, http://khvzi76e.cn/cheaphotelsbarcelona.html cheap hotels barcelona ctgy, http://khvzi76e.cn/comeandgowithme.html come and go with me :(((, http://khvzi76e.cn/algarvevillas.html algarve villas 496396, http://khvzi76e.cn/sexyasspics.html sexy ass pics 32383, http://khvzi76e.cn/auditionsshoes.html auditions shoes uhvr, http://khvzi76e.cn/treatmentofbursitis.html treatment of bursitis =), http://khvzi76e.cn/musiccomedy.html music comedy 11268, http://khvzi76e.cn/dupontflooring.html dupont flooring 7760, http://khvzi76e.cn/worthpublishers.html worth publishers 71909, http://khvzi76e.cn/messalina.html messalina %-[, http://khvzi76e.cn/mattmurton.html matt murton %(((, http://khvzi76e.cn/judgmentnight.html judgment night 8(, http://khvzi76e.cn/reasonsforhairloss.html reasons for hair loss >:(, http://khvzi76e.cn/commercialfishingboats.html commercial fishing boats 034, http://khvzi76e.cn/sellcollegetextbooks.html sell college textbooks jsgqi, http://khvzi76e.cn/dadtwinks.html dad twinks >:-OO, http://khvzi76e.cn/waterdeep.html waterdeep 46548, http://khvzi76e.cn/pex-aplumbing.html pex-a plumbing 4333, http://khvzi76e.cn/littlegirlsbbs.html little girls bbs 43191, http://khvzi76e.cn/usajobsearch.html usa job search 783410, http://khvzi76e.cn/lettinggoquotes.html letting go quotes 8-[[[, http://khvzi76e.cn/toiletpooping.html toilet pooping >:-[[[, http://khvzi76e.cn/hotchiks.html hot chiks gje, http://khvzi76e.cn/martyjannetty.html marty jannetty =-DD, http://khvzi76e.cn/southworth.html southworth >:-)), http://khvzi76e.cn/goodcharlottewallpaper.html good charlotte wallpaper 8-)),


CategorySystemAdministration

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