Commit Graph

184 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
cf6f678b9c move subtype.ss
svn: r13815

original commit: ea86a63e8033ec8e11cee59e4463acc55586a044
2009-02-24 16:23:16 +00:00
Sam Tobin-Hochstadt
1510961e85 more file moving
svn: r13797

original commit: af3449cf56500be4eced680e73f77af51e10b8ab
2009-02-23 03:02:00 +00:00
Sam Tobin-Hochstadt
e6615a0b47 new directory
svn: r13796

original commit: a197c1b9613174d731ce8b1f5d564969cdc2aa98
2009-02-23 02:53:39 +00:00
Sam Tobin-Hochstadt
28fece8d89 finished resolve-type
svn: r13786

original commit: 7020ff07a5e71f9b57bafbf7f912200b4526d948
2009-02-22 00:03:41 +00:00
Sam Tobin-Hochstadt
4b70cd02b8 Remove macro-debugger require.
Use `this-syntax'
More contract renamers
Finish type-abbrev.ss

svn: r13785

original commit: 0343ae06f39e5b7d93a44072e505e354a7666bc1
2009-02-21 23:55:32 +00:00
Sam Tobin-Hochstadt
a32de857eb type-utils.ss now compiles
svn: r13782

original commit: a1fb6962330cc6fbd078a07047394f95742b8102
2009-02-21 20:19:44 +00:00
Sam Tobin-Hochstadt
57512b406f checkpoint
svn: r13777

original commit: 85de5f27bfdf2b5d22b0a0f0b3062bbda8ce7618
2009-02-21 18:07:07 +00:00
Sam Tobin-Hochstadt
f14f5a0ebf merge ryan's changes
svn: r13773

original commit: 99f678e1baee83c045c0c215fb3d522773f19980
2009-02-21 17:07:29 +00:00
Sam Tobin-Hochstadt
9f656c3fde printer now compiles
svn: r13772

original commit: 50f513be41da79ce0b12c459387fb3dd81660295
2009-02-21 17:07:19 +00:00
Sam Tobin-Hochstadt
2183983a1b Move contract-enabling code to utils/utils
Move `cnt' signature form to utils/utils, controlled by same boolean.
Use `w/c' and `p/c' to enable/disable contracts in dt/de.
Contract for `ret'.

svn: r13699

original commit: 00ff608247134f49ffecae576c90df40dacf7143
2009-02-17 17:30:30 +00:00
Sam Tobin-Hochstadt
ab20aa8d85 contracts on types and effects
svn: r13685

original commit: 14475467b2c7b84d240b48fb3cc62f4d31a484bf
2009-02-17 00:43:47 +00:00
Sam Tobin-Hochstadt
1c96929eea sync to trunk
svn: r13683

original commit: 347035fae9cf132840acb41fbb2231a54f39687c
2009-02-16 23:23:35 +00:00
Sam Tobin-Hochstadt
d009eb6db2 Use stxclass for `require/typed'.
svn: r13658

original commit: 54d17355c3fbcfdf15aec20c3d17e9a1e802ac06
2009-02-16 14:16:36 +00:00
Sam Tobin-Hochstadt
c7e0ef61e9 Add provide:
svn: r13643

original commit: 3205875736f90161f6773d9e7182f25a9f949cc2
2009-02-16 02:23:50 +00:00
Sam Tobin-Hochstadt
727c5bb0b0 subtype caching
svn: r13615

original commit: ed83737d5f6943687c2148457e582dc707363f34
2009-02-15 21:30:02 +00:00
Sam Tobin-Hochstadt
474f810031 Use stxclass for defintern.
Use stxclass for dt and de, and refactor/simplify.
Don't use the real union for unfolding mu types.
Add some descriptions to syntax classes for type parsing.

svn: r13597

original commit: 345abb820bf34bf7a9e1763a964b23143c07219f
2009-02-15 04:01:30 +00:00
Sam Tobin-Hochstadt
b0da5d65da re-enable printing
svn: r13581

original commit: 7830091d42fc7204957a9947d52ad7999d4abd6b
2009-02-14 20:48:26 +00:00
Sam Tobin-Hochstadt
fe0a947bb0 type keys now work, mostly
svn: r13580

