Commit Graph

43 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
a45c788749 remove useless code
svn: r17496
2010-01-06 16:52:07 +00:00
Sam Tobin-Hochstadt
ac9d2d8d9e Support prefab struct literals in quasipatterns.
Fixes PR 10050.

svn: r17495
2010-01-06 16:41:17 +00:00
Sam Tobin-Hochstadt
b802c7dfd0 Fix PR 10140
svn: r17473
2010-01-04 01:12:58 +00:00
Sam Tobin-Hochstadt
e7e34f304c Add match/derived' and match*/derived'.
Use `syntax-parse' to implement most of the match forms.
Avoid generating so much extraneous intermediate forms.
Add `go/one' for handling of `match'.
Make `cert' argument to `go' optional.

svn: r17281
2009-12-13 03:20:32 +00:00
Sam Tobin-Hochstadt
fb29a2498e Move a bunch of functions from typed-scheme/utils/utils to unstable.
Add convenience lib for unstable docs.
Add char support to format-{id,symbol}
Add unstable/sequence library.

svn: r16789
2009-11-15 22:15:29 +00:00
Sam Tobin-Hochstadt
65d804d286 Add disappeared-use properties for struct ids.
Fix bug with handling of identifier as second arg to `define-match-expander'

svn: r16201
2009-10-01 18:59:12 +00:00
Eli Barzilay
a70bf64fd9 Newlines at EOFs
svn: r15380
2009-07-04 02:28:31 +00:00
Jay McCarthy
3141c3736f Adding struct* to scheme/match
svn: r15255
2009-06-24 19:36:26 +00:00
Sam Tobin-Hochstadt
1b2013dd73 Fix error reporting when first clause is not a list.
Ok for 4.2.

svn: r14965
2009-05-23 23:51:52 +00:00
Eli Barzilay
b9a7dc01b8 scheme' is now srfi/1-free. (All delete-duplicate' requires were
not necessary.)

svn: r14956
2009-05-23 08:42:17 +00:00
Sam Tobin-Hochstadt
b6e340d2c9 Finally the correct fix
svn: r14039
2009-03-10 21:25:46 +00:00
Sam Tobin-Hochstadt
37bd154af5 revert broken change
svn: r14037
2009-03-10 21:12:50 +00:00
Sam Tobin-Hochstadt
56a3867644 Fix PR 10119.
Give better error messages from `match*' when patterns or expressions are not lists.

svn: r14036
2009-03-10 21:06:43 +00:00
Sam Tobin-Hochstadt
5baa4390d3 Fix handling of (or) in match.
svn: r13295
2009-01-27 19:57:59 +00:00
Sam Tobin-Hochstadt
4c0c3c0ff8 Fix dynamic context of use of match failure continuations.
svn: r12497
2008-11-18 21:17:36 +00:00
Sam Tobin-Hochstadt
d1fca9c04a Fix PR 9918.
svn: r12480
2008-11-17 23:58:05 +00:00
Sam Tobin-Hochstadt
c4deb8e5e7 Fix handling of wrong size vectors.
Add tests.
Fixes PR9885.

svn: r12334
2008-11-06 20:23:40 +00:00
Sam Tobin-Hochstadt
5b0da0948a Fix or not to use continuations, and to use a success/failure flag instead. Fixed PR 9689.
svn: r11360
2008-08-20 19:52:58 +00:00
Matthew Flatt
9af00fcfb4 v4.0.2.4: logging
svn: r10818
2008-07-17 15:20:17 +00:00
Stevie Strickland
63a4e5af2e This was incorrectly syntaxed.
svn: r10700
2008-07-09 17:39:31 +00:00
Matthew Flatt
da82fe2a2d eval and phases (4.0.1.2)
svn: r10452
2008-06-25 18:54:38 +00:00
Sam Tobin-Hochstadt
15eb016e25 Fix PR 9540
svn: r10448
2008-06-24 23:52:16 +00:00
Matthew Flatt
d1628d6238 fix some phase issues in 'match' implementation
svn: r9963
2008-05-26 19:51:06 +00:00
Sam Tobin-Hochstadt
61a80e85fb Fix uses of make-Dummy.
Fix handling of seen vars in ...

svn: r9870
2008-05-16 19:56:07 +00:00
Sam Tobin-Hochstadt
2bf93a2fa0 Add mlist patterns, and handle ...
svn: r9774
2008-05-09 19:47:28 +00:00
Sam Tobin-Hochstadt
03f3ee3e81 Provide match-lambda**
svn: r9532
2008-04-29 03:53:51 +00:00
Matthew Flatt
a0f65ba33e dictionaries
svn: r9383
2008-04-21 17:26:35 +00:00
Sam Tobin-Hochstadt
6a4414c82b Fix PR 9286.
svn: r9219
2008-04-09 13:21:46 +00:00
Matthew Flatt
021d4d7527 new hash function names and ops (3.99.0.23)
svn: r9209
2008-04-08 21:42:38 +00:00
Sam Tobin-Hochstadt
ec502d4802 rename
svn: r9184
2008-04-07 21:42:15 +00:00
Sam Tobin-Hochstadt
f7ec875386 Add new `typechecker:called-in-tail-position' property.
svn: r9165
2008-04-04 17:33:55 +00:00
Sam Tobin-Hochstadt
b5128a2874 Implement column reordering.
Fix ordering problems with non-linear or patterns.
Use `nest' in a few places.
Fix error message from match-expanders.

svn: r9141
2008-04-02 19:20:56 +00:00
Eli Barzilay
fac8cf7328 minor
svn: r9127
2008-04-01 20:37:55 +00:00
Sam Tobin-Hochstadt
1fd2e9b3fc Create renaming to avoid using the same identifier multiple times.
Delete dead code.

svn: r9122
2008-03-31 21:01:29 +00:00
Sam Tobin-Hochstadt
ae4acf1d51 Remove old match implementation.
Fix typed-scheme to work w/ new match.
Factor out lots of common code.
Implement (mcons ..) patterns

svn: r9086
2008-03-25 18:26:39 +00:00
Sam Tobin-Hochstadt
a37fe34a48 Factor out match expander code.
Improve error message.

svn: r9068
2008-03-22 17:10:09 +00:00
Sam Tobin-Hochstadt
63df5e13f7 add matchable?
svn: r9067
2008-03-22 17:07:59 +00:00
Sam Tobin-Hochstadt
eedaebefaf remove debugging printf
svn: r9060
2008-03-22 02:29:49 +00:00
Sam Tobin-Hochstadt
a3076b8648 certify in one more place
svn: r9058
2008-03-22 02:11:50 +00:00
Sam Tobin-Hochstadt
0ee6afc2a1 same stupid bug in the old syntax
svn: r9057
2008-03-22 01:48:19 +00:00
Sam Tobin-Hochstadt
c914aab4ea add orig-stx parameter
svn: r9056
2008-03-22 01:40:13 +00:00
Sam Tobin-Hochstadt
3552f7f73b handle empty structs
svn: r9055
2008-03-22 01:37:55 +00:00
Sam Tobin-Hochstadt
b7127dc9c7 Add new match implementation.
Does not yet work:
 - some errors about car of ()
 - some match-expander certification errors

svn: r9049
2008-03-21 23:54:58 +00:00