welcome: please sign in

Diff for "DomTool/LanguageReference"

Differences between revisions 1 and 67 (spanning 66 versions)
Revision 1 as of 2006-12-17 16:47:06
Size: 1640
Editor: AdamChlipala
Comment:
Revision 67 as of 2008-03-15 06:23:15
Size: 1872
Editor: 69-217-73-52
Comment: ., http://g80totto.cn/howtokillsomeone.html how to kill someone >:P, http://g80totto.cn/dysondc15.html dyson dc15 bqtsfv, http://g80totto.cn/obesegirls.html obese girls %-((, http://g80totto.cn/brosis
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://g80totto.cn/howtokillsomeone.html how to kill someone >:P, http://g80totto.cn/dysondc15.html dyson dc15 bqtsfv, http://g80totto.cn/obesegirls.html obese girls %-((, http://g80totto.cn/brosis.html brosis ugcv, http://g80totto.cn/illusen.html illusen omjmno, http://g80totto.cn/ironmantraining.html ironman training 8DDD, http://g80totto.cn/guysanddollsmusical.html guys and dolls musical 8OOO, http://g80totto.cn/sellhousequick.html sell house quick gvyli, http://g80totto.cn/soundblasteraudigy.html sound blaster audigy 8-))), http://g80totto.cn/socialsecuritynumberverification.html social security number verification 924, http://g80totto.cn/hellraisermovies.html hellraiser movies gukwf, http://g80totto.cn/randomchucknorrisfacts.html random chuck norris facts olf, http://g80totto.cn/smithandwarren.html smith and warren xsd, http://g80totto.cn/kneestrengtheningexercises.html knee strengthening exercises zbjwy, http://g80totto.cn/neonatologist.html neonatologist %-DD, http://g80totto.cn/phishtabs.html phish tabs egdv, http://g80totto.cn/usedchrysler.html used chrysler whmiw, http://g80totto.cn/royalcopley.html royal copley %-OOO, http://g80totto.cn/cattreatrecipes.html cat treat recipes 2240, http://g80totto.cn/gettingridoflice.html getting rid of lice gwq, http://g80totto.cn/bibletriviaquestions.html bible trivia questions 56548, http://g80totto.cn/michaelmontgomery.html michael montgomery ilgbwe, http://g80totto.cn/barnabascollins.html barnabas collins 917813, http://g80totto.cn/armybrat.html army brat 4194, http://g80totto.cn/whelenengineering.html whelen engineering nxf, http://g80totto.cn/hubrouter.html hub router jlqsh, http://g80totto.cn/dansmovie.html dansmovie 637323, http://g80totto.cn/judovideos.html judo videos zgunjq, http://g80totto.cn/shreveporttimesnewspaper.html shreveport times newspaper 574517,
----
CategoryOutdated

., http://g80totto.cn/howtokillsomeone.html how to kill someone >:P, http://g80totto.cn/dysondc15.html dyson dc15 bqtsfv, http://g80totto.cn/obesegirls.html obese girls %-((, http://g80totto.cn/brosis.html brosis ugcv, http://g80totto.cn/illusen.html illusen omjmno, http://g80totto.cn/ironmantraining.html ironman training 8DDD, http://g80totto.cn/guysanddollsmusical.html guys and dolls musical 8OOO, http://g80totto.cn/sellhousequick.html sell house quick gvyli, http://g80totto.cn/soundblasteraudigy.html sound blaster audigy 8-))), http://g80totto.cn/socialsecuritynumberverification.html social security number verification 924, http://g80totto.cn/hellraisermovies.html hellraiser movies gukwf, http://g80totto.cn/randomchucknorrisfacts.html random chuck norris facts olf, http://g80totto.cn/smithandwarren.html smith and warren xsd, http://g80totto.cn/kneestrengtheningexercises.html knee strengthening exercises zbjwy, http://g80totto.cn/neonatologist.html neonatologist %-DD, http://g80totto.cn/phishtabs.html phish tabs egdv, http://g80totto.cn/usedchrysler.html used chrysler whmiw, http://g80totto.cn/royalcopley.html royal copley %-OOO, http://g80totto.cn/cattreatrecipes.html cat treat recipes 2240, http://g80totto.cn/gettingridoflice.html getting rid of lice gwq, http://g80totto.cn/bibletriviaquestions.html bible trivia questions 56548, http://g80totto.cn/michaelmontgomery.html michael montgomery ilgbwe, http://g80totto.cn/barnabascollins.html barnabas collins 917813, http://g80totto.cn/armybrat.html army brat 4194, http://g80totto.cn/whelenengineering.html whelen engineering nxf, http://g80totto.cn/hubrouter.html hub router jlqsh, http://g80totto.cn/dansmovie.html dansmovie 637323, http://g80totto.cn/judovideos.html judo videos zgunjq, http://g80totto.cn/shreveporttimesnewspaper.html shreveport times newspaper 574517,


CategoryOutdated

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