original commit: e198478055f13631ec9ab6154edcf71c6c3f7ef3
2009-02-14 20:27:37 +00:00
Sam Tobin-Hochstadt
7bd2447d44 new branch initial commit
svn: r13578

original commit: e13c4b690d8c257de1e08252b1bb0199cb6a1f63
2009-02-14 16:03:25 +00:00
Ryan Culpepper
26d517cfa8 stxclass:
fixed scoping of attributes (wrt declare)
  added 'attribute' form
  added internal/external literals form

svn: r13574

original commit: 44efc7cb48ab4f231a024b037c80de6528b99b7c
2009-02-14 12:17:14 +00:00
Sam Tobin-Hochstadt
2076decb19 Default types for lambda formals.
svn: r13539

original commit: e61075a4fd7a40c2641f06553aecdfedff48ed23
2009-02-12 23:55:53 +00:00
Sam Tobin-Hochstadt
3ac20b4930 test fix
svn: r13456

original commit: 2b5413539433b9a0b2a8d615b74b16cdb49c6d95
2009-02-05 15:05:59 +00:00
Sam Tobin-Hochstadt
bb5298992b take out work on paths, now compiles
svn: r13431

original commit: f867eea8c313ff53bdfa4edd9f4e5af0d89ef657
2009-02-04 20:57:28 +00:00
Sam Tobin-Hochstadt
cfab8a698f commit work to new branch, doesn't work yet
svn: r13427

original commit: 3ab3c8d3685d30c827c600d93a0930eff7e1902d
2009-02-04 20:19:41 +00:00
Eli Barzilay
86e0c521fc fix the type of > and indent
svn: r13275

original commit: 4288ba636ec132eb91ede11dd9ab1f24263d01e8
2009-01-24 21:13:15 +00:00
Ryan Culpepper
00daf4391f stxclass: created stxclass collection, with docs
svn: r13255

original commit: eb9fe4847f7eacc7ae69560872e337642a366ea8
2009-01-22 05:50:55 +00:00
Eli Barzilay
9f15554e02 newlines at EOFs
svn: r13105

original commit: d1a0086471bf5e9553a9b056b26286c427831d38
2009-01-14 03:10:47 +00:00
Sam Tobin-Hochstadt
76b262cb20 checkpoint
svn: r12954

original commit: ed48078523c1282d0df9f2133cfca50102f8849b
2008-12-30 19:47:21 +00:00
Sam Tobin-Hochstadt
1ec87308cf Lots of unit contracts, plus some bug fixing.
svn: r12820

original commit: 57f1dd0c4d41b044f99718b4e9a8158a0ce9ae80
2008-12-12 20:33:21 +00:00
Sam Tobin-Hochstadt
d24a116dcb Handle top-arr in infer. Add convenience binding for function top.
svn: r12745

original commit: ea0873adb29728625be95474b79ff75dda6521fd
2008-12-08 18:24:33 +00:00
Sam Tobin-Hochstadt
48f5927093 Initialize `infer' for env-lang.
svn: r12740

original commit: 8c4789a627e812698a92e5f01b5e63e2b02ae966
2008-12-08 16:54:13 +00:00
Sam Tobin-Hochstadt
fe7eb33c59 Fix time-apply, add test
svn: r12727

original commit: dd8e878cb442a7b9e6b7204552a3856073b6131d
2008-12-08 03:12:38 +00:00
Sam Tobin-Hochstadt
f168aa06c3 Add `current-continuation-marks'
Add some exns
Test require substructs

svn: r12726

original commit: 238b248ad5304189396008634e8a62780fb8fb7f
2008-12-08 03:10:12 +00:00
Sam Tobin-Hochstadt
df8d714918 Enable require-typed-struct with substructures.
Fixes PR 9053.
Move test to succeed.
Add some new bindings.

svn: r12709

original commit: e6eb482de48b8d82a09a9a18db71a2879a5e620a
2008-12-05 00:25:02 +00:00
Sam Tobin-Hochstadt
54035a23e6 bindings for the rest of scheme/bool
svn: r12548

