Sam Tobin-Hochstadt
2fdcb1ef9a
mostly done with heterogenous vectors
...
original commit: 2c03f2223b55483bc02d66946097ed17e63529f3
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
136f0942bd
Descend into path elements.
...
original commit: 6f7e88cfef024c4207d8187c0c9c2a4d0da19875
2010-05-12 17:04:43 -04:00
Sam Tobin-Hochstadt
2addf717a0
rename to rkt
...
original commit: 459a675b90443b59e46bccae476a6f040fa8434d
2010-04-30 09:51:32 -04:00
Matthew Flatt
94184a7671
rename all files .ss -> .rkt
...
original commit: 28b404307793f041bb3363135a2968e283855318
2010-04-27 16:50:15 -06:00
Sam Tobin-Hochstadt
95dfc50d12
fix the fold for Class types
...
original commit: 826eeab7cb2fb738da9b56a8dd02010dc5174e53
2010-04-27 11:39:15 -04:00
Sam Tobin-Hochstadt
8f93f965fc
use the provide infrastructure for arr
...
original commit: 613f02a26637b4658715f8873a195979ec42f3a6
2010-04-20 12:38:00 -04:00
Sam Tobin-Hochstadt
017accf104
Everything now compiles without names
...
original commit: f57ef37a6657ac43848ae09ac20fedbec438db93
2010-04-19 18:42:25 -04:00
Sam Tobin-Hochstadt
b797c59d21
start removing names
...
original commit: df1572231ea34907db23f7c930a19bea7e4e6249
2010-04-19 17:52:10 -04:00
Sam Tobin-Hochstadt
6890aab175
Update structure types to have constructor ids.
...
Use constructor to generate better contracts for poly structs.
original commit: 41e469d7aefd9aab480594caaba62dd7019ec0fd
2010-04-14 15:06:14 -04:00
Sam Tobin-Hochstadt
af7254875a
a new branch of the whole tree
...
svn: r18648
original commit: d4e0c16d55c167dbef9eefac8b4820fbada0f6b1
2010-03-27 14:49:58 +00:00
Sam Tobin-Hochstadt
2f1771b849
Add `define-predicate'
...
svn: r18497
original commit: c24daa5dbb2e4a503e81385620008b70d044f76c
2010-03-10 00:10:03 +00:00
Sam Tobin-Hochstadt
b0a1fde7aa
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
original commit: 78c14e434b7f6dffc6c404d090b449b097e96cfb
2010-03-01 22:31:24 +00:00
Sam Tobin-Hochstadt
56732a6d6e
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
original commit: 2e90dfc081a3160abaa49aff9f535a901999c6a5
2010-02-26 00:25:23 +00:00
Sam Tobin-Hochstadt
b0a08fe0b8
providing static struct information to untyped code works
...
svn: r18198
original commit: 33c18b3985bce1bab5028c67e06eec5335722eb4
2010-02-19 23:27:06 +00:00
Sam Tobin-Hochstadt
5a47ebf0c7
New representation for free variables, now stored in struct.
...
Interning now merely used to create key, eq? not = for types.
svn: r18107
original commit: 1039e68e034196550e4def3e9f0233e6751201ab
2010-02-17 00:09:38 +00:00
Sam Tobin-Hochstadt
a61aef0339
Generate proper contracts for polymorphic struct types.
...
Document `Nothing'.
svn: r18074
original commit: 90c8fcff1194799ed6f522e7554d49571b1f3074
2010-02-12 21:57:58 +00:00
Sam Tobin-Hochstadt
4c1cf6b520
Add supertypes for mutable types, so that predicates work correctly.
...
svn: r17971
original commit: 318833f4226d9249077c772f87ee705ecfd4c617
2010-02-04 23:39:15 +00:00
Sam Tobin-Hochstadt
2669a3269a
Fix abstraction of implications.
...
Fix contract for lookup-typed/lexical.
Default cases for printing.
Abstract out indexing functions for Nat/Integer split.
svn: r17272
original commit: d0c8a19ce84ce1ef674c1c43e69b56ee7e0a63a2
2009-12-11 23:00:37 +00:00
Sam Tobin-Hochstadt
21f9c0ec16
fixes
...
svn: r17265
original commit: 791ec557876881eaeafc29a43b339b7a7d632d84
2009-12-11 00:25:59 +00:00
Sam Tobin-Hochstadt
4741518170
logic works properly now, it seems
...
svn: r17264
original commit: 92dbf999651f54b7efd8167427db9aa2f38512d1
2009-12-10 23:35:28 +00:00
Sam Tobin-Hochstadt
1261ce2cdb
revert all of the interning changes since they didn't work
...
svn: r17262
original commit: 16c152e5a4ca1797f20c127d443e4689e292e55f
2009-12-10 17:15:17 +00:00
Sam Tobin-Hochstadt
b68c553664
checkpoint
...
svn: r17258
original commit: 5767e23d875f1248e23132fe11f5b6b4ffb5cc39
2009-12-10 15:32:17 +00:00
Sam Tobin-Hochstadt
c29e86edca
conversion to contracts for optional keywords
...
svn: r17236
original commit: eae4c140fae6f31fec65a9296a0d3e17d13172d7
2009-12-07 15:34:54 +00:00
Sam Tobin-Hochstadt
445c65e12e
checkpoint
...
svn: r17054
original commit: e3bafbe298688ec0efe47a09254492f93027fa71
2009-11-25 02:30:41 +00:00
Sam Tobin-Hochstadt
e5c1d9e02b
checkpoint
...
svn: r16931
original commit: 750c971d0727b495c55fb090e38d3fb3001d3624
2009-11-21 00:11:37 +00:00
Sam Tobin-Hochstadt
9dbe7c808f
Add unstable/match with == match expander.
...
Add 'match expander' tech def.
svn: r16814
original commit: 0ae5843f1163a247f776b47ac29e38e31664bc03
2009-11-16 16:58:11 +00:00
Sam Tobin-Hochstadt
2c76766c1c
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
original commit: fb29a2498e964c6d7651ca6cc6a19c07ca28760b
2009-11-15 22:15:29 +00:00
Eli Barzilay
33d300977a
newlines at EOFs
...
svn: r16630
original commit: 44d88cee6b13d29d08d5bdd8e9e7681ca70a3765
2009-11-09 03:49:50 +00:00
Ryan Culpepper
845fb67bb5
unstable:
...
added struct and syntax libraries
svn: r16621
original commit: 7483b7ed20c330602fcb9cd6b7ab976470a15b0f
2009-11-08 19:20:53 +00:00
Ryan Culpepper
8eb494615f
removed old stxclass collection
...
Please apply to release branch.
svn: r16047
original commit: 987ab4c5e8c4548b9eb87f6f78c75b6877118065
2009-09-17 16:11:20 +00:00
Sam Tobin-Hochstadt
535ec1720f
fix uses of syntax-parse attributes
...
svn: r15984
original commit: ed65dacdcd2c4c2d2cfe2177865598c97903dfd7
2009-09-11 22:49:56 +00:00
Sam Tobin-Hochstadt
2c3930216b
use splicing-syntax-class
...
svn: r15981
original commit: 417b9d16e097f4944dbefc0d327b91da790c83b0
2009-09-11 21:17:42 +00:00
Sam Tobin-Hochstadt
0333d4f210
Simplify a syntax class
...
svn: r15977
original commit: 8001ab7fb0254cde97a76afb61e1d0a1a5fb786d
2009-09-11 19:19:41 +00:00
Sam Tobin-Hochstadt
8898a34829
Remove almost all uses of `stxclass' library.
...
svn: r15944
original commit: eda69b472ad5de8874ddf99b40f04dea22a9672e
2009-09-09 21:24:05 +00:00
Sam Tobin-Hochstadt
cf872c4e38
New type parser, written using syntax/parse.
...
- uses keywords with bindings
- : macro in separate file so it can be used earlier
- internal function in separate file
FilterSet/c and LatentFilterSet/c contracts
Avoid returning #f when `look-for-in-orig' fails
Add type for unsafe-cdr
svn: r15923
original commit: 63d318fd4b7e7244af10fff21db74f0d09db5006
2009-09-08 19:51:34 +00:00
Sam Tobin-Hochstadt
6d02292d53
Use let/ec instead of let/cc
...
let/ec: and let/cc:
type for call-with-current-continuation
Start on ImpFilters
svn: r15220
original commit: 5b79cd7c0c7ec1298573d15b0c79abd403cdcf58
2009-06-19 18:01:33 +00:00
Sam Tobin-Hochstadt
ab3e94b6e2
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
original commit: 7b82069fa0805e3de16c9a49d6c303789fc75419
2009-06-12 19:04:39 +00:00
Sam Tobin-Hochstadt
136f8c4f80
Instances can have any Type as their class.
...
Fix some handling of tc-results as pertains to classes.
Bottom is an ok Class.
svn: r14938
original commit: 7d239a4dfaa5d44e2bdbb8ebc31b72bbd3f87b61
2009-05-22 21:41:12 +00:00
Sam Tobin-Hochstadt
1265433a2e
Sort unions on re-construction to make contract happy.
...
Use resolve-once more.
Improve `overlap', in particular use keys.
Resolve names and apps before doing structure comparison.
svn: r14884
original commit: 19c4aa6ba450fdbcaf927fd6391987cc4deca69e
2009-05-20 18:35:59 +00:00
Sam Tobin-Hochstadt
077ec2440e
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
original commit: 1047f7625d2dfa53d2896fa44fde732873d86ba4
2009-05-14 18:57:02 +00:00
Sam Tobin-Hochstadt
2c3994544e
Move `hashof' contract combinator to utils/utils.ss
...
Fix frees for arr to use `fix-bounds' properly.
Match : symbolically in ->*
svn: r14786
original commit: 5300481176a6067d1cf561aeb329ecc6d8f0c99f
2009-05-12 19:53:48 +00:00
Sam Tobin-Hochstadt
d2bea2a771
Add missing file.
...
Fix bug in struct type creation.
Add ability to disable printing dynamically.
Fix recursion into objects & paths.
svn: r14747
original commit: dbe5556b45a036e0457dc2f5ae6abcfad31d2947
2009-05-08 19:00:07 +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
ba8d0ff816
resolve conflicts
...
svn: r14598
original commit: 1edf62a912ac0468c2a995043c58826607d645dc
2009-04-24 21:21:06 +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
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
eb77d9debc
Fix name of Type/c
...
Fix fold on Result.
Add comments.
New -struct constructor with opt args.
Fix tests to agree with contracts.
svn: r13934
original commit: 9d0ee637c74b0d7705d7b9fc60ee0712cac6b0f9
2009-03-03 23:18:00 +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
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
d87a63bcf1
finished implementing printing
...
svn: r13779
original commit: b57c78e0a4d97d556e2e94a296c823d7e1ffec36
2009-02-21 18:31:23 +00:00