Sam Tobin-Hochstadt
|
50f93b9ed7
|
More environment refactoring.
- rationalize naming of files
- split files by env constructed
|
2010-06-21 18:29:55 -04:00 |
|
Sam Tobin-Hochstadt
|
7e9763cf14
|
Stratify environments to only include props when needed.
|
2010-06-21 18:29:54 -04:00 |
|
Sam Tobin-Hochstadt
|
647c4eef59
|
Refactor environments.
- mapping stored as dict
- use id tables for identifiers
- use env-filter instead of filter
- eliminate spurious use of conses
|
2010-06-21 18:29:54 -04:00 |
|
Sam Tobin-Hochstadt
|
4925e7e51f
|
Refactor provide handling.
- use id-tables instead of lists
- smarter iteration
- prepare for eliminating declarations when not needed, but don't do it yet
|
2010-06-21 15:42:52 -04:00 |
|
Stevie Strickland
|
0aae2c866f
|
Fix use of add-type-expr from commit 5d835ded .
|
2010-06-19 14:58:52 -04:00 |
|
Sam Tobin-Hochstadt
|
1e15ce1f32
|
Fix error message for 1-arg apply
|
2010-06-19 14:58:52 -04:00 |
|
Vincent St-Amour
|
1e2c50ec24
|
Fix to make-vector's type.
|
2010-06-18 20:24:17 -04:00 |
|
Vincent St-Amour
|
5e901b9ef2
|
The optimizer now promotes integers to floats when they are used as
arguments to a function whose result is a float.
|
2010-06-18 17:43:05 -04:00 |
|
Vincent St-Amour
|
5d835ded47
|
Added the type of the 1 literals in expressions of the form (- x 1) to
the type table.
|
2010-06-18 17:43:05 -04:00 |
|
Vincent St-Amour
|
ecb614849c
|
Added type signatures for some byte-string functions.
|
2010-06-18 17:43:03 -04:00 |
|
Vincent St-Amour
|
60c3067ddb
|
Turned indexing back to using integers rather than naturals.
|
2010-06-18 17:43:02 -04:00 |
|
Vincent St-Amour
|
b39f686e7e
|
Fixed the type of unsafe-car and unsafe-cdr.
|
2010-06-17 19:06:24 -04:00 |
|
Vincent St-Amour
|
07c1f1e94f
|
Added types for some bitwise operations.
|
2010-06-17 19:06:24 -04:00 |
|
Vincent St-Amour
|
cc796a9f9a
|
Added types for thread mailbox operations.
Can't have typed mailboxes, though.
|
2010-06-17 18:45:28 -04:00 |
|
Vincent St-Amour
|
c4e035dd67
|
Got rid of a reference to the non-existent channel/c.
|
2010-06-17 18:45:28 -04:00 |
|
Sam Tobin-Hochstadt
|
02238a7c6d
|
Fix contract for structs
|
2010-06-17 15:26:13 -04:00 |
|
Sam Tobin-Hochstadt
|
0262ef681a
|
handle multiple body expression properly
|
2010-06-17 12:50:30 -04:00 |
|
Sam Tobin-Hochstadt
|
77e4bbb5eb
|
base-types-new -> base-types
|
2010-06-17 11:47:16 -04:00 |
|
Sam Tobin-Hochstadt
|
bdbb6d48e6
|
Try harder to find types for loop variables.
- use `find-annotation' more
- recognize (let ([x y]) ...)
|
2010-06-17 11:26:33 -04:00 |
|
Vincent St-Amour
|
a31a7b0718
|
Added mutable lists to Typed Scheme.
|
2010-06-16 12:49:01 -04:00 |
|
Vincent St-Amour
|
bb0747f589
|
Rewrote the indexing code.
|
2010-06-16 12:49:00 -04:00 |
|
Vincent St-Amour
|
9959f05054
|
Moved some indexing functions' type signatures.
|
2010-06-16 12:48:59 -04:00 |
|
Vincent St-Amour
|
8dfd7d87ec
|
Reimplemented assert as a macro.
|
2010-06-15 16:39:33 -04:00 |
|
Sam Tobin-Hochstadt
|
4cc86cc8c8
|
set-mc[ad]r!, inference, printing, tests for mpairs
|
2010-06-15 16:10:16 -04:00 |
|
Sam Tobin-Hochstadt
|
913179f2ed
|
types for basic mpair ops
|
2010-06-15 15:58:37 -04:00 |
|
Sam Tobin-Hochstadt
|
f73d63e1af
|
eq? is a predicate for eof
|
2010-06-15 14:59:08 -04:00 |
|
Sam Tobin-Hochstadt
|
b644ec7be4
|
fix types of `read' functions
|
2010-06-14 17:35:05 -04:00 |
|
Sam Tobin-Hochstadt
|
81f262c7ca
|
Type for `curry'.
Closes PR 10956
|
2010-06-14 08:24:43 -04:00 |
|
Sam Tobin-Hochstadt
|
cf5c74a2ca
|
Generate -> instead of ->* when required by case->.
Closes PR 10977.
|
2010-06-13 15:01:57 -04:00 |
|
Sam Tobin-Hochstadt
|
d4d286d31d
|
Allow (All (A) A -> A), dropping pair of parens.
|
2010-06-13 14:38:03 -04:00 |
|
Sam Tobin-Hochstadt
|
408d9adb5a
|
add \rightarrow as alias for ->
|
2010-06-13 14:35:05 -04:00 |
|
Sam Tobin-Hochstadt
|
c2ac8046c4
|
Fix grammar for rest args in lambda:.
Closes PR 10976
|
2010-06-13 14:34:16 -04:00 |
|
Eric Dobson
|
90f015408c
|
Added some stuff to typed scheme, mostly port and character functions.
|
2010-06-13 08:20:49 -04:00 |
|
Vincent St-Amour
|
c9a96c1d2c
|
Added some closure and promotion type signatures.
|
2010-06-11 20:55:47 -04:00 |
|
Vincent St-Amour
|
aae1acf035
|
Fixed a bug in the optimizer that made it optimize where it
shouldn't have.
|
2010-06-11 20:53:10 -04:00 |
|
Vincent St-Amour
|
a4c556bc85
|
Made Typed Scheme's optimizer silent.
|
2010-06-11 20:53:09 -04:00 |
|
Vincent St-Amour
|
de0d9a27dc
|
Fixed string-copy!'s type signature.
|
2010-06-11 19:48:23 -04:00 |
|
Vincent St-Amour
|
96c541912c
|
Fixed a bug with eof and procedure types overlapping.
|
2010-06-11 19:48:22 -04:00 |
|
Sam Tobin-Hochstadt
|
1cff0a1f85
|
Actually typecheck actuals even when there's a type annotation.
|
2010-06-11 19:35:56 -04:00 |
|
Sam Tobin-Hochstadt
|
7ece2a4872
|
Fix type of `zero?' to properly handle 0.0.
|
2010-06-11 18:54:05 -04:00 |
|
Sam Tobin-Hochstadt
|
7c32898cb2
|
Print names using the name, ignoring aliases.
|
2010-06-11 17:48:37 -04:00 |
|
Sam Tobin-Hochstadt
|
fd1b20c93d
|
Fix optimizer for refactoring.
|
2010-06-11 14:21:42 -04:00 |
|
Sam Tobin-Hochstadt
|
4f2952f4b9
|
minor refactorings
|
2010-06-11 11:55:21 -04:00 |
|
Sam Tobin-Hochstadt
|
5f069ed4bb
|
Refactor #%module-begin and #%top-interaction for Typed Scheme.
|
2010-06-11 11:55:21 -04:00 |
|
Sam Tobin-Hochstadt
|
490361c0fc
|
Add types for a few more values.
|
2010-06-10 18:58:44 -04:00 |
|
Sam Tobin-Hochstadt
|
0379e534e3
|
New interface for unstable/mutated-vars
- functional hash tables
- fix clients
|
2010-06-10 13:28:29 -04:00 |
|
Sam Tobin-Hochstadt
|
0149a05719
|
Fix promise printing, add docs. Closes PR 10968.
|
2010-06-09 16:56:31 -04:00 |
|
Sam Tobin-Hochstadt
|
3151566125
|
Improve TS reference docs
- lots of examples
- reorganize type listing
- add Zero type
|
2010-06-09 15:44:46 -04:00 |
|
Vincent St-Amour
|
436e001b0e
|
Fixed the implementation of Channel types.
|
2010-06-09 15:28:10 -04:00 |
|
Vincent St-Amour
|
2fd1e3ac9f
|
Modified the numeric base type environment.
|
2010-06-09 14:54:39 -04:00 |
|