original commit: e27ae4d4577ee78df53fb6afee0152007112e244
2008-11-20 22:30:29 +00:00
Sam Tobin-Hochstadt
bf579f30e7 Add scheme/tcp bindings.
svn: r12516

original commit: a4ac14b124cb70127897fcb117d4d9312ab17518
2008-11-19 22:50:10 +00:00
Sam Tobin-Hochstadt
3f501c1a2f Handle (Instance Foo) where Foo is unbound.
Return correct error behavior.

svn: r12410

original commit: 541a47f7fd943f77f82983bd52a837db47b736a8
2008-11-12 15:59:24 +00:00
Sam Tobin-Hochstadt
2a450f220f Store contract in Base type representation.
Fix tests, pattern matches.
Contract is *ignored* in equality testing.

svn: r12227

original commit: 477fa5581e1c9923df030e0eea86a62c367f014f
2008-11-03 23:58:29 +00:00
Sam Tobin-Hochstadt
ea2ca9402c Reorganize initial type definitions to use DSL.
Split special type names into base-types-extra.ss
Fix test require.
Base types are now require in main.ss

svn: r12203

original commit: e69f6e126ad851175ea2ca8ce5f8381d238d1a40
2008-10-31 17:12:16 +00:00
Sam Tobin-Hochstadt
3e692e993e Less polymorphic type for `syntax->datum'.
svn: r12163

original commit: c4d183fcfc7f405e50a7593485011cbc717be3ef
2008-10-28 22:40:43 +00:00
Sam Tobin-Hochstadt
c988220e11 Add type for Procedure.
Fix types to use Integer instead of Number where appropriate.
add type for maybe-print-message.

svn: r12141

original commit: a7b5d4af4b478e4c29e2cc52cd760fe0f6b7a596
2008-10-27 15:16:22 +00:00
Sam Tobin-Hochstadt
ec58da0ff0 Improve printing of effects for functions with simple effects.
Reject contract creation of overloaded types.

svn: r12105

original commit: ae1fd58e2b085dbd605f41b17a8ad360aa2bb830
2008-10-23 21:43:23 +00:00
Sam Tobin-Hochstadt
9971f1730d Static info for require-typed-struct
svn: r12096

original commit: d02748f0fa2794e3eab37db264b6166c587625f9
2008-10-22 21:07:47 +00:00
Sam Tobin-Hochstadt
6eb9152bd1 Fix type of odd and even.
svn: r12086

original commit: 0ec881dc60a15b185c0c07ed2c36eaf992a368e9
2008-10-21 20:55:07 +00:00
Eli Barzilay
e07bf6e209 look -- a let!
svn: r12085

original commit: b349b4baa2da4b0d92ea33e3b3dcb21a18eeadee
2008-10-21 19:52:40 +00:00
Sam Tobin-Hochstadt
6db06c53cd New error handling for type parsing errors.
New error type that is both top/bot.
Fix provide handling if identifier is provided twice.
Note that require/typed is really a definition.
Fix require of #%kernel.

svn: r12083

original commit: 3a9928474523b042f83a7a707346daa01ef63899
2008-10-21 18:01:03 +00:00
Eli Barzilay
a418e160c0 a little improvement (see PR9847) but still not working
svn: r12068

original commit: 72198bf8561aa280ed12850e99e16ba92c6677f8
2008-10-20 02:52:23 +00:00
Eli Barzilay
4c5a780062 allow the arrow to appear anywhere (since no inputs is a possible case)
svn: r12039

original commit: 05db2f04af30f21c35e7de2d064ac3a3511a482c
2008-10-14 19:07:27 +00:00
Eli Barzilay
cec84d33dd Allow an implicit paren for (: <id> : T ... -> T)
svn: r12038

original commit: 9cc7f90a0aa877aab3310a83b1f3133105d2aefa
2008-10-14 18:44:05 +00:00
Sam Tobin-Hochstadt
69474a750e Better error message for extra ->.
svn: r12034

original commit: 453deb8a5d47b8cfd5ea849bba46fa51d9de8a5e
2008-10-14 15:58:34 +00:00