Commit Graph

33155 Commits

Author SHA1 Message Date
Matthew Flatt
52e2d7b1c9 Makefile: add IF EXISTS guard on del for a Win32 target
Fixes Windows installer builds in a fresh working directory.
2014-05-22 17:52:51 +01:00
Robby Findler
37a4a9ada6 adjust box/c to use the val-first-projection protocol 2014-05-21 23:42:49 -05:00
Robby Findler
1f1d1a38aa minor cleanups to contract-random-generate's API 2014-05-21 12:10:45 -05:00
Eric Dobson
42acb08399 Make unfold use typecase instead of subst. 2014-05-21 09:39:56 -07:00
Jay McCarthy
aaa892646a Add section on separate compilation to reference 2014-05-21 10:14:21 -06:00
Robby Findler
dd0f0b6141 add -z flag
for zeroing out the margins when printing a slideshow
2014-05-21 10:49:49 -05:00
Matthew Flatt
dfeba12997 MzCOM: avoid the ATL framework
Building MzCOM without ATL means that Visual Studio Express --- or
other free compilers, in principle --- can build MzCOM. It also cleans
up and simplifies the build.

The non-ATL implementation is based on "Com in Plain C" by
Jeff Glatt, and uses a lot of his code (with instructive
comments intact).
2014-05-21 08:58:33 +01:00
Matthew Flatt
165bae6c2c repair and streamline VS 2008 projects 2014-05-21 08:51:37 +01:00
Eric Dobson
895ab035d2 Remove unused variable in constraint struct. 2014-05-20 20:57:43 -07:00
Eric Dobson
993748909f Simplify constraint->type. 2014-05-20 20:57:42 -07:00
Eric Dobson
6cc10cdb18 Remove unused code in subst-gen, and remove internal error. 2014-05-20 20:57:42 -07:00
Eric Dobson
7e7350691f Make subst-gen not duplicate call to values. 2014-05-20 20:57:42 -07:00
Eric Dobson
5ab3eb81fd Unset contracts enabled by default for TR. 2014-05-20 20:57:26 -07:00
Eric Dobson
f42a7b9fc9 Re-enable Values and cgen/seq, and fix contracts on substitute.
After longer testing confirmed that this was just to strict contracts on
substitute.
2014-05-20 20:52:43 -07:00
Robby Findler
6be845ff30 do a better job of keeping the err/out ports IO in the right order
... in the case that IO happens during the 'first-opened' method,
e.g., during teachpack running in an empty REPL
2014-05-20 17:25:22 -05:00
Robby Findler
4db7477b0d fix timeout computation in the REPL io
In the case that the flush queue was empty, the first byte that
comes it would appear to have come from a long time ago and
thus get flushed immediately.

Instead, when the first byte comes in, we restart the timer at that
point, intead of holding the old value
2014-05-20 17:20:31 -05:00
Robby Findler
23d5cf568e clean up initialization of the teachpacks in an empty repl
In more detail, the way the initial namespace was being set up was
different than the way that you get if you just hit 'Run' on an
empty program. So change the initial namespace creation to more closely
mimic the way an running an empty program works.
2014-05-20 17:20:31 -05:00
Matthew Flatt
a57e712ba3 add scheme_jit_now() 2014-05-20 09:01:40 +01:00
Matthew Flatt
9b78847be0 add unix-style makefile target
Also, revise "INSTALL.txt" to better explain the build options.
2014-05-20 09:01:40 +01:00
Eric Dobson
90341fa8fb Rollback using cgen/seq for values because the generated substitutions have issues. 2014-05-20 00:06:11 -07:00
Eric Dobson
d83b2b8ec2 Split out shared code for generating dbound prefixes. 2014-05-19 21:34:53 -07:00
Eric Dobson
9073315931 Merge case for applying polydotted functions. 2014-05-19 21:34:53 -07:00
Eric Dobson
f7f4a2d448 Make list inference code be shared with sequence code. 2014-05-19 21:34:52 -07:00
Eric Dobson
771b602303 Fix dotted <: starred case. 2014-05-19 21:34:52 -07:00
Eric Dobson
8a07889d08 Fix uniform arg checking, and minor cleanup. 2014-05-19 21:34:52 -07:00
Eric Dobson
7a82255c44 Make dotted functions of the same bound correctly be inferred. 2014-05-19 21:34:52 -07:00
Eric Dobson
5251963af6 Make value inference just delegate to sequence logic. 2014-05-19 21:34:51 -07:00
Eric Dobson
2dba2363f6 Cleanup some cases of cgen/seq. 2014-05-19 21:34:51 -07:00
Eric Dobson
7e0872d282 Make cgen/seq take its args in the correct order. 2014-05-19 21:34:51 -07:00
Eric Dobson
5b02971615 Split out loop and rename it cgen/seq. 2014-05-19 21:34:50 -07:00
Eric Dobson
03ad77afd4 Switch input from arities to sequences. 2014-05-19 21:34:50 -07:00
Eric Dobson
c81c62d8e7 Move common checks out of loop in cgen/arr. 2014-05-19 20:37:44 -07:00
Eric Dobson
d12d3ae780 Add loop function in cgen/arr in preparation for refactoring. 2014-05-19 20:37:43 -07:00
Robby Findler
270f9611fa make the backtrace arrows scale with the font size
also tweak the drawing slightly so that when it does
scale it looks better
2014-05-19 21:43:23 -05:00
Robby Findler
4de8a40bfa add some knobs to draw-arrow 2014-05-19 21:43:22 -05:00
Robby Findler
251eb235d9 use Menlo as the default font, when it is available 2014-05-19 21:43:22 -05:00
Jay McCarthy
aa63a8d0af Extend timeout 2014-05-19 15:51:00 -06:00
Jay McCarthy
9e2fe9901f Flush output for testing 2014-05-19 15:51:00 -06:00
Sam Tobin-Hochstadt
32ab2c49e0 Fix printing to match the desired format. 2014-05-19 16:52:13 -04:00
Greg Hendershott
5f2d205602 lazy-require ~a 2014-05-19 16:05:28 -04:00
Greg Hendershott
9e99b9cccc Update ,log to handle multiple loggers. 2014-05-19 16:05:28 -04:00
Sam Tobin-Hochstadt
6ba31e0240 Add a benchmark for inference. 2014-05-19 15:52:19 -04:00
Robby Findler
61dbf1a34f make struct/dc cooperate better with check syntax so that the struct name gets an arrow 2014-05-19 13:35:26 -05:00
Robby Findler
5751ebe530 fix a problem that leads to spurious 'file has changed on disk' messages
Before this commit, autosave files would (incorrectly) contribute to
the file's last modification time in a way that meant that after an autosave,
the warning would start triggering when the file is saved normally
2014-05-19 10:05:17 -05:00
Asumu Takikawa
27524e6579 Improve TR error messages for class instantiation 2014-05-18 23:08:24 -04:00
Asumu Takikawa
8b245240ea Add one-sided contract for ClassTop types
Closes PR 14486
2014-05-18 23:08:05 -04:00
Robby Findler
cdc3996396 adjust option/c so that function mis-application errors use the right name 2014-05-18 21:47:15 -05:00
Eric Dobson
06d29a7102 Unbreak TR contracted build. 2014-05-18 11:23:56 -07:00
Robby Findler
6efa9185bc make plot tests more drdr friendly
This avoids a race-condition when one test deletes the file
that another creates and also avoids cluttering the current
directory.
2014-05-18 07:53:28 -05:00
John Clements
6f2fc3ecde tiny test for letrec 2014-05-18 00:20:23 -07:00