Commit Graph

317 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
cfd65e7fa2 Use vector-immutableof' and box-immutable/c' to handle boxes and vectors.
svn: r15199
2009-06-17 20:49:13 +00:00
Sam Tobin-Hochstadt
bc6d606a60 Merge in changes to Syntax types from Carl.
svn: r15156
2009-06-12 20:53:47 +00:00
Sam Tobin-Hochstadt
7b82069fa0 Add NoFilter and NoObject to represent no information about filter/object.
Handle these properly in check-below (with test).
Use NoFilter and NoObject to make if typechecking work properly with filters.
Reject mismatched filters/objects (with test).

New version of require/typed that handles opaque and struct requires.
Reorganize docs around this.

svn: r15155
2009-06-12 19:04:39 +00:00
Carl Eastlund
e53b944fb3 Corrected types for source location in lists passed to datum->syntax.
Corrected types for peek-* functions (which may return EOF).
Added type for read-byte.

svn: r15137
2009-06-10 23:38:52 +00:00
Sam Tobin-Hochstadt
7d9f506760 Fix a bunch of types and function types
svn: r15133
2009-06-10 21:46:52 +00:00
Sam Tobin-Hochstadt
5139875199 add split-at and append*
svn: r15119
2009-06-08 15:54:05 +00:00
Sam Tobin-Hochstadt
e269f7aa7c Parse (A -> B : C) correctly, B can't be a `values'
svn: r14858
2009-05-18 22:18:19 +00:00
Sam Tobin-Hochstadt
1047f7625d Handle ValuesDots in check-below.
Fix typo in valuesdots handling in values->tc-results
Handle ValuesDots in do-ret.
Don't try to construct silly wrappers for `apply values'
Don't use rest as list extension if it's #f
Fix tc-result handling for check-subforms/check
Add stronger contracts for Scope
Always generate substitution for infer/dots.
Fix type of `time-apply'

svn: r14815
2009-05-14 18:57:02 +00:00
Sam Tobin-Hochstadt
d8c613494e Fix type->contract of function types.
svn: r14810
2009-05-14 14:45:24 +00:00
Sam Tobin-Hochstadt
a3fb3575f9 rationalize get-type/infer to handle tc-results.
Fix tc-let to handle tc-results in various places.

svn: r14796
2009-05-13 16:16:39 +00:00
Sam Tobin-Hochstadt
f349525244 Contracts for lexical-env
Fix type of quotient/remainer function

svn: r14792
2009-05-12 21:51:01 +00:00
Sam Tobin-Hochstadt
9f3d719b4e Fix parsing of All to only use parse-values-type when appropriate.
Fix tests for new names.
Fix tests for parse-type not handling values.

svn: r14752
2009-05-08 20:26:27 +00:00
Sam Tobin-Hochstadt
50696a08a3 Handle polymorphic function application.
Paths work with car/cdr.
Fix #%require/#%provide top-level handling.

svn: r14735
2009-05-06 22:45:12 +00:00
Sam Tobin-Hochstadt
07341c605b Remove `make-arr/values'
Accessors now have appropriate latent objects
Handle function application for unions, error, mu, parameters

svn: r14724
2009-05-05 23:03:02 +00:00
Sam Tobin-Hochstadt
59dbcade9c Handle rest args and case-lambda in app.
Fix parsing.

