Commit Graph

147 Commits

Author SHA1 Message Date
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
Eli Barzilay
fb8efd4816 added take+drop+append to scheme/list (problems with texpict providing drop too)
svn: r9045
2008-03-21 18:45:18 +00:00
Eli Barzilay
d88c6c476a * Better versions of curry/r and negate, doc improvements, tests
svn: r9043
2008-03-21 17:55:29 +00:00
Matthew Flatt
407e0bc2d9 fix serialization on prefabs, equal on cyclic hash tables
svn: r9020
2008-03-18 19:46:39 +00:00
Matthew Flatt
dba1ddc480 scribble/srcdoc experiment in net/gifwrite
svn: r9019
2008-03-18 18:19:25 +00:00
Eli Barzilay
d6cbe2b09f * New scheme/function module (added by mistake on the previous commit)
* Added it to scheme/main
* Documented it

svn: r9018
2008-03-18 14:37:04 +00:00
Eli Barzilay
d0b86a31d1 no need for the commented subtract-out, since it is swalloed by except-out now
svn: r9016
2008-03-18 13:40:25 +00:00
Matthew Flatt
3a763f3bcc generalized except-out
svn: r9015
2008-03-18 13:38:13 +00:00
Matthew Flatt
c58820e30d vyzo's thread mailboxes (3.99.0.19)
svn: r9010
2008-03-18 00:38:36 +00:00
Robby Findler
9ba432ab9c added the _ special case to ->d
svn: r8998
2008-03-17 04:01:39 +00:00
Matthew Flatt
ae75de476f fix phase of no-old-match-form
svn: r8972
2008-03-14 16:57:06 +00:00
Matthew Flatt
293ba025ba prefab structure types (3.99.0.18)
svn: r8967
2008-03-13 20:59:22 +00:00
Eli Barzilay
38e8b04be2 fixed error message
svn: r8963
2008-03-13 06:19:26 +00:00
Eli Barzilay
bb9671f27b remove subtract-out
svn: r8962
2008-03-13 04:16:02 +00:00
Eli Barzilay
bf3da735a4 subtract require/provide forms
svn: r8956
2008-03-12 07:14:57 +00:00
Matthew Flatt
9ecf9dfe4a fix some error-message reporting for mzscheme define-struct
svn: r8953
2008-03-11 21:14:40 +00:00
Eli Barzilay
c3e9f14441 split reqprov.ss to require.ss and provide.ss
svn: r8952
2008-03-11 21:12:10 +00:00
Eli Barzilay
9c0df7fc7c modspec-forms -> reqprov
svn: r8950
2008-03-11 15:22:20 +00:00
Eli Barzilay
3c29bbda9d * Moved the srfi-4 functionality back into the foreign library, so its
available from there instead of only from srfi/4
* Added scheme/modspec-forms with `matching-identifiers-in' for a
  generic regexp-based selection of identifiers
* Used this new form to get make srfi/4 reprovide the relevant stuff
  from foreign
* Did the same for srfi/66 (and added the missing renames etc to
  foreign)

svn: r8944
2008-03-11 13:06:29 +00:00
Eli Barzilay
330649b2d2 flatten and docs
svn: r8926
2008-03-08 06:58:12 +00:00
Matthew Flatt
f3d74fa4c8 R6RS fixes; fix for <, >, <=, and >= with +nan.0 and a bignum or rational; compile two-byte regexp patterns (common for hand-rolled case-insensitivity, as in the R6RS parser) to a more compact and efficient representation
svn: r8898
2008-03-06 04:56:47 +00:00
Matthew Flatt
944770a4d1 fix another(!) JIT bug related to the runstack pointer and GC --- this time when a jump to a native function has the wrong arity; more certificate-management shortcuts to avoid explosion of work for long expansion chains; changed scheme/base module-begin to not create long expansion chais in the first place
svn: r8880
2008-03-04 19:41:21 +00:00
Eli Barzilay
b76390a452 revise the way setup-plt crawls over the collection trees
svn: r8860
2008-03-03 22:04:28 +00:00
Eli Barzilay
72f82a9de4 improve error message
svn: r8848
2008-03-02 06:30:54 +00:00
Eli Barzilay
4c63166f16 fix error message
svn: r8847
2008-03-02 06:28:47 +00:00
Sam Tobin-Hochstadt
0149333d4d Provide list-immutable' in mzscheme' compatibility module.
svn: r8842
2008-03-01 23:10:48 +00:00
Sam Tobin-Hochstadt
bb5fe5e47c Provide find-method/who and do-make-object, for Typed Scheme.
svn: r8841
2008-03-01 23:09:23 +00:00
Matthew Flatt
8ffe707b76 more r6rs work
svn: r8825
2008-02-29 02:37:00 +00:00
Matthew Flatt
682f356b45 3.99.0.14, define-require-syntax, define-provide-syntax, fix extreme corner case for identifier binding (a macro-introduced identifier that is unmarked and unrenamed)
svn: r8822
2008-02-28 17:15:54 +00:00
Matthew Flatt
5a646bfe18 r6rs io
svn: r8807
2008-02-26 22:15:02 +00:00
Matthew Flatt
743db7529d r6rs io work; compiler tweaks
svn: r8805
2008-02-26 13:54:54 +00:00
Matthew Flatt
8311c8f9e4 Eli's repaired and specialized sort, fix in 'for/fold' binding, generalized integers-bytes functions, and some r6rs work
svn: r8798
2008-02-25 14:42:32 +00:00
Eli Barzilay
bb34f747b6 make all files terminate with a newline
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
31a9f69df5 typo
svn: r8784
2008-02-24 16:18:17 +00:00
Eli Barzilay
2e418f3f46 fixed sort to be stable, improved a little, properly test stability
svn: r8783
2008-02-24 16:04:17 +00:00
Eli Barzilay
1e002f2e5b fix #:help-labels
svn: r8781
2008-02-24 08:32:22 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Matthew Flatt
3ed0c89b8b fix expansion of lone 'lambda' in a module body
svn: r8758
2008-02-21 21:59:57 +00:00
Matthew Flatt
5427d8c546 fix enter!
svn: r8757
2008-02-21 18:45:23 +00:00
Matthew Flatt
f39b12a555 doc repairs and r6rs repairs
svn: r8754
2008-02-21 14:49:58 +00:00
Matthew Flatt
b953b448ba expose struct:struct-info
svn: r8753
2008-02-21 13:30:25 +00:00
Robby Findler
9692473c62 changed union to or/c
svn: r8747
2008-02-20 23:25:13 +00:00