Commit Graph

455 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
c6953e5403 All code from old app is now in new app
svn: r14740

original commit: d2cc1b2400a6c15c4103de0a0f4f2561cd0c9ce9
2009-05-07 20:17:38 +00:00
Sam Tobin-Hochstadt
f031868e1b Type inference for ((lambda with rest args
svn: r14739

original commit: aa887be6d2def1ba9f3c57abb82b31f771ff35f9
2009-05-07 17:40:29 +00:00
Sam Tobin-Hochstadt
783581aa49 Handle polymorphic function application.
Paths work with car/cdr.
Fix #%require/#%provide top-level handling.

svn: r14735

original commit: 50696a08a31258428edf4af9d58c84d763a2bc17
2009-05-06 22:45:12 +00:00
Sam Tobin-Hochstadt
e4997f6176 Remove `make-arr/values'
Accessors now have appropriate latent objects
Handle function application for unions, error, mu, parameters

svn: r14724

original commit: 07341c605b9660333444665265a4fb3104efdc6e
2009-05-05 23:03:02 +00:00
Sam Tobin-Hochstadt
dfcd59c8fa Handle rest args and case-lambda in app.
Fix parsing.

svn: r14722

original commit: 59dbcade9c888afac614dba06b4c93cdff64c6b7
2009-05-05 19:10:21 +00:00
Sam Tobin-Hochstadt
7a07559474 Various constants are true.
Remove useless code.
`combine-filter' now handles producing the new type/object in appropriate cases.
Move student expansion later in pattern match.
Print out top-level tc-results.

svn: r14721

original commit: 6b89062d6a2e6b35fb24c71d7f0fb839d49546b1
2009-05-05 16:27:18 +00:00
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
da63bcbcb7 more tests
svn: r14685

original commit: 16305c20ff620f56df136583663a735b02f9a3a8
2009-05-02 01:45:50 +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
b32d7af9bf Fix reconstruction of Latents, which do not have keys.
svn: r14652

original commit: 6662b72162602e70ea244532c263bb016b0146d0
2009-04-29 14:35:52 +00:00
Sam Tobin-Hochstadt
89ea60ce9b Fix p/c handling of rename.
svn: r14651

original commit: ea03a751137b4be3865258840f84527fd80dcb52
2009-04-29 14:35:26 +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
7b651a3856 more printer improvements
svn: r14633

original commit: dfbfc371e25badd5bae47a0f099466e19fe2010a
2009-04-27 22:24:47 +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
f4ebee3d68 Sync to trunk again.
Fix require/contract.
Subtyping, printing for refinements.

svn: r14626

original commit: f2bffcabab6e027a2cd59dc78ab0fd5a77be99c7
2009-04-27 18:26:00 +00:00
Sam Tobin-Hochstadt
8b96f98595 compiles again
svn: r14625

original commit: 8cbdf3ee951ce80178ff79b135906cb3d56c5a7e
2009-04-27 16:06:54 +00:00
Sam Tobin-Hochstadt
415acf88ff Clarify docs.
svn: r14615

original commit: 119fd5bc95aa637fdee27c30223ccb63f80fdd25
2009-04-26 17:55:02 +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
93291d7e72 type for append-map
svn: r14579

original commit: 062008c7586ec2192d1a3b51f6a27402a8e7efb9
2009-04-21 22:51:55 +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
a5c24172b8 Fix handling of filters that refer to out-of-scope vars
svn: r14574

original commit: 60325b670c25276dddcf904b801bbde922ca2302
2009-04-21 16:13:00 +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
e5d7c897d4 document quote for more types
svn: r14480

original commit: 2332f2f50ab0da2d6455742ce07e3d1aa3f26b86
2009-04-09 22:27:25 +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
d946fc3b79 Document typed-scheme/no-check
svn: r14465

original commit: 95988f86a2c60eed0edfd4710b9064ea035efb62
2009-04-08 15:04:03 +00:00
Sam Tobin-Hochstadt
ac03c56716 Fix static struct info
svn: r14433

original commit: d57f1a68a4303e0c52ca9f3e383719c3f9e4591f
2009-04-06 06:18:06 +00:00
Eli Barzilay
b155c5e8f0 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427

original commit: c0a8a0122200209e38dff1959d79b58f847814db
2009-04-05 17:46:20 +00:00
Sam Tobin-Hochstadt
7b70ced131 Report more information for untyped imported identifiers
svn: r14418

original commit: 2aab5762370806fb648694cbbd6cb1c44ba2fc83
2009-04-03 22:42:29 +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
8c928ca0bf Fix subtyping, printing, inference for refinement types.
svn: r14403

original commit: 6d07cf912830c478b22ef005bbf267cda3d06f2a
2009-04-02 03:03:44 +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