Commit Graph

49 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
0ae5843f11 Add unstable/match with == match expander.
Add 'match expander' tech def.

svn: r16814
2009-11-16 16:58:11 +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
Eli Barzilay
44d88cee6b newlines at EOFs
svn: r16630
2009-11-09 03:49:50 +00:00
Ryan Culpepper
7483b7ed20 unstable:
added struct and syntax libraries

svn: r16621
2009-11-08 19:20:53 +00:00
Ryan Culpepper
987ab4c5e8 removed old stxclass collection
Please apply to release branch.

svn: r16047
2009-09-17 16:11:20 +00:00
Sam Tobin-Hochstadt
ed65dacdcd fix uses of syntax-parse attributes
svn: r15984
2009-09-11 22:49:56 +00:00
Sam Tobin-Hochstadt
417b9d16e0 use splicing-syntax-class
svn: r15981
2009-09-11 21:17:42 +00:00
Sam Tobin-Hochstadt
8001ab7fb0 Simplify a syntax class
svn: r15977
2009-09-11 19:19:41 +00:00
Sam Tobin-Hochstadt
eda69b472a Remove almost all uses of `stxclass' library.
svn: r15944
2009-09-09 21:24:05 +00:00
Sam Tobin-Hochstadt
63d318fd4b 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
2009-09-08 19:51:34 +00:00
Sam Tobin-Hochstadt
5b79cd7c0c Use let/ec instead of let/cc
let/ec: and let/cc:
type for call-with-current-continuation
Start on ImpFilters

svn: r15220
2009-06-19 18:01:33 +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
Sam Tobin-Hochstadt
7d239a4dfa 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
2009-05-22 21:41:12 +00:00
Sam Tobin-Hochstadt
19c4aa6ba4 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
2009-05-20 18:35:59 +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
5300481176 Move `hashof' contract combinator to utils/utils.ss
Fix frees for arr to use `fix-bounds' properly.
Match : symbolically in ->*

svn: r14786
2009-05-12 19:53:48 +00:00
Sam Tobin-Hochstadt
dbe5556b45 Add missing file.
Fix bug in struct type creation.
Add ability to disable printing dynamically.
Fix recursion into objects & paths.

svn: r14747
2009-05-08 19:00:07 +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
1edf62a912 resolve conflicts
svn: r14598
2009-04-24 21:21:06 +00:00
Sam Tobin-Hochstadt
c51dd1e8b0 new version of abstract-filters that handles multiple values/arguments properly
strengthen contracts
improve match expanders

svn: r14057
2009-03-11 19:11:50 +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
9d0ee637c7 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
2009-03-03 23:18:00 +00:00
Sam Tobin-Hochstadt
af3449cf56 more file moving
svn: r13797
2009-02-23 03:02:00 +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
b57c78e0a4 finished implementing printing
svn: r13779
2009-02-21 18:31:23 +00:00
Sam Tobin-Hochstadt
b14da998bf rename printer file
svn: r13778
2009-02-21 18:08:11 +00:00
Sam Tobin-Hochstadt
85de5f27bf checkpoint
svn: r13777
2009-02-21 18:07:07 +00:00
Sam Tobin-Hochstadt
70e174c0e1 Type rep compiles
svn: r13768
2009-02-21 15:23:42 +00:00
Sam Tobin-Hochstadt
0edfd7f31f Finished new representation defs and folding.
New definition of `define-requirer' that doesn't use lib requires.
New `defprinter' syntax.

svn: r13755
2009-02-20 23:35:02 +00:00
Sam Tobin-Hochstadt
428e7c471b checkpoint
svn: r13749
2009-02-19 21:28:41 +00:00
Sam Tobin-Hochstadt
72ff13bea9 new function representation
svn: r13744
2009-02-19 17:39:19 +00:00
Sam Tobin-Hochstadt
e5e0adb499 checkpoint again
svn: r13735
2009-02-19 01:39:11 +00:00
Sam Tobin-Hochstadt
26fe69d9a7 fix some strange stxclass strangeness
svn: r13722
2009-02-18 04:31:28 +00:00
Sam Tobin-Hochstadt
c0861fd39b checkpoint again
svn: r13718
2009-02-18 02:58:47 +00:00
Sam Tobin-Hochstadt
7d5581b06f move
svn: r13716
2009-02-18 01:58:11 +00:00
Sam Tobin-Hochstadt
a8a9af73d8 checkpoint
svn: r13715
2009-02-18 00:28:01 +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
cc1265fc61 Fix contract on App.
Fix function construction for rec-lambda/check
Re-enable printing.

svn: r13687
2009-02-17 01:09:23 +00:00
Sam Tobin-Hochstadt
14475467b2 contracts on types and effects
svn: r13685
2009-02-17 00:43:47 +00:00
Sam Tobin-Hochstadt
345abb820b 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
2009-02-15 04:01:30 +00:00
Sam Tobin-Hochstadt
e198478055 type keys now work, mostly
svn: r13580
2009-02-14 20:27:37 +00:00
Sam Tobin-Hochstadt
e13c4b690d new branch initial commit
svn: r13578
2009-02-14 16:03:25 +00:00
Sam Tobin-Hochstadt
f867eea8c3 take out work on paths, now compiles
svn: r13431
2009-02-04 20:57:28 +00:00
Sam Tobin-Hochstadt
3ab3c8d368 commit work to new branch, doesn't work yet
svn: r13427
2009-02-04 20:19:41 +00:00
Sam Tobin-Hochstadt
477fa5581e Store contract in Base type representation.
Fix tests, pattern matches.
Contract is *ignored* in equality testing.

svn: r12227
2008-11-03 23:58:29 +00:00
Sam Tobin-Hochstadt
3a99284745 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
2008-10-21 18:01:03 +00:00
Eli Barzilay
8d06e0c707 rename holder -> keep
svn: r11932
2008-10-04 19:10:38 +00:00
Sam Tobin-Hochstadt
49c816cfaa Fix call to *Keyword - thanks Matthew.
svn: r11733
2008-09-13 22:47:52 +00:00
Sam Tobin-Hochstadt
5ac64589ba reorg 2008-09-09 17:40:26 -04:00