Commit Graph

73 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
c5bb0e753d `values->tc-results' needs the formals
Fix values->tc-results for ValuesDots
Don't generate problematic nested lists.
Fix stupid typo.
Parsing of tc-results now doesn't use parsing of values, which does something different.

svn: r14713

original commit: 9c538764dcd499d9b8a04b415a88835ccd55f1c9
2009-05-04 18:49:56 +00:00
Sam Tobin-Hochstadt
f0ec51670c fix values->tc-results, doesn't compile yet
svn: r14688

original commit: cce7f91b78955206b44c180c77b9c6d78be88ce4
2009-05-02 12:46:53 +00:00
Sam Tobin-Hochstadt
4627335b14 Fold tc/let-values/check into tc/let-values.
Remove printfs.
More metafunctions to handle splitting and merging filter sets.
Handle `delay', `list', `list*'
Implement tc/funapp for the simple case.
Make `id-from' a stxclass.
Shuffle code around so that it compiles.
Type parsing now handles multiple values properly, and has a values and results entry point.

svn: r14680

original commit: b4d100d60cb99e714374d2db3c75a36167b109cc
2009-05-01 21:18:23 +00:00
Sam Tobin-Hochstadt
4255e1dfab Add `single-value' function, should be used more.
Construct returns correctly in lam-result->type
Add typechecking for `values' applications.
Extend `ret' to handle dty/dbound.
Define conversions from/to values <-> results
Handle multiple values at the repl.

svn: r14665

original commit: 91f5c269642ec9ecc62efabcc83131db539fcedd
2009-04-29 22:54:29 +00:00
Sam Tobin-Hochstadt
e79d66e9b8 Rename id to mk-id to avoid name clashes.
Start on new tc-app as copy.

svn: r14660

original commit: c5b4ac4f219f2421ebc2743b2c8afa038109f389
2009-04-29 19:52:53 +00:00
Sam Tobin-Hochstadt
9ded685d1c copy
svn: r14659

original commit: e79ece72c524eb8a187bd905dc98a2ebf8b28755
2009-04-29 19:38:36 +00:00
Sam Tobin-Hochstadt
ac6d723e03 more testing
svn: r14655

original commit: b205f65bec553659e19641c61b7b5d94bb8e25dd
2009-04-29 16:58:20 +00:00
Sam Tobin-Hochstadt
fa0e28678a a couple small fixes
svn: r14643

original commit: ce0032f4c5d1262848d58f48d6846446b3f46f28
2009-04-28 18:53:16 +00:00
Sam Tobin-Hochstadt
3161d6d8a3 fix subtyping w/ filters
svn: r14640

original commit: 7b6702c9e77f1ea1e4adcf52c62cd4fa74cd1a44
2009-04-28 14:56:18 +00:00
Sam Tobin-Hochstadt
6ecd33b765 more fixes for lambda with expected
svn: r14639

original commit: 077574cfe1192c2004b2b1528c103f6b58524359
2009-04-28 14:48:53 +00:00
Sam Tobin-Hochstadt
1ed980a7eb Fixes for letrec.
svn: r14638

original commit: 9118e9ef1263e0d92959b8b96f81c25684e67204
2009-04-28 14:24:09 +00:00
Sam Tobin-Hochstadt
33ec27925d lots of let improvements
and check rationalization

svn: r14635

original commit: 5a49e92de7e48a52482a3287846a8a37b8d42de4
2009-04-27 23:25:34 +00:00
Sam Tobin-Hochstadt
b0634cd6af fixes for plambda
svn: r14634

original commit: 2e2e9b8acf4cb8e48327f4f29229577bee19a006
2009-04-27 22:44:42 +00:00
Sam Tobin-Hochstadt
e3f499b605 more contracts
more fixes

svn: r14632

original commit: af7b966c82cf3ed41ec4a3acf37e5503033ce912
2009-04-27 21:58:35 +00:00
Sam Tobin-Hochstadt
4329ac34db Lots more fixes
svn: r14631

original commit: 9853ae1f0f0d7c4791bc2237ab8183f6102ffa50
2009-04-27 21:16:34 +00:00
Sam Tobin-Hochstadt
4495909274 use correct constructor
svn: r14630

original commit: 4d8ba2bca691a99f48a332b1c3cc4dab7f61d7dd
2009-04-27 20:15:14 +00:00
Sam Tobin-Hochstadt
fca47159f2 two fixes
svn: r14629

original commit: 18f89c73e43e160c26a3f42d6d118f022ac3814a
2009-04-27 20:11:57 +00:00
Sam Tobin-Hochstadt
8b96f98595 compiles again
svn: r14625

original commit: 8cbdf3ee951ce80178ff79b135906cb3d56c5a7e
2009-04-27 16:06:54 +00:00
Sam Tobin-Hochstadt
9751e87403 fix conflicts
svn: r14601

original commit: 994f0205f49bb8960b118ca0dda8dae740b1ab1c
2009-04-24 21:30:18 +00:00
Sam Tobin-Hochstadt
ba8d0ff816 resolve conflicts
svn: r14598

original commit: 1edf62a912ac0468c2a995043c58826607d645dc
2009-04-24 21:21:06 +00:00
Sam Tobin-Hochstadt
4d2d5bfc9f remove debug printf
svn: r14578

original commit: 1edd4770f4f73daf82601a20d9e4c44854fee261
2009-04-21 17:43:33 +00:00
Sam Tobin-Hochstadt
a6b5a432c0 Add test for match improvements.
Improve handling of inference for let loop.  

svn: r14573

original commit: b1b5fe481681aef76c06b8abf1abe4cc267533ec
2009-04-21 15:35:05 +00:00
Sam Tobin-Hochstadt
17c0dbbcd3 Infer on ((lambda
add types for matchable? and match-equality-test

svn: r14570

original commit: 8918328e8a06d4cc7973bd94cb6c436e286d0be1
2009-04-20 22:41:37 +00:00
Sam Tobin-Hochstadt
297a5745a6 Fix polymorphic structure predicates.
svn: r14483

original commit: 929dc1d5b245e03d59eba55989c42c1a3e91954a
2009-04-10 00:07:11 +00:00
Sam Tobin-Hochstadt
88b15b7219 Fix bug with structure keys and polymorphic structs.
Use `match*'
Add test

