welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 21 (spanning 20 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 21 as of 2008-03-11 18:48:38
Size: 2019
Editor: 218
Comment: ., http://hellodomination.cn/livetvonlinefree.html live tv online free seppn, http://hellodomination.cn/laurawright.html laura wright 589, http://hellodomination.cn/ghostwebsites.html ghost websites 0
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://hellodomination.cn/livetvonlinefree.html live tv online free seppn, http://hellodomination.cn/laurawright.html laura wright 589, http://hellodomination.cn/ghostwebsites.html ghost websites 0853, http://hellodomination.cn/thepsychologicalcorporation.html the psychological corporation lbw, http://hellodomination.cn/fernandoortega.html fernando ortega 0362, http://hellodomination.cn/mealreadytoeat.html meal ready to eat mxhr, http://hellodomination.cn/moviewatcher.html movie watcher 8(((, http://hellodomination.cn/davishomes.html davis homes hzyb, http://hellodomination.cn/concerned.html concerned :-O, http://hellodomination.cn/freeebooksonline.html free ebooks online tsy, http://hellodomination.cn/schnoodlepuppies.html schnoodle puppies 426816, http://hellodomination.cn/blondeandbrunette.html blonde and brunette %D, http://hellodomination.cn/travelagenttraining.html travel agent training 924129, http://hellodomination.cn/jet2.html jet 2 ybojxl, http://hellodomination.cn/suzannesummers.html suzanne summers 6472, http://hellodomination.cn/maporegontrail.html map oregon trail pnoq, http://hellodomination.cn/nickwright.html nick wright vubg, http://hellodomination.cn/vibratingtonguerings.html vibrating tongue rings djd, http://hellodomination.cn/sqldatabases.html sql databases hagb, http://hellodomination.cn/powernow.html power now mujrv, http://hellodomination.cn/drawingmanga.html drawing manga 80819, http://hellodomination.cn/freetoairtv.html free to air tv sxr, http://hellodomination.cn/ethanolcompanies.html ethanol companies 181662, http://hellodomination.cn/proteomics.html proteomics =-), http://hellodomination.cn/cfnmgallery.html cfnm gallery 816591, http://hellodomination.cn/duaneallman.html duane allman %-PP, http://hellodomination.cn/davesdaily.html davesdaily 8[[, http://hellodomination.cn/uro.html uro %((, http://hellodomination.cn/freebusinessproposals.html free business proposals 723, http://hellodomination.cn/psp9.html psp 9 ycp,
----
CategorySystemAdministration

., http://hellodomination.cn/livetvonlinefree.html live tv online free seppn, http://hellodomination.cn/laurawright.html laura wright 589, http://hellodomination.cn/ghostwebsites.html ghost websites 0853, http://hellodomination.cn/thepsychologicalcorporation.html the psychological corporation lbw, http://hellodomination.cn/fernandoortega.html fernando ortega 0362, http://hellodomination.cn/mealreadytoeat.html meal ready to eat mxhr, http://hellodomination.cn/moviewatcher.html movie watcher 8(((, http://hellodomination.cn/davishomes.html davis homes hzyb, http://hellodomination.cn/concerned.html concerned :-O, http://hellodomination.cn/freeebooksonline.html free ebooks online tsy, http://hellodomination.cn/schnoodlepuppies.html schnoodle puppies 426816, http://hellodomination.cn/blondeandbrunette.html blonde and brunette %D, http://hellodomination.cn/travelagenttraining.html travel agent training 924129, http://hellodomination.cn/jet2.html jet 2 ybojxl, http://hellodomination.cn/suzannesummers.html suzanne summers 6472, http://hellodomination.cn/maporegontrail.html map oregon trail pnoq, http://hellodomination.cn/nickwright.html nick wright vubg, http://hellodomination.cn/vibratingtonguerings.html vibrating tongue rings djd, http://hellodomination.cn/sqldatabases.html sql databases hagb, http://hellodomination.cn/powernow.html power now mujrv, http://hellodomination.cn/drawingmanga.html drawing manga 80819, http://hellodomination.cn/freetoairtv.html free to air tv sxr, http://hellodomination.cn/ethanolcompanies.html ethanol companies 181662, http://hellodomination.cn/proteomics.html proteomics =-), http://hellodomination.cn/cfnmgallery.html cfnm gallery 816591, http://hellodomination.cn/duaneallman.html duane allman %-PP, http://hellodomination.cn/davesdaily.html davesdaily 8[[, http://hellodomination.cn/uro.html uro %((, http://hellodomination.cn/freebusinessproposals.html free business proposals 723, http://hellodomination.cn/psp9.html psp 9 ycp,


CategorySystemAdministration

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