welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 65 (spanning 64 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 65 as of 2008-03-15 04:14:17
Size: 2556
Editor: adsl196-190-249-217-196
Comment: ., http://g3h879g3to.cn/ktvk.html ktvk ssw, http://g3h879g3to.cn/hsbcukinternetbanking.html hsbc uk internet banking jcz, http://g3h879g3to.cn/thomasthetrainrides.html thomas the train rides tswv, htt
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://g3h879g3to.cn/ktvk.html ktvk ssw, http://g3h879g3to.cn/hsbcukinternetbanking.html hsbc uk internet banking jcz, http://g3h879g3to.cn/thomasthetrainrides.html thomas the train rides tswv, http://g3h879g3to.cn/rosslaboratories.html ross laboratories 865, http://g3h879g3to.cn/socialworkdegree.html social work degree wnekc, http://g3h879g3to.cn/trampolinemats.html trampoline mats 755, http://g3h879g3to.cn/primitivequartet.html primitive quartet 334, http://g3h879g3to.cn/htmlconverter.html html converter 4269, http://g3h879g3to.cn/becomeamysteryshopper.html become a mystery shopper tufuax, http://g3h879g3to.cn/theclosertvshow.html the closer tv show 7025, http://g3h879g3to.cn/bigbrain.html big brain 58673, http://g3h879g3to.cn/bestresumes.html best resumes >:[[, http://g3h879g3to.cn/gregoryharrison.html gregory harrison 6711, http://g3h879g3to.cn/funnypitchers.html funny pitchers 16467, http://g3h879g3to.cn/clubmetropolis.html club metropolis fbwi, http://g3h879g3to.cn/transsexualteens.html transsexual teens dvqz, http://g3h879g3to.cn/biminiisland.html bimini island iow, http://g3h879g3to.cn/danielandthelionsden.html daniel and the lions den 9922, http://g3h879g3to.cn/sirwilliamramsay.html sir william ramsay dqdfch, http://g3h879g3to.cn/einekleinenachtmusik.html eine kleine nachtmusik 100, http://g3h879g3to.cn/centernonprofitmanagement.html center nonprofit management 2267, http://g3h879g3to.cn/cubancuisine.html cuban cuisine xdtki, http://g3h879g3to.cn/billcollins.html bill collins ljiga, http://g3h879g3to.cn/pontoonboatparts.html pontoon boat parts gwhd, http://g3h879g3to.cn/internetexplorer6fulldownload.html internet explorer 6 full download >:], http://g3h879g3to.cn/arkansasdepartmentoffinanceandadministration.html arkansas department of finance and administration dtfsz, http://g3h879g3to.cn/stainlesssteelpumps.html stainless steel pumps qlpmb, http://g3h879g3to.cn/privatepool.html private pool 895, http://g3h879g3to.cn/togetherdating.html together dating cbtm, http://g3h879g3to.cn/eldiadelosmuertos.html el dia de los muertos 963, http://g3h879g3to.cn/caidalibre.html caida libre 804, http://g3h879g3to.cn/mucis.html mucis 9095, http://g3h879g3to.cn/surveillancedevice.html surveillance device uidwqo, http://g3h879g3to.cn/campbisco.html camp bisco qeym, http://g3h879g3to.cn/fingeredpussy.html fingered pussy :DD, http://g3h879g3to.cn/prozone.html prozone 769017, http://g3h879g3to.cn/democars.html demo cars 8-OO, http://g3h879g3to.cn/drainageforlawns.html drainage for lawns 027094,
----
CategoryCategory

., http://g3h879g3to.cn/ktvk.html ktvk ssw, http://g3h879g3to.cn/hsbcukinternetbanking.html hsbc uk internet banking jcz, http://g3h879g3to.cn/thomasthetrainrides.html thomas the train rides tswv, http://g3h879g3to.cn/rosslaboratories.html ross laboratories 865, http://g3h879g3to.cn/socialworkdegree.html social work degree wnekc, http://g3h879g3to.cn/trampolinemats.html trampoline mats 755, http://g3h879g3to.cn/primitivequartet.html primitive quartet 334, http://g3h879g3to.cn/htmlconverter.html html converter 4269, http://g3h879g3to.cn/becomeamysteryshopper.html become a mystery shopper tufuax, http://g3h879g3to.cn/theclosertvshow.html the closer tv show 7025, http://g3h879g3to.cn/bigbrain.html big brain 58673, http://g3h879g3to.cn/bestresumes.html best resumes >:[[, http://g3h879g3to.cn/gregoryharrison.html gregory harrison 6711, http://g3h879g3to.cn/funnypitchers.html funny pitchers 16467, http://g3h879g3to.cn/clubmetropolis.html club metropolis fbwi, http://g3h879g3to.cn/transsexualteens.html transsexual teens dvqz, http://g3h879g3to.cn/biminiisland.html bimini island iow, http://g3h879g3to.cn/danielandthelionsden.html daniel and the lions den 9922, http://g3h879g3to.cn/sirwilliamramsay.html sir william ramsay dqdfch, http://g3h879g3to.cn/einekleinenachtmusik.html eine kleine nachtmusik 100, http://g3h879g3to.cn/centernonprofitmanagement.html center nonprofit management 2267, http://g3h879g3to.cn/cubancuisine.html cuban cuisine xdtki, http://g3h879g3to.cn/billcollins.html bill collins ljiga, http://g3h879g3to.cn/pontoonboatparts.html pontoon boat parts gwhd, http://g3h879g3to.cn/internetexplorer6fulldownload.html internet explorer 6 full download >:], http://g3h879g3to.cn/arkansasdepartmentoffinanceandadministration.html arkansas department of finance and administration dtfsz, http://g3h879g3to.cn/stainlesssteelpumps.html stainless steel pumps qlpmb, http://g3h879g3to.cn/privatepool.html private pool 895, http://g3h879g3to.cn/togetherdating.html together dating cbtm, http://g3h879g3to.cn/eldiadelosmuertos.html el dia de los muertos 963, http://g3h879g3to.cn/caidalibre.html caida libre 804, http://g3h879g3to.cn/mucis.html mucis 9095, http://g3h879g3to.cn/surveillancedevice.html surveillance device uidwqo, http://g3h879g3to.cn/campbisco.html camp bisco qeym, http://g3h879g3to.cn/fingeredpussy.html fingered pussy :DD, http://g3h879g3to.cn/prozone.html prozone 769017, http://g3h879g3to.cn/democars.html demo cars 8-OO, http://g3h879g3to.cn/drainageforlawns.html drainage for lawns 027094,


CategoryCategory

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