svn: r14722
2009-05-05 19:10:21 +00:00
Sam Tobin-Hochstadt
9c538764dc `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
2009-05-04 18:49:56 +00:00
Sam Tobin-Hochstadt
b4d100d60c 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
2009-05-01 21:18:23 +00:00
Sam Tobin-Hochstadt
c5b4ac4f21 Rename id to mk-id to avoid name clashes.
Start on new tc-app as copy.

svn: r14660
2009-04-29 19:52:53 +00:00
Sam Tobin-Hochstadt
8cbdf3ee95 compiles again
svn: r14625
2009-04-27 16:06:54 +00:00
Sam Tobin-Hochstadt
994f0205f4 fix conflicts
svn: r14601
2009-04-24 21:30:18 +00:00
Sam Tobin-Hochstadt
1edf62a912 resolve conflicts
svn: r14598
2009-04-24 21:21:06 +00:00
Sam Tobin-Hochstadt
fcc2a24545 sync ts to trunk
svn: r14257
2009-03-25 01:07:34 +00:00
Sam Tobin-Hochstadt
6c30e2d9e7 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
2009-03-06 19:50:42 +00:00
Sam Tobin-Hochstadt
00721c10c8 all of private, and tc-structs, now compiles
svn: r13956
2009-03-04 19:49:20 +00:00
Sam Tobin-Hochstadt
e53a851bc2 base-env now compiles
svn: r13954
2009-03-04 19:28:48 +00:00
Sam Tobin-Hochstadt
37aa9746ea more stuff compiles
svn: r13952
2009-03-04 18:53:37 +00:00
Sam Tobin-Hochstadt
7847d35842 undo this move
svn: r13947
2009-03-04 16:37:00 +00:00
Sam Tobin-Hochstadt
e8fa7fd4dd more movement
svn: r13945
2009-03-04 16:32:50 +00:00
Sam Tobin-Hochstadt
c819793a82 more stuff works
svn: r13935
2009-03-04 00:13:54 +00:00
Sam Tobin-Hochstadt
f05fcfcf13 all of types/ now compiles
everything that doesn't use Un out of convenience.ss
added -out form for requires

svn: r13931
2009-03-03 22:45:57 +00:00
Sam Tobin-Hochstadt
bbfb99bc77 More file movement
svn: r13929
2009-03-03 22:26:15 +00:00
Sam Tobin-Hochstadt
20628199f5 union.ss compiles
svn: r13927
2009-03-03 21:55:11 +00:00
Sam Tobin-Hochstadt
a0f275502d merge from trunk
svn: r13863
2009-02-27 00:16:53 +00:00
Eli Barzilay
d10cdccca9 fix bitwise ops
svn: r13850
2009-02-26 14:04:39 +00:00
Sam Tobin-Hochstadt
ea86a63e80 move subtype.ss
svn: r13815
2009-02-24 16:23:16 +00:00
Sam Tobin-Hochstadt
af3449cf56 more file moving
svn: r13797
2009-02-23 03:02:00 +00:00
Sam Tobin-Hochstadt
a197c1b961 new directory
svn: r13796
2009-02-23 02:53:39 +00:00
Sam Tobin-Hochstadt
7020ff07a5 finished resolve-type
svn: r13786
2009-02-22 00:03:41 +00:00
Sam Tobin-Hochstadt
0343ae06f3 Remove macro-debugger require.
Use `this-syntax'
More contract renamers
Finish type-abbrev.ss

svn: r13785
2009-02-21 23:55:32 +00:00
Sam Tobin-Hochstadt
a1fb696233 type-utils.ss now compiles
svn: r13782
2009-02-21 20:19:44 +00:00
Sam Tobin-Hochstadt
85de5f27bf checkpoint
svn: r13777
2009-02-21 18:07:07 +00:00
Sam Tobin-Hochstadt
99f678e1ba merge ryan's changes
svn: r13773
2009-02-21 17:07:29 +00:00
Sam Tobin-Hochstadt
50f513be41 printer now compiles
svn: r13772
2009-02-21 17:07:19 +00:00
Ryan Culpepper
59727cc4bc stxclass: added and- and or-patterns, box and vector patterns
svn: r13721
2009-02-18 04:01:52 +00:00
Sam Tobin-Hochstadt
00ff608247 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
2009-02-17 17:30:30 +00:00
Sam Tobin-Hochstadt
14475467b2 contracts on types and effects
svn: r13685
2009-02-17 00:43:47 +00:00
Sam Tobin-Hochstadt
347035fae9 sync to trunk
svn: r13683
2009-02-16 23:23:35 +00:00
Sam Tobin-Hochstadt
c7809e5838 Use stxclass for require/opaque-type
svn: r13682
2009-02-16 23:06:23 +00:00
Sam Tobin-Hochstadt
54d17355c3 Use stxclass for `require/typed'.
svn: r13658
2009-02-16 14:16:36 +00:00
Sam Tobin-Hochstadt
3205875736 Add provide:
svn: r13643
2009-02-16 02:23:50 +00:00