Ryan Culpepper
d8296a31f5
syntax/parse/experimental/template: make errors consistent with 'syntax'
2012-09-27 12:45:55 -04:00
Ryan Culpepper
008d1f7f1b
syntax/parse/experimental/template: quasitemplate, template/loc
2012-09-24 13:31:03 -04:00
Ryan Culpepper
8a02ff54ac
syntax/parse/experimental/template: improve prop handling & syntax checks
...
Separate parameters for props to serialize and those to transfer.
Make syntax?/list? checks on attributes explicit.
Also add continuation barrier around metafunction application.
2012-09-20 12:28:18 -04:00
Ryan Culpepper
ddcafbc6d1
syntax/parse/experimental/template: fix ellipses/depth rules again
2012-09-20 12:19:51 -04:00
Ryan Culpepper
35a0e50de4
syntax/parse/experimental/template: fixed bugs, added error tests
2012-09-17 18:11:44 -04:00
Ryan Culpepper
fcac1fdc50
syntax/parse/experimental/template: fix bad initial environment
2012-09-17 12:29:17 -04:00
Ryan Culpepper
0ea03360c3
template: improve syntax property support
2012-08-03 18:14:16 -04:00
Ryan Culpepper
9e566a90ac
find syntax properties to transfer at compile time
2012-07-31 19:15:21 -04:00
Ryan Culpepper
74ca931f5a
more template improvements
...
- loosen pattern variable depth rules (now compatible with syntax)
- generalize ?? form to head-templates
- doc improvements
- propagate paren-shape property
2012-03-21 17:48:10 -06:00
Ryan Culpepper
6c369f2563
updates to syntax/parse/experimental/template
...
- changed substitute to use closure-compilation
- added stress/perf test for templates
- updated minimatch with vector patterns
- split substitute into separate file, minimize dependencies
- do ellipsis optimization dynamically
- validate guides: check var indexes
2012-03-21 17:33:08 -06:00
Ryan Culpepper
2a3d6d5c31
syntax/parse: add attribute-prefix check to template form
...
(template x.y) raises an error if x an attribute but x.y is not.
2012-02-28 05:27:57 -07:00
Ryan Culpepper
5a1badf397
syntax/parse: added template metafunctions
...
Also fixed some bugs and added simple optimizations.
2012-02-10 22:12:54 -07:00
Ryan Culpepper
06979954fa
syntax/parse: added experimental template form
...
Also added more atomic patterns to syntax-parse (previously overlooked).
2012-02-10 05:26:13 -07:00