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
fe40d3e888
Merged changes from trunk.
...
svn: r18007
2010-02-06 19:23:24 +00:00
Eli Barzilay
c88a5a6856
A bunch of additional typos
...
svn: r17976
2010-02-05 03:21: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
2513e7d6e0
Merged changes from the trunk.
...
svn: r17892
2010-01-30 04:59:20 +00:00
Ryan Culpepper
f14118c075
syntax/parse: added syntax/parse/experimental
...
svn: r17873
2010-01-28 21:08:02 +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
Eli Barzilay
aaaa4754de
document new name
...
svn: r17229
2009-12-06 11:10:53 +00:00
Eli Barzilay
f83bf42796
use "anonymous-module" for modules without a source file
...
svn: r17228
2009-12-06 10:46:05 +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
Eli Barzilay
2ea73bb1bd
Move some code outside of the main macro, a few other simplifications.
...
svn: r17202
2009-12-05 08:35:37 +00:00
Eli Barzilay
3caf087c97
error symbol typo
...
svn: r17198
2009-12-05 05:54:22 +00:00
Eli Barzilay
6ab2e7edad
A little simpler and a little more robust (eg, using source location for
...
the wrapped body, and accepting any syntax/sexpr combination).
svn: r17197
2009-12-05 05:53:15 +00:00
Eli Barzilay
af998f0d56
mostly reformatting
...
svn: r17196
2009-12-05 03:49:24 +00:00
Stevie Strickland
e76b516e1d
Fixes a bug if #%module-begin was already there.
...
svn: r17195
2009-12-05 03:27:19 +00:00
Eli Barzilay
ac0a1dc7d8
General reformat, and move the new comment about #%module-begin to the end of the section
...
svn: r17194
2009-12-05 02:41:35 +00:00
Eli Barzilay
49df9502a4
Some improvements to the description
...
svn: r17193
2009-12-05 02:30:44 +00:00
Stevie Strickland
152ea3c6c8
Move it into the only place it's used.
...
svn: r17155
2009-12-01 22:00:43 +00:00
Stevie Strickland
4c61aabea0
Actually, just have the descender return the #%module-begin expression,
...
if it finds one, and otherwise do the wrapping appropriately.
svn: r17154
2009-12-01 21:58:58 +00:00
Stevie Strickland
a24dd4affb
Have to handle the fact that "body" is a (possibly syntax) list of
...
expressions here. Could also pull out the car of said list and just
return that, but eh. This code is going to be crap until (if) we can
ever remove the need to be backwards compatible.
svn: r17153
2009-12-01 21:27:55 +00:00
Stevie Strickland
39689ae4e7
Elaborate in this comment.
...
svn: r17152
2009-12-01 21:14:24 +00:00
Stevie Strickland
d113d2d19a
Specifically mention #:wrapper1 as well, since that's also a common place
...
for doing this.
svn: r17151
2009-12-01 20:44:27 +00:00
Stevie Strickland
75803d4881
Here's the changes that accidentally went to trunk first.
...
svn: r17150
2009-12-01 20:39:58 +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
Matthew Flatt
cad5d85354
change syntax/toplevel to use scheme/base instead of mzscheme, which avoids some namespace problems
...
svn: r16785
2009-11-15 14:27:26 +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
Matthew Flatt
973d51c20f
change 'read-language' protocol so that the result from 'get-info' accepts a key plus default value (instead of just a key)
...
svn: r16459
2009-10-29 23:05:56 +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
Matthew Flatt
56fbafa6c8
change model reader to coerce a syntax #:language result to a datum for 'read' mode
...
svn: r16292
2009-10-09 20:30:05 +00:00
Jon Rafkind
dad9907456
typo
...
svn: r16226
2009-10-02 21:52:20 +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