Commit Graph

105 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
788630d26a progress towards let 2010-04-23 16:40:05 -04:00
Sam Tobin-Hochstadt
2d88d698c2 implication works 2010-04-23 12:31:22 -04:00
Sam Tobin-Hochstadt
64a6f7c3d5 better filter printing 2010-04-23 09:59:00 -04:00
Sam Tobin-Hochstadt
3311b2bb3a fix asym pred not to use identifiers 2010-04-22 18:27:08 -04:00
Sam Tobin-Hochstadt
b0918cd8b9 add first steps in real solving 2010-04-22 16:46:06 -04:00
Sam Tobin-Hochstadt
9c59782a37 progress, fix some dumb bugs 2010-04-21 19:00:12 -04:00
Sam Tobin-Hochstadt
f57ef37a66 Everything now compiles without names 2010-04-19 18:42:25 -04:00
Sam Tobin-Hochstadt
fca1044972 Merge branch 'master' into samth/new-logic2 2010-04-19 16:14:11 -04:00
Sam Tobin-Hochstadt
41e469d7ae Update structure types to have constructor ids.
Use constructor to generate better contracts for poly structs.
2010-04-14 15:06:14 -04:00
Sam Tobin-Hochstadt
0c730ae50a test improvements
svn: r18814
2010-04-14 17:11:21 +00:00
Sam Tobin-Hochstadt
25a817e4aa Fix thinko in subtyping.
svn: r18802
2010-04-12 22:23:39 +00:00
Sam Tobin-Hochstadt
d4e0c16d55 a new branch of the whole tree
svn: r18648
2010-03-27 14:49:58 +00:00
Noel Welsh
cf017110a9 Fix a problem generating contracts for FlVector exports. Add test for problem.
svn: r18603
2010-03-23 10:30:24 +00:00
Sam Tobin-Hochstadt
d58bf1521b added (disabled) optimization
svn: r18567
2010-03-17 19:25:21 +00:00
Noel Welsh
39a1489403 Add FlVector types to Typed Scheme and bindings for all flvector operations in scheme/flonum and scheme/unsafe/ops.
svn: r18555
2010-03-17 14:49:29 +00:00
Sam Tobin-Hochstadt
b3be4f32f7 Null does not overlap with structs.
svn: r18508
2010-03-10 23:43:47 +00:00
Sam Tobin-Hochstadt
65b12a2af3 Use `current-contract-region' appropriately.
Maintain source locations.
Fix PR 10776.

svn: r18421
2010-03-01 23:43:15 +00:00
Sam Tobin-Hochstadt
78c14e434b Add `with-type' for defintions, add #:result keyword.
Fix contract for top-arr.
Remove static version of printing conditional.
Fix brokenness in print-converting.

svn: r18416
2010-03-01 22:31:24 +00:00
Stevie Strickland
8e3a67936e Add `unregister-type'
Add type regions.
Untyped lexical vars not an internal error.

svn: r18374
2010-02-27 01:26:16 +00:00
Sam Tobin-Hochstadt
2e90dfc081 Re-enable typechecking of auto-language.ss
Add `syntax-e' as a path.
Turn on contracts for objects.
Refactor Noel's additions.
Fix `require/typed' at the REPL.

svn: r18345
2010-02-26 00:25:23 +00:00
Sam Tobin-Hochstadt
33c18b3985 providing static struct information to untyped code works
svn: r18198
2010-02-19 23:27:06 +00:00
Sam Tobin-Hochstadt
1039e68e03 New representation for free variables, now stored in struct.
Interning now merely used to create key, eq? not = for types.

svn: r18107
2010-02-17 00:09:38 +00:00
Sam Tobin-Hochstadt
90c8fcff11 Generate proper contracts for polymorphic struct types.
Document `Nothing'.

svn: r18074
2010-02-12 21:57:58 +00:00
Sam Tobin-Hochstadt
e99b1d028c Fix printing of `Number' - reported by Noel.
Provide `assert' from `typed/scheme'

