Commit Graph

390 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
2681178ffc Avoid requiring old base-types.
original commit: 9701ae0065dbc54f36059b20a78a917a20ae18e5
2010-05-27 10:56:18 -04:00
Sam Tobin-Hochstadt
b1e9e9ea82 Better type for `round'.
original commit: 40c77586a059efc6a09a6ef0bdf73a35808f24b0
2010-05-27 10:10:26 -04:00
Vincent St-Amour
c7db08fcf7 Typed Scheme's optimizer now recognizes specialized (safe) float
operations.

original commit: e3b994abfffb0ebc3a5460a0a8730441875ebbb1
2010-05-26 19:48:30 -04:00
Vincent St-Amour
3e3b203726 Fixed a bug in typed Scheme's optimizer when using binary arithmetic
operators in a unary fashion with floats.

original commit: 762f108c04b78f14d851b6b93b5bf0c873658399
2010-05-26 19:48:30 -04:00
Vincent St-Amour
1bd4bf1e82 Extended the type signatures of bitwise operations to be closed on naturals.
original commit: 664ef2c0a3bb478634591b596f2473f249095e4f
2010-05-26 19:48:29 -04:00
Vincent St-Amour
312671d85d Added the for:, for/list:, etc macros.
original commit: 5213f54f56e6d9d1a14b16fd0348495a20a648e9
2010-05-26 19:48:15 -04:00
Vincent St-Amour
3bbf39b86a Rewrote do: to expand into do.
original commit: 23f30af459b4157c87b62dff535cdd0b7eb46927
2010-05-26 19:20:32 -04:00
Sam Tobin-Hochstadt
987521b9eb Check that at least one require spec is provided.
Closes PR 10617.
 Merge to v5.0.

original commit: 27e971dce20634fa6be551fecd64e639fbd909aa
2010-05-24 22:33:31 -07:00
Sam Tobin-Hochstadt
7692d06741 Fix parsing of All on RHS of ->
original commit: f320d36e9c7fc2698d1becff28511dd8413430da
2010-05-24 13:26:29 -07:00
Sam Tobin-Hochstadt
3a0485de2b Improve type of count and vector-count.
original commit: 601e693b01e3091612c3690d834becd0a83d69fb
2010-05-22 18:07:50 -04:00
Vincent St-Amour
8a00140b63 Fixed a bug with Typed Scheme's do: with no finish-expr.
Include in 5.0 release.

original commit: fece1f6d03caea796b99921f1979a652e1a6b97c
2010-05-21 19:31:43 -04:00
Vincent St-Amour
00444e8b41 Extended the type signatures of trigonometric operations.
Include in 5.0 release.

original commit: 88dc30aa3c1fcc0707a440aa9e9558d0e1764bb5
2010-05-21 19:31:42 -04:00
Sam Tobin-Hochstadt
5a0e07e296 More precise types for: truncate, floor ceiling
original commit: 230f1a59c6bb51bf69c1651cadb3a77868bcbef5
2010-05-21 10:41:24 -04:00
Vincent St-Amour
d27153b74c Added logging to typed Scheme's optimizer.
original commit: 3e757d0fb199d0cd565d2c094584a737be00942f
2010-05-19 13:10:37 -04:00
Vincent St-Amour
e78937195c Extended the typed Scheme optimizer to handle all the core forms.
original commit: 7adedacf2b6acb1c8cea34aae4e8e12009141adf
2010-05-19 13:10:37 -04:00
Vincent St-Amour
a781b50533 Extended typed Scheme's optimizer to traverse more forms.
original commit: b543177868f97a7cfe0bdf57f555da4d580ef726
2010-05-19 13:10:37 -04:00
Vincent St-Amour
1f7ab8285d Typed Scheme's optimizer can now generate unsafe car and cdr.
original commit: f2edae0e9a42e0bdb5c53224a3525edc8a6fd4d7
2010-05-19 13:10:37 -04:00
Vincent St-Amour
40360c095e Added some special cases to type signatures for pair accessors.
original commit: f77e4eeb418ffc1a626d40b97e56d1cfbac6c47d
2010-05-19 13:10:36 -04:00
Vincent St-Amour
3ba7e83662 Fixed a typo in typed Scheme's base env.
original commit: eb95b35a12e886f6678f62f69990b4553684680c
2010-05-19 13:10:36 -04:00
Vincent St-Amour
e381611808 Added type signatures to more pair accessors in typed Scheme's base env.
original commit: 849ee86c855999daf91947bd26fadb4e296dfaa3
2010-05-19 13:10:36 -04:00
Vincent St-Amour
548e080a03 Added type signatures for caar and some others to typed Scheme's base env.
original commit: b64fb126f652a239404413db2db87c239db9b967
2010-05-19 13:10:35 -04:00
Sam Tobin-Hochstadt
87ff7915f6 Documentation for heterogenous vectors.
Closes PR 10291.

original commit: 756bcc8a5e6509b2729ecfb5a20fed448224381f
2010-05-19 11:08:28 -05:00
Sam Tobin-Hochstadt
eb9f6a9916 Better type annotation support.
- Delay more errors for additional reporting.
 - Don't re-check expressions that were checked for inference.
 Closes PR 10098.

original commit: 638245e4c52f6bdaba7d62ac3d88a24462a09ace
2010-05-19 10:10:54 -05:00
Sam Tobin-Hochstadt
29cd6cac2f Fix repeated type ascription.
original commit: d2a1470ea51b5ca55656833f95dacd5ae7ba1285
2010-05-17 16:20:44 -05:00
Sam Tobin-Hochstadt
6f16d9e2d6 more sensible version of het vectors.
add vector-length, vector-set!

original commit: 7ac925695fadf3c8af20b2d65037c8bc6310f9b4
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
2fdcb1ef9a mostly done with heterogenous vectors
original commit: 2c03f2223b55483bc02d66946097ed17e63529f3
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
d1153d23e0 more lost changes
original commit: daf43d1702800a47210489080f47a1bc14386ace
2010-05-12 17:25:53 -04:00
Sam Tobin-Hochstadt
35a4584929 re-add bindings lost in merge
original commit: 70d498beeb438e871c7d9b140584fc0d581af4ae
2010-05-12 17:22:13 -04:00
Sam Tobin-Hochstadt
620fb6182a debugging
original commit: dbe9a0f997461f209c6893479b2fe76f9c0384e0
2010-05-12 17:06:04 -04:00
Sam Tobin-Hochstadt
da5bdb841a switch to typed/
original commit: 5a8fac0bdf9f4a93d2407c309c7c7110d5c029b3
2010-05-12 11:52:11 -04:00
Sam Tobin-Hochstadt
5cb9ec4f09 add #:optimize keyword
original commit: a6e314d367062858e1bf23027638c8ee66ff31ea
2010-05-10 17:32:53 -04:00
Sam Tobin-Hochstadt
80e644c20d produce the correct type
original commit: 62af50867a825aab3572a442276921b205180a3a
2010-05-05 17:50:20 -04:00
Sam Tobin-Hochstadt
153a5db15b Remove unnecessary requires which caused bizarre errors
original commit: ad537cce84c9c0f16183563419512c67ad1d9ccc
2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
11ae3af9b3 add type for 2-arg `atan'
original commit: 9ab4887e580d17d756e70642168c8c2171b92df1
2010-05-04 19:47:37 -04:00
Ryan Culpepper
5f732f0a0a syntax/parse: literals, literal-sets, and phases (todo: docs)
typed-scheme: added missing import for literal

