Commit Graph

243 Commits

Author SHA1 Message Date
Eli Barzilay
11debcdcdc reformatted
svn: r4916
2006-11-22 00:06:01 +00:00
Eli Barzilay
1de6b29aed no need for let*
svn: r4841
2006-11-13 19:53:13 +00:00
Eli Barzilay
ed575e9e03 use path-element where needed
svn: r4838
2006-11-13 19:15:55 +00:00
Eli Barzilay
9d04d4dcfc indentation
svn: r4837
2006-11-13 18:50:36 +00:00
Matthew Flatt
b8924dfbea fix syntax-parameterize when RHS refers to LHS (PR 8383)
svn: r4830
2006-11-13 00:49:50 +00:00
Robby Findler
83e09ada4c fixed a bug -- used to duplicate subexpressions
svn: r4814
2006-11-09 22:42:14 +00:00
Eli Barzilay
b04926284f fix c->scheme for structs: set all tags
svn: r4799
2006-11-07 04:25:04 +00:00
Shu-Yu Guo
dfaad3f28a contract opting should not be provided for release.
svn: r4795
2006-11-06 20:45:47 +00:00
Shu-Yu Guo
eaf71a272a typos, name tests for opt/c.
svn: r4781
2006-11-05 06:45:58 +00:00
Carl Eastlund
22fd8f51cc Added tracing capabilities to mzscheme's class system.
- class-internal.ss exports two versions (traced/untraced) of macros/functions
- classidmap.ss provides expansion to both forms (traced/untraced)
- class-traced.ss exports traced versions
- class.ss (unchanged) exports untraced versions
- class-events.ss contains hooks called by traced version
Functionality will be used by tool to be released via PLaneT.

svn: r4778
2006-11-04 20:46:52 +00:00
Shu-Yu Guo
bd0b34a9ac - refactored opt/c to its own struct/prop
- moved opters next to their respective original contracts where possible
  - the rest moved to contract-basic-opters.ss to avoid module cycle
- fixed some typos

svn: r4774
2006-11-04 05:02:57 +00:00
Matthew Flatt
d863eac492 allow fields in a trait
svn: r4741
2006-11-01 23:01:18 +00:00
Matthew Flatt
58191912c6 added real->decimal-string (one piece of a real formatter)
svn: r4685
2006-10-26 06:55:29 +00:00
Eli Barzilay
23882b3fac use sort to implement quicksort
svn: r4682
2006-10-25 17:10:05 +00:00
Matthew Flatt
60fe398868 added trait, finally
svn: r4681
2006-10-25 08:02:59 +00:00
Matthew Flatt
e7fd0e5818 clarify connection of control and fcontrol
svn: r4611
2006-10-16 02:09:36 +00:00
Eli Barzilay
45b095f968 Sitiram -> Sitaram
svn: r4598
2006-10-14 01:52:23 +00:00
Matthew Flatt
2f86c5d14d new control MzLib library
svn: r4595
2006-10-13 22:06:32 +00:00
Eli Barzilay
19ce52a1ea assume put_byte and put_short get numbers in the right range (looks like its ok)
svn: r4491
2006-10-05 05:30:50 +00:00
Eli Barzilay
4e7be21178 misc minor improvements
svn: r4490
2006-10-05 05:15:36 +00:00
Eli Barzilay
4f7cc1e56b fix for PR8331
svn: r4487
2006-10-05 01:54:36 +00:00
Eli Barzilay
97c30012ed Mainly reformatting and using kw.ss instead of opt-lambda and case-lambda
svn: r4453
2006-09-28 16:13:32 +00:00
Eli Barzilay
b123c4b394 typo
svn: r4448
2006-09-27 19:12:26 +00:00
Eli Barzilay
6c2343f20c added _bytes/eof
svn: r4447
2006-09-27 19:11:45 +00:00
Matthew Flatt
4b5146ca5b fix pregexp-match-positions
svn: r4441
2006-09-26 20:56:51 +00:00
Eli Barzilay
d1e22794f4 specialize code for body and no keywords (and no optionals)
svn: r4440
2006-09-26 15:28:05 +00:00
Eli Barzilay
821135354b allow #:body without #:keys
svn: r4431
2006-09-25 13:00:28 +00:00
Robby Findler
90b688b143 fixed PR 8293
svn: r4420
2006-09-23 02:54:25 +00:00
Sam Tobin-Hochstadt
605c510b9e Merged changes from branch:
http://svn.plt-scheme.org/plt/branches/samth/match2
revisions 4220:4417
Included Matthew's version of regexp-error change, not Sam's.
Major changes:
 - simplification pass
 - define match-letrec in terms of match-define
 - show steps of match-expander in macro stepper
 - substantial refactoring of gen-match
 - removed unused times-used-neg field of test struct
 - added match:internal-error
 - general refactoring
 - bug fix in parsing of quasi-patterns

