Ryan Culpepper
e72244513d
fixed racket/dict contracts
...
un-split syntax/id-table (no contract-free version)
2010-09-13 13:21:03 -06:00
Ryan Culpepper
fa4f48a82c
id-tables can work at different phases now
...
reduced allocation for id-table updates
2010-09-03 13:53:41 -06:00
Ryan Culpepper
d7a87c79e0
Merged changes to syntax/parse
...
Changed backtracking algorithm, runtime representations
- syntax classes, ~describe no longer implicitly commit
- ~describe no longer delimits effect of cut
Added keyword & optional args for stxclasses
Added ~do and #:do, ~post, ~commit and #:commit,
~delimit-cut and #:no-delimit-cut
Added syntax/parse/debug, syntax/parse/experimental/*
- expr/c for contracting macro sub-expressions
moved from syntax/parse to syntax/parse/experimental/contract
- syntax class reflection (~reflect, ~splicing-reflect)
- eh-alternative-sets (~eh-var)
- provide-syntax-class/contract
(only for params, not attrs so far)
Changed ~fail to not include POST progress (#:fail still does)
old (~fail _) is now (~post (~fail _))
Made msg argument of ~fail optional
Removed generic "repetition constraint violated" msg
Removed atom-in-list stxclass
Removed unnecessary datum->syntax on cdr of pair pattern
massive improvements to long-list microbenchmarks
Optimization: integrable syntax classes (id, expr, keyword)
need better measurements
Optimization: ad hoc elimination of head/tail choice point
for (EH ... . ()) patterns
Added unstable/wrapc (proc version of expr/c)
2010-08-31 10:55:58 -06:00
Ryan Culpepper
87b1ec35f3
syntax/parse: work around hiding issue in macro stepper
2010-07-13 15:34:34 -06:00
Ryan Culpepper
07f57aac9b
Added uses of unstable/struct
2010-07-13 12:07:47 -06:00
Ryan Culpepper
8c42006ad7
unstable/syntax: renamed syntax-local-values/{catch -> record}, changed uses
...
also added comments to some unstable/syntax functions
2010-07-01 17:05:05 -06:00
Ryan Culpepper
b2196cc595
syntax/parse: fixed bug in litsets at higher phases
2010-06-02 17:19:12 -06:00
Ryan Culpepper
a25996b4b8
syntax/parse: add ~var option #:attr-name-separator (no docs yet)
2010-05-17 16:33:55 -06:00
Ryan Culpepper
1572b1ece4
syntax/parse: change unbound literal error message
2010-05-17 16:33:55 -06:00
Ryan Culpepper
9f0d446ffd
syntax/parse: added details to non-syntax attr error
2010-05-12 14:55:41 -06:00
Ryan Culpepper
6d1b2af74d
syntax/parse: scheme->racket, docs for literal phases
2010-05-12 14:55:40 -06:00
Ryan Culpepper
d0cc31b35e
syntax/parse: reverted error message, fixed error test
2010-05-04 14:12:49 -06:00
Ryan Culpepper
eff9147ddc
syntax/parse: literals, literal-sets, and phases (todo: docs)
...
typed-scheme: added missing import for literal
2010-05-04 14:12:49 -06:00
Ryan Culpepper
f42adad3f8
syntax/parse: allow phase spec for literals
2010-05-04 14:12:48 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Ryan Culpepper
227aa7be73
syntax/parse: allow action patterns within list patterns
2010-04-23 16:49:40 -06:00
Matthew Flatt
c95a398754
move most of the 'scheme' collection to the 'racket' collection
2010-04-20 15:24:48 -06:00
Matthew Flatt
bdb71498e3
module paths normalize to .rkt, load handler converts .rkt back to .ss if necessary
...
svn: r18788
2010-04-11 16:55:18 +00:00
Ryan Culpepper
fdd42be5d9
syntax/parse:
...
fixed bug (thanks Jay!)
some internal additions/changes
svn: r18731
2010-04-03 23:00:37 +00:00
Ryan Culpepper
cec810a9df
syntax/parse:
...
added parameterized conventions
fixed description for "str" stxclass
fixed bug in multiple #:declare directives
svn: r18439
2010-03-03 05:50:15 +00:00
Ryan Culpepper
ab71219408
syntax/parse: removed conventions debugging output
...
svn: r18067
2010-02-12 18:31:30 +00:00
Ryan Culpepper
c1373f8214
syntax/parse:
...
allow forward references from conventions
fix progress comparison bug
svn: r18019
2010-02-08 18:39:56 +00:00
Ryan Culpepper
0f08499e54
syntax/parse: started support for backtracking into syntax classes
...
incomplete, need to separate descriptions from failure handlers
svn: r18013
2010-02-08 09:47:52 +00:00
Carl Eastlund
d7a7409fe0
Merged changes from the trunk.
...
svn: r17954
2010-02-03 15:15:11 +00:00
Ryan Culpepper
8d2f32efed
syntax/parse:
...
fixed bug: splicing-stxclass immediately within ellipses
added tests, docs for local-conventions
svn: r17944
2010-02-02 19:48:08 +00:00
Ryan Culpepper
82e1e3308f
syntax/parse:
...
fixed docs bug in ...+
fixed bug in rep constraint messages
svn: r17938
2010-02-02 07:22:35 +00:00
Ryan Culpepper
cb7600607b
syntax/parse:
...
added nested ~or ellipsis-head patterns
added ~between, ...+
cleaned up declenvs
fixed kernel-literals (include template phase binding)
pattern variables may not start with ~ (tilde)
first cut of syntax-class-possible-errors
svn: r17937
2010-02-02 02:28:32 +00:00
Carl Eastlund
88aba214c9
Merged changes from trunk. No conflicts.
...
svn: r17780
2010-01-23 17:44:27 +00:00
Carl Eastlund
7f58c26709
Replaced uses of quote-srcloc with quote-syntax.
...
svn: r17757
2010-01-19 23:25:07 +00:00
Ryan Culpepper
ef138249f4
syntax/parse: fixed bugs (thanks samth)
...
Please propagate this to the release branch.
svn: r17756
2010-01-19 21:03:51 +00:00
Carl Eastlund
ad7976079f
Kept syntax-parse expr/c error message consistent with define/contract.
...
svn: r17750
2010-01-19 09:26:42 +00:00
Carl Eastlund
722fae41a8
Ported more code to new contract tools.
...
svn: r17733
2010-01-19 03:42:45 +00:00
Ryan Culpepper
7b866a7cf3
syntax/parse: fixed error message (PR 10683)
...
svn: r17517
2010-01-06 22:20:25 +00:00
Ryan Culpepper
f0b09a0842
syntax/parse: fixed conventions and literal-sets
...
svn: r17345
2009-12-17 22:35:25 +00:00
Ryan Culpepper
63469d2f3d
scribblings: fixed misc doc typos
...
syntax/id-table: disabled debugging code
svn: r17215
2009-12-05 22:02:46 +00:00
Ryan Culpepper
f8e22d4cad
syntax/parse: changed minimatch to use make, catch struct errors
...
unstable: added syntax-local-eval, internal-definition-context-apply
svn: r17144
2009-12-01 20:32:32 +00:00
Ryan Culpepper
e120f4ded5
syntax/parse: fixed bug in #:declare with splicing stxclass
...
svn: r16712
2009-11-12 05:43:50 +00:00
Ryan Culpepper
a64e9278d1
syntax/parse: fixed splicing syntax class bugs
...
svn: r16690
2009-11-11 08:23:12 +00:00
Ryan Culpepper
daba183b08
unstable/syntax: added format-id
...
svn: r16629
2009-11-09 02:33:43 +00:00
Ryan Culpepper
d1439ef6c6
unstable/struct: added struct->list
...
some (cdr (vector->list (struct->vector x))) => (struct->list x)
svn: r16622
2009-11-08 21:17:51 +00:00
Ryan Culpepper
7483b7ed20
unstable:
...
added struct and syntax libraries
svn: r16621
2009-11-08 19:20:53 +00:00
Ryan Culpepper
0feac0f636
syntax/parse:
...
tweaked error selection algorithm
added tests
svn: r16533
2009-11-04 00:31:24 +00:00
Ryan Culpepper
5116be8342
syntax/parse:
...
fixed bug in error selection
added ~datum patterns
svn: r16497
2009-11-02 07:59:17 +00:00
Ryan Culpepper
c7d95a21c2
syntax/parse:
...
dependence on scheme/match eliminated
fail-when, etc use conditional value if syntax
error message typos (bad tildes) fixed
svn: r16393
2009-10-20 23:17:30 +00:00
Ryan Culpepper
68e805029f
syntax/parse: added disappeared-use properties
...
svn: r16113
2009-09-23 04:27:14 +00:00
Ryan Culpepper
5ababfac9c
syntax/parse: added ~parse action pattern
...
svn: r16097
2009-09-20 23:49:41 +00:00
Ryan Culpepper
491808e717
syntax/parse:
...
separated ~!, ~bind, ~fail as "action patterns", documented
docs use eg "single-term pattern" instead of "S-pattern" in text
svn: r16089
2009-09-20 20:47:54 +00:00
Ryan Culpepper
5db475cab2
syntax/parse: documented ~var, ~literal, ~not, head ~and
...
Do not commit to release branch.
svn: r16079
2009-09-19 23:09:20 +00:00
Ryan Culpepper
fdc2eaa646
syntax/parse: fixed bug in #:when parsing
...
Please commit to release branch.
svn: r16078
2009-09-19 23:07:51 +00:00
Ryan Culpepper
282d36e363
syntax/parse: added explicit ~var and ~literal forms (no docs yet)
...
svn: r16077
2009-09-19 20:04:00 +00:00