svn: r14482

original commit: 69a3b7a70f56e01d732491d0fa001fe3c7667868
2009-04-09 23:52:13 +00:00
Sam Tobin-Hochstadt
b111dc6b98 Fix bug with match dots.
Fix handling of keywords.
Add keywords in call-with-input/output-port.

svn: r14469

original commit: ac7e87936043f80e97057c252b855159349001d6
2009-04-08 20:24:05 +00:00
Sam Tobin-Hochstadt
35a67354ca Require that `require/typed' uses the contracted version of typed identifiers.
svn: r14415

original commit: 6d302a93046299af4ccd58f8e8ea3938c258f7ac
2009-04-03 18:42:38 +00:00
Sam Tobin-Hochstadt
474ead72a9 Add refinement types.
Add `parse-commmand-line'

svn: r14372

original commit: cd4305ca4f395a183450b762b2c7e5be0fe4d7db
2009-03-31 03:33:04 +00:00
Sam Tobin-Hochstadt
5949a60cf7 fix some small bugs
svn: r14352

original commit: ebdd60a3a3cbdc7904f71c93316379caf866afdf
2009-03-30 12:51:02 +00:00
Stevie Strickland
f288f98416 Sam and I did some work to allow automatic inferred linking in
(define-values/)invoke-unit/infer.

svn: r14315

original commit: 99aac7d7455c3ce9189d038f781558b6bd696424
2009-03-27 13:47:12 +00:00
Sam Tobin-Hochstadt
fc897da813 sync ts to trunk
svn: r14257

original commit: fcc2a24545b0b4f71052457acdf8097f084a4b27
2009-03-25 01:07:34 +00:00
Sam Tobin-Hochstadt
56216d320e Use 'no-free-identifier=? property with rename transformers.
Allow use of ... without bound when only one ... var in scope.

svn: r14214

original commit: 6d8014783b16c2d31624f8bd5f6d25d9fb10b5e2
2009-03-22 12:41:26 +00:00
Sam Tobin-Hochstadt
fdfa1cd04a Allow `apply' of non-uniform polymorphic functions to fixed-length list arguments.
Please backport.

svn: r14162

original commit: 0ed8d251bff94224448a2d860d329a7427513a61
2009-03-17 21:18:50 +00:00
Sam Tobin-Hochstadt
d8ac05e077 disable application checking, `3' now typechecks
svn: r14128

