Eric Dobson
e01a695021
Add README.
...
original commit: 3d769c2df13eb82d655e4c352e00efbe281f03b3
2014-01-13 21:01:16 -08:00
Eric Dobson
efab0bb5ef
Move contract conversion into the old file.
...
original commit: 6f56948cff75dd4497b742ae01cd5df18c654e6f
2014-01-13 21:01:16 -08:00
Eric Dobson
ba6a68d2b0
Enable static contract optimization.
...
original commit: 97cd169e800d9be1b256e0423ab6b7e2c42089b2
2014-01-13 21:01:16 -08:00
Eric Dobson
5a2d6f9c6b
Make version of TR that builds new contracts.
...
original commit: eb03d5c298ef77bc9e382f8a6d1bfc891ad5c076
2014-01-13 21:01:15 -08:00
Eric Dobson
e832c436e5
Moved static-contract tests to TR test directory.
...
original commit: ae9a8c9f25e50d530ad13a6d9bd6b01b9cd4ff4b
2014-01-13 21:01:15 -08:00
Eric Dobson
e83c805771
Put static contracts in main repo.
...
original commit: 43ce10b5fed9b145eb60e26de832811781ae5889
2014-01-13 21:01:15 -08:00
Asumu Takikawa
308680c98f
Replace chomp
with string-trim
, delete former
...
original commit: 8f461f9f88ec748a0b456c605efd285c8e292663
2014-01-13 17:34:03 -05:00
Asumu Takikawa
c5721f2c71
Fix printer tests when run individually
...
These tests worked in the harness but broke when run
outside of the harness.
original commit: 820a297801f1dccb6130ca55073fb04d595133f7
2014-01-13 16:56:07 -05:00
Asumu Takikawa
2d99b93e3f
Remove unnecessary printing parameter in TR
...
Pretty printing makes this unnecessary
original commit: 872dbd6160c568f44a80f154f838b2c4a4c8f938
2014-01-13 16:41:14 -05:00
Asumu Takikawa
b68b5bdd17
Add type printer tests
...
original commit: 4c5e188ca411f5753bf6cfa2c0d8101b96231c0a
2014-01-13 15:30:38 -05:00
Asumu Takikawa
e640308b0e
Use type pretty-printing in TR messages
...
Closes PR 11271
original commit: 130f6673903b72a7813c357405acb85ee886dc37
2014-01-13 15:30:38 -05:00
Asumu Takikawa
ee191531e6
Add pretty-printing capability for TR types
...
- Internally convert types to s-expressions before printing
- Pretty print based on s-expression representation
original commit: 60ea93a264022f4cca72173c930b9c8bfe3e39bf
2014-01-13 15:30:38 -05:00
Asumu Takikawa
69df7f2664
Move chomp
function into its own util file
...
original commit: 4d448785cd3a256dccb5b84a59170a2b4dd0b41c
2014-01-13 15:30:38 -05:00
Eric Dobson
7c00a7d443
Fix unary / optimizations.
...
original commit: aa3505d9374b48d6d273c141c178d760d2629871
2014-01-13 09:34:40 -08:00
Eric Dobson
63a1f89025
Fix bindings of unboxed complex float functions.
...
Closes PR 12475.
Closes PR 14284.
original commit: c60b31f0d19ef2a37adb654b0e5fa9178ce62f4d
2014-01-13 09:34:40 -08:00
Asumu Takikawa
63a8793faa
Make kw-subtypes* consistent with s and t ordering
...
Subtyping functions should take the lower type s
first and upper type t second
original commit: cb885b3b55c932f95098413906d6cf3186a4befd
2014-01-13 11:36:55 -05:00
Asumu Takikawa
905d355065
Fix subtyping for keyword function types
...
Closes PR 14252
Closes PR 14257
original commit: 0efd90f846913d87aba53d9d73483960a98e63a8
2014-01-13 11:36:55 -05:00
Asumu Takikawa
5e75b2c945
Add "when to add type annotations?" to TR Guide
...
Based on a discussion from PR 14244
original commit: d202f415d95ff04e295be101db59402489dc9bfa
2014-01-12 23:11:01 -05:00
Eric Dobson
90d9b12f26
Ensure that we coerce to double flonums.
...
original commit: 2076199838a8de2527ba241ef8e564ae5cfd385a
2014-01-12 13:22:14 -08:00
Eric Dobson
9ae20f77b8
Add new known bug.
...
original commit: 7c945d36c06589cf93e68c6f633c50749cb7efa4
2014-01-12 13:21:13 -08:00
Eric Dobson
24eac377cd
Mark TR exp bug as fixed.
...
original commit: 97158e9e6f56e81044523064b3ec292505c5f41e
2014-01-12 12:54:00 -08:00
Eric Dobson
9634b1c8a8
Fixup anyvalue handling in call-with-values.
...
Closes PR 14214.
original commit: 960da4579a66aa0090dbf5ef5db35f052ec5e824
2014-01-12 09:50:50 -08:00
Eric Dobson
8ebfb53cd2
Reduce duplication in init-env code and clean up its interface.
...
original commit: 695f73bad765be104296bda63ebb9dbdea5d6b6a
2014-01-12 09:46:22 -08:00
Eric Dobson
0e57618c26
Improve compile-omit-paths for typed-racket tests.
...
original commit: ceb819a67b5ddce4a1e584f2e36f6035e6d7efaa
2014-01-11 12:30:01 -08:00
Eric Dobson
3163c4e204
Make tests have better names and remove duplicates.
...
original commit: 775dd1509de40971935a9a70ca3ad8b59037fc8e
2014-01-11 12:30:01 -08:00
Eric Dobson
efcca72de7
Simplify special-env-typecheck-tests and give them better names.
...
original commit: 0e8cf664f4b91a210ca695ba604fd9a043b5c8e4
2014-01-11 12:30:00 -08:00
Eric Dobson
97fbd7827e
Make tr unit tests not run TR printer on test creation.
...
This makes it so that only running a subset of the tests is faster.
original commit: ffe0aa4a5d8ca80696dac6db0a6e7c508174ac40
2014-01-11 12:30:00 -08:00
Eric Dobson
fd0d7b1289
Make interactive tests faster and support fresh namespaces.
...
Cuts off about 5-10% of unit test time.
Reuse existing module registry that is shared with all the other tests.
Fresh namespaces means that changes in one test do not affect other
tests.
Only bring in typed/racket/base so that it loads faster.
original commit: 7a1ca9f124fc18024cae03148c6ec4f38c85babe
2014-01-11 12:30:00 -08:00
Asumu Takikawa
ef0bf27e82
Fix broken TR test
...
Sorry, forgot to merge this into commit
892887b before pushing the last set of changes.
original commit: 4b248de215310ca96dacd7b52f8389989638e917
2014-01-07 14:33:49 -05:00
Asumu Takikawa
a93c922261
Add documentation for struct-type types
...
original commit: b7974ec3c25cfcbab60a0de6be31ea5a3c811612
2014-01-07 13:53:16 -05:00
Asumu Takikawa
55d25d738e
Add tests for struct-type types
...
original commit: 892887ba71bd0bba1ea8a65195ffc4497afd2a3d
2014-01-07 13:53:16 -05:00
Asumu Takikawa
9f247a39ca
Improve base types for struct-type operations
...
original commit: 2bfa5ea4ea476f6ee65d6e3ff5321a327a5a6ba8
2014-01-07 13:53:16 -05:00
Asumu Takikawa
c8301ad185
Refine handling of types for struct-types
...
- Added a top type for struct-types
- Print struct-type types consistently
- Add support for parsing struct-types
- Allow polymorphism within a Struct-Type
original commit: ae80c216c3438c7bb208788ab99ed890263a80e5
2014-01-07 13:39:39 -05:00
Asumu Takikawa
4596f5c455
Add types for syntax/stx
as typed/syntax/stx
...
original commit: 878b67a4a6a177ac609fad8e7732b636dc02d5fd
2014-01-07 13:37:46 -05:00
Asumu Takikawa
a59ae821df
Add a #lang for additional base type environments
...
These are for base type environments that get required
rather than loaded with #lang typed/racket.
original commit: 91a1ff262bc42cb3ca5ccfbcdc85c7a592a54bc7
2014-01-07 13:37:46 -05:00
Asumu Takikawa
f120a5c1fb
Convert check-below.rkt error msgs to new format
...
original commit: 6e36795523a356a21375c340e5b683db23e1ae71
2014-01-07 12:06:09 -05:00
Asumu Takikawa
6529989f1b
Add TR helpers for new Racket error notation
...
original commit: 0488ce9e0bc9c59bfb165bb8bdbe6132447db627
2014-01-07 12:06:09 -05:00
Eric Dobson
60051104ea
Make parse type and type annotation tests run at the right phase.
...
original commit: c97ce693f3fd176a0c53cadb116e5a22801dcc6c
2014-01-06 08:47:04 -08:00
Eric Dobson
fc4e260d51
Make expanded syntax visible in test failures to aid debugging.
...
original commit: 4518ad855f4d8908fff6d65b8e7fbf5d84eed0d0
2014-01-06 08:47:04 -08:00
Eric Dobson
306a8b4e7b
Make test files have mains that run the test case defined in them.
...
original commit: 6bf7c4efd4c513c8143806f9f578ce1ba44010cd
2014-01-06 08:47:04 -08:00
Eric Dobson
7eb3ef16ef
Making test suite files all meet a standard interface.
...
All test suite files now export one identifier with the name 'tests'.
This allows for them to be treated the same across the test
infrastructure.
original commit: 14c340a77bc3d35dc3edc489b0ff01719bcf31e7
2014-01-06 08:47:03 -08:00
Eric Dobson
1ddfb446c2
Make special env typecheck tests not run the code at module initialization.
...
original commit: 4e42a328e30ac34fb99654099335c7c8878ab05d
2014-01-06 08:47:03 -08:00
Eric Dobson
2aa14bc37f
Make typechecking do the standard inits.
...
original commit: 3aa5c18d1197ec8e03923548f24eff55f0a58df0
2014-01-06 08:47:03 -08:00
Eric Dobson
09d380fdbf
Remove unecessary lambda wrapper around test suites.
...
original commit: df892c9439b9dc367d6793aabde97c50dd24a92b
2014-01-06 08:47:03 -08:00
Eric Dobson
c15c31d8bf
Removal of define-go.
...
original commit: 2b44814e95acaf600d3ebe66f44ea381642207de
2014-01-06 08:47:02 -08:00
Eric Dobson
2dad54d7ca
Small style changes and removal of dead code.
...
Also adds a test to contract tests.
original commit: 20821f9ae8fcf8c849bcfb764d210eb8e392f131
2014-01-06 08:46:32 -08:00
Eric Dobson
cc6ff2d0b7
Clean up infer-tests.
...
original commit: b98eb0bc78fd596da509d7b02e88f4c303578c50
2014-01-06 08:42:59 -08:00
Eric Dobson
27f4a90c21
Add new functions to evaluator.
...
original commit: 7da97dca3cc8f7d7736199ad523787f23de026bd
2014-01-06 08:42:59 -08:00
Eric Dobson
8c1ad3550e
Make evaluator a separate file.
...
original commit: 97dba9b99a1dae3ac05fec94f99ffdf507cff152
2014-01-06 08:42:59 -08:00
Asumu Takikawa
a6f6a5cf43
Document alternative type annotation form
...
original commit: 79ffd87a67f056b00f2531f0efa5e4ea1e7fa224
2014-01-04 17:30:48 -05:00