svn: r18062
2010-02-12 15:49:58 +00:00
Sam Tobin-Hochstadt
2276cb10d5 Fix subtyping for keywords.
svn: r18025
2010-02-08 23:03:55 +00:00
Sam Tobin-Hochstadt
55a48ca594 Fix a number of bugs reported by eli
svn: r18017
2010-02-08 18:17:15 +00:00
Eli Barzilay
c88a5a6856 A bunch of additional typos
svn: r17976
2010-02-05 03:21:52 +00:00
Sam Tobin-Hochstadt
318833f422 Add supertypes for mutable types, so that predicates work correctly.
svn: r17971
2010-02-04 23:39:15 +00:00
Sam Tobin-Hochstadt
492cab22cb fix some contract errors 2010-02-03 11:44:10 -05:00
Sam Tobin-Hochstadt
1e6aaf5928 new files 2010-02-02 20:42:53 -05:00
Sam Tobin-Hochstadt
536b94c305 new branch 2010-02-02 20:42:22 -05:00
Sam Tobin-Hochstadt
5e1b355e32 Syntax for predicates with non-empty paths
svn: r17660
2010-01-14 23:17:56 +00:00
Sam Tobin-Hochstadt
91629fd31a Reject some cases of nested types.
svn: r17619
2010-01-12 20:36:30 +00:00
Sam Tobin-Hochstadt
81e963bd46 `reverse' is special on all tuples
svn: r17612
2010-01-11 22:13:22 +00:00
Sam Tobin-Hochstadt
4fa4f6fd2d Propogate expected type through `reverse'.
New loop special case for `for/list'.

svn: r17609
2010-01-11 20:48:26 +00:00
Sam Tobin-Hochstadt
f13453e889 `andmap' now works as a predicate in Typed Scheme
svn: r17575
2010-01-08 19:05:58 +00:00
Sam Tobin-Hochstadt
d0c8a19ce8 Fix abstraction of implications.
Fix contract for lookup-typed/lexical.
Default cases for printing.
Abstract out indexing functions for Nat/Integer split.

svn: r17272
2009-12-11 23:00:37 +00:00
Sam Tobin-Hochstadt
dde2c1fb18 fix sorting
svn: r17270
2009-12-11 17:09:51 +00:00
Sam Tobin-Hochstadt
791ec55787 fixes
svn: r17265
2009-12-11 00:25:59 +00:00
Sam Tobin-Hochstadt
92dbf99965 logic works properly now, it seems
svn: r17264
2009-12-10 23:35:28 +00:00
Sam Tobin-Hochstadt
16c152e5a4 revert all of the interning changes since they didn't work
svn: r17262
2009-12-10 17:15:17 +00:00
Sam Tobin-Hochstadt
e3bafbe298 checkpoint
svn: r17054
2009-11-25 02:30:41 +00:00
Sam Tobin-Hochstadt
750c971d07 checkpoint
svn: r16931
2009-11-21 00:11:37 +00:00
Sam Tobin-Hochstadt
6497745560 Skip backup files in tests.
More specific numeric types.
More subtyping relationships.

svn: r16922
2009-11-20 15:20:23 +00:00
Sam Tobin-Hochstadt
1da2c7cd7d many fixes
svn: r16913
2009-11-20 03:56:57 +00:00
Sam Tobin-Hochstadt
111b71c844 checkpoint
svn: r16908
2009-11-20 00:06:32 +00:00
Sam Tobin-Hochstadt
fb29a2498e Move a bunch of functions from typed-scheme/utils/utils to unstable.
Add convenience lib for unstable docs.
Add char support to format-{id,symbol}
Add unstable/sequence library.

svn: r16789
2009-11-15 22:15:29 +00:00
Sam Tobin-Hochstadt
a5849fb05a Better error message for inference with keywords.
Do inference when loop is unannotated, even when argument are.
Don't infer for ((lambda when vars are annotated.
Make promise contracts work.
Fix types of min, max, port->lines, subbytes,  bytes-length, bytes, bytes-ref

svn: r16397
2009-10-21 13:30:03 +00:00
Sam Tobin-Hochstadt
6a83901a8b Don't error for branches with wrong number of results where return type is Bot.
Allow case-lambda to be subtype of equiv union type.
Add types for path?, fold-files, assert

svn: r16357
2009-10-18 01:10:00 +00:00
Sam Tobin-Hochstadt
96f664354d Elimintate printing of complex filters.
Allow parsing of ...* and ...a
Parameter for printing ...* and ...a

svn: r16225
2009-10-02 20:41:56 +00:00