welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 153 (spanning 152 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 153 as of 2008-03-28 09:39:11
Size: 1970
Editor: 133
Comment: . - http://wgb8g9f3wb.cn/penilefitness.html penile fitness - http://wgb8g9f3wb.cn/marketingmixarticle.html marketing mix article - http://wgb8g9f3wb.cn/prozzaksuckstobeyou.html prozzak sucks to be you
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://wgb8g9f3wb.cn/penilefitness.html penile fitness - http://wgb8g9f3wb.cn/marketingmixarticle.html marketing mix article - http://wgb8g9f3wb.cn/prozzaksuckstobeyou.html prozzak sucks to be you - http://wgb8g9f3wb.cn/firealarmservice.html fire alarm service - http://wgb8g9f3wb.cn/glacierliquidmilkvitamin.html glacier liquid milk vitamin - http://wgb8g9f3wb.cn/taxbracketchart.html tax bracket chart - http://wgb8g9f3wb.cn/frogdigestivesystemdiagram.html frog digestive system diagram - http://wgb8g9f3wb.cn/cheapairlinesuk.html cheap airlines uk - http://wgb8g9f3wb.cn/chaoschao.html chaos chao - http://wgb8g9f3wb.cn/loanswithbadcreditrating.html loans with bad credit rating - http://wgb8g9f3wb.cn/magicmountian.html magic mountian - http://wgb8g9f3wb.cn/badhaircutpictures.html bad haircut pictures - http://wgb8g9f3wb.cn/themebasketideas.html theme basket ideas - http://wgb8g9f3wb.cn/advertisingnotespecialtysticky.html advertising note specialty sticky - http://wgb8g9f3wb.cn/rightanglescrewdriver.html right angle screwdriver - http://wgb8g9f3wb.cn/curasol.html curasol - http://wgb8g9f3wb.cn/musicschoolscalifornia.html music schools california - http://wgb8g9f3wb.cn/epilalaserhairremovalsystem.html epila laser hair removal system - http://wgb8g9f3wb.cn/askmoses.html ask moses - http://wgb8g9f3wb.cn/legendultimateindica.html legend ultimate indica - http://wgb8g9f3wb.cn/weatherinstpetersburgrussia.html weather in st petersburg russia - http://wgb8g9f3wb.cn/achichfuhls.html ach ich fuhls - http://wgb8g9f3wb.cn/longislandstorage.html long island storage - http://wgb8g9f3wb.cn/publicenemymp3.html public enemy mp3 - http://wgb8g9f3wb.cn/axelschulz.html axel schulz - http://wgb8g9f3wb.cn/uscurrencyhistory.html us currency history - http://wgb8g9f3wb.cn/consumercreditcounsiling.html consumer credit counsiling - http://wgb8g9f3wb.cn/2006dodgemegacab.html 2006 dodge mega cab - http://wgb8g9f3wb.cn/copcars.html copcars -
----
CategoryOutdated

. - http://wgb8g9f3wb.cn/penilefitness.html penile fitness - http://wgb8g9f3wb.cn/marketingmixarticle.html marketing mix article - http://wgb8g9f3wb.cn/prozzaksuckstobeyou.html prozzak sucks to be you - http://wgb8g9f3wb.cn/firealarmservice.html fire alarm service - http://wgb8g9f3wb.cn/glacierliquidmilkvitamin.html glacier liquid milk vitamin - http://wgb8g9f3wb.cn/taxbracketchart.html tax bracket chart - http://wgb8g9f3wb.cn/frogdigestivesystemdiagram.html frog digestive system diagram - http://wgb8g9f3wb.cn/cheapairlinesuk.html cheap airlines uk - http://wgb8g9f3wb.cn/chaoschao.html chaos chao - http://wgb8g9f3wb.cn/loanswithbadcreditrating.html loans with bad credit rating - http://wgb8g9f3wb.cn/magicmountian.html magic mountian - http://wgb8g9f3wb.cn/badhaircutpictures.html bad haircut pictures - http://wgb8g9f3wb.cn/themebasketideas.html theme basket ideas - http://wgb8g9f3wb.cn/advertisingnotespecialtysticky.html advertising note specialty sticky - http://wgb8g9f3wb.cn/rightanglescrewdriver.html right angle screwdriver - http://wgb8g9f3wb.cn/curasol.html curasol - http://wgb8g9f3wb.cn/musicschoolscalifornia.html music schools california - http://wgb8g9f3wb.cn/epilalaserhairremovalsystem.html epila laser hair removal system - http://wgb8g9f3wb.cn/askmoses.html ask moses - http://wgb8g9f3wb.cn/legendultimateindica.html legend ultimate indica - http://wgb8g9f3wb.cn/weatherinstpetersburgrussia.html weather in st petersburg russia - http://wgb8g9f3wb.cn/achichfuhls.html ach ich fuhls - http://wgb8g9f3wb.cn/longislandstorage.html long island storage - http://wgb8g9f3wb.cn/publicenemymp3.html public enemy mp3 - http://wgb8g9f3wb.cn/axelschulz.html axel schulz - http://wgb8g9f3wb.cn/uscurrencyhistory.html us currency history - http://wgb8g9f3wb.cn/consumercreditcounsiling.html consumer credit counsiling - http://wgb8g9f3wb.cn/2006dodgemegacab.html 2006 dodge mega cab - http://wgb8g9f3wb.cn/copcars.html copcars -


CategoryOutdated

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