svn: r4418
2006-09-22 18:35:22 +00:00
Matthew Flatt
bbcd99e537 allow regexps for pregexp pattern in match
svn: r4410
2006-09-22 01:59:40 +00:00
Matthew Flatt
e404e9252a dropped pregexp argument checking; it was too much duplication of contracts, and I'd rather leave it as a motivating example for better error reporting instead of a pile of code to maintain
svn: r4405
2006-09-21 03:25:12 +00:00
Matthew Flatt
e9a73b701e explicitly check pregexp arguments, insteda of letting regexp errors through
svn: r4404
2006-09-21 02:39:00 +00:00
Sam Tobin-Hochstadt
0a5ff7fddd Fix bug in definition of match-define. 2006-09-20 11:30:20 -04:00
Sam Tobin-Hochstadt
00383c4c5d convert-pat:
- reformatting
 - use constant-data?
render-test-list-impl:
 - reformatting
 - refactoring
2006-09-20 11:02:15 -04:00
Sam Tobin-Hochstadt
6bf106f785 Fix infinite loop in pregexp-split.
svn: r4398
2006-09-20 14:12:48 +00:00
Matthew Flatt
357849bf0a minor px support
svn: r4390
2006-09-19 21:39:37 +00:00
Sam Tobin-Hochstadt
a6f8fbe350 Fix bug in conversion of dotted patterns. 2006-09-19 14:31:17 -04:00
Sam Tobin-Hochstadt
086db937b8 pregexp can now return a regexp object. 2006-09-19 13:01:04 -04:00
Matthew Flatt
d3b96f936e 352.6
svn: r4379
2006-09-19 00:39:51 +00:00
Sam Tobin-Hochstadt
b42e317e0c Changed convert-pat to use syntax/loc. 2006-09-15 12:12:10 -04:00
Sam Tobin-Hochstadt
ee63e4e80d Factor observe-step into separate file.
Use observe step in match.ss match-expanders.
2006-09-11 15:43:50 -04:00
Sam Tobin-Hochstadt
7646ee635d Show correctly marked results in stepper. 2006-09-11 00:57:35 -04:00
Sam Tobin-Hochstadt
34aa12ddac Added expansion of match-expanders to macro-debugger. 2006-09-10 21:24:35 -04:00
Eli Barzilay
412a8b8cb3 error message typo
svn: r4295
2006-09-10 16:36:43 +00:00
Eli Barzilay
a0c4d3b454 * code reformatting
* use kw.ss instead of opt-lambda
* moved a debugging comment into an `if'

svn: r4273
2006-09-07 19:55:41 +00:00
Sam Tobin-Hochstadt
506c154ea8 Add new simplification pass before render-test-list.
Simplification expands match expanders and removes syntactic sugar.

Also, syntax errors are checked in the simplification phase, so better
error messages can be given.
2006-09-07 12:02:41 -04:00
Sam Tobin-Hochstadt
6034e5e0d5 fix bug with list-rest in quasi-patterns 2006-09-06 14:26:19 -04:00
Sam Tobin-Hochstadt
b1bc4714d5 update-counts: Fix a really dumb bug in logical-equal? that
caused huge time blowup.

svn: r4259
2006-09-06 16:50:50 +00:00
Sam Tobin-Hochstadt
3a77f5a914 Work toward adding simplication pass before render-test-list. 2006-09-05 18:56:04 -04:00
Robby Findler
4a6cee9cf8 fixed bug where the name has disappeared from a contract violation (and added test cases, of course)
svn: r4235
2006-09-04 02:07:01 +00:00