original commit: 537d267314bbf5e74230460874b9af89a43bfacf
2009-03-16 15:28:29 +00:00
Sam Tobin-Hochstadt
d3e559a233 more work on lambda
svn: r14073

original commit: c4f5fd3773100a15690ef37c1f3f7b331db64d03
2009-03-12 15:27:24 +00:00
Sam Tobin-Hochstadt
feaf570b14 new version of abstract-filters that handles multiple values/arguments properly
strengthen contracts
improve match expanders

svn: r14057

original commit: c51dd1e8b058b99367a7a0fb8df4135f04cfcd4c
2009-03-11 19:11:50 +00:00
Sam Tobin-Hochstadt
61750cad33 tc-lambda-unit now compiles
generalize tc-results to handle drest

svn: r14044

original commit: 058e78ab17c0b749196849660d3d580c08df6c9a
2009-03-11 00:15:13 +00:00
Sam Tobin-Hochstadt
11f325e1c6 Correctly report syntax def from define-struct:
Add alias in type env when rename transformer is used.

svn: r14034

original commit: 79ee9fbee8868a4f5911356d2c1d2a9b0d7fd016
2009-03-10 20:29:02 +00:00
Sam Tobin-Hochstadt
2afd5ece54 everything except lambda, app units work
svn: r14008

original commit: 8b7497cccfa8dcc264bf16f90641f2f3f99084b2
2009-03-07 23:19:41 +00:00
Sam Tobin-Hochstadt
fc229e12cb New true-filter and false-filter abbrevs
Fix for Stevie's d-s/c fix.
tc-expr now compiles

svn: r14007

original commit: 18e03efc840e0df5dec1a6333a0d6ba42fc10bb1
2009-03-07 22:51:54 +00:00
Sam Tobin-Hochstadt
ad00361e3a Add provides
Use Type/c instead fo Type? in contracts
New if typechecking.
match expanders for tc-result.

svn: r13996

original commit: 2dbd82e587a87663afacefc5524553c4fc2246ed
2009-03-06 22:25:19 +00:00
Sam Tobin-Hochstadt
b33c622891 fix bugs
add env+

svn: r13994

original commit: aa32d9b928c7edaf68356775659dde96096b4123
2009-03-06 21:27:05 +00:00
Sam Tobin-Hochstadt
89f647fde1 combine-filter
update

svn: r13992

original commit: d293635cb7f2894111ec06339422a24c7fb7ef39
2009-03-06 20:54:39 +00:00
Sam Tobin-Hochstadt
af10c650fa fix typo
svn: r13989

original commit: e2a017f331b09745540bf47873cd9f1539f878ca
2009-03-06 19:51:33 +00:00
Sam Tobin-Hochstadt
c6ccbfc76d Remove some old debugging printfs in soon-to-be-dead code.
Fix some requires.
Start implementing metafunctions.
Strengthen contracts on filter-sets.
Rename N B Sym.

svn: r13988

original commit: 6c30e2d9e7c9d983f97092ad3aad8268e0560cb5
2009-03-06 19:50:42 +00:00
Sam Tobin-Hochstadt
6cafdd4a5d all of private, and tc-structs, now compiles
svn: r13956

original commit: 00721c10c80eae7fe51bea7593c1cab181820716
2009-03-04 19:49:20 +00:00
Sam Tobin-Hochstadt
801180afdc Fix contract on App.
Fix function construction for rec-lambda/check
Re-enable printing.

svn: r13687

original commit: cc1265fc614c972006eea18ba56e579c03e4abd2
2009-02-17 01:09:23 +00:00
Sam Tobin-Hochstadt
d6efd0acc3 Fix error message when polymorphic inference fails because of expected type.
Add test case.

svn: r13639

original commit: 02efc28dff062b60e0ee5e1c425b438d44ce9c28
2009-02-16 02:12:13 +00:00
Sam Tobin-Hochstadt
7bd2447d44 new branch initial commit
svn: r13578

original commit: e13c4b690d8c257de1e08252b1bb0199cb6a1f63
2009-02-14 16:03:25 +00:00
Sam Tobin-Hochstadt
2076decb19 Default types for lambda formals.
svn: r13539

original commit: e61075a4fd7a40c2641f06553aecdfedff48ed23
2009-02-12 23:55:53 +00:00