original commit: eff9147ddcf6b8fefb51cb1753ae678c2ac8f0ae
2010-05-04 14:12:49 -06:00
Sam Tobin-Hochstadt
419307edd1 add some vector functions
original commit: 105a560698dfa979ab592ceb3c443e9425f2c956
2010-05-03 18:13:12 -04:00
Sam Tobin-Hochstadt
60812be652 fix PR 10868
original commit: 8c22099aec99b15867cbf47bff5f6998e5cab988
2010-05-03 13:07:30 -04:00
Sam Tobin-Hochstadt
59971400af change error message for `define:' (fixes PR 10883)
original commit: 55929072bb5b8cb35a113678690418fde048390d
2010-05-03 11:35:30 -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
8c25785856 fix asym pred not to use identifiers
original commit: 3311b2bb3a888d0d7f30f64fdd53667f1d464be6
2010-04-22 18:27:08 -04:00
Sam Tobin-Hochstadt
88ae88c901 everything but or and implies works
original commit: 0804e64695ab0d04a8db1d1f95e1fc8f14b32217
2010-04-21 18:13:13 -04:00
Matthew Flatt
7f3cf8a3ef move most of the 'scheme' collection to the 'racket' collection
original commit: c95a39875453e7f057395a7bf626e5d2ed732e7e
2010-04-20 15:24:48 -06: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
Noel Welsh
707dae25ca Add type definition for unsafe-vector*-ref and unsafe-vector*-length, which have recently been introduced, and a test case for in-vector (which uses the above).
svn: r18667

original commit: cfab7a8d97c62814973a8b0e74089233873a896e
2010-03-30 13:33:45 +00: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
Noel Welsh
501766dde0 Add types for most of Byte and String Output (Section 12.3 of the Reference). Only functions that need an Event type (i.e. matching evt?) are missing. They are commented out as a placeholder for future additions.
svn: r18628

original commit: 302555cf0154206242d6f72f1a5572f76a16f536
2010-03-26 14:48:33 +00:00
Noel Welsh
e1072ebb22 Add the fx to fl conversion functions to Typed Scheme
Add tests for flonum operations to Typed Scheme test suite

Fix the compiler bug tests above uncovered

svn: r18609

original commit: af84b331a13c53709eaba9f0faf7af0c64a000a1
2010-03-24 13:18:37 +00:00
Noel Welsh
f18f8b8bf1 Add the full suite of fl and unsafe-fl operations to Typed Scheme
Correct an error in documentation of flmin and flmax -- they were documented as taking a single argument when in fact they take two.

svn: r18604

original commit: 7c552421792a3f91a504fefefa9e77768180b9d0
2010-03-23 12:24:50 +00:00