Commit Graph

7194 Commits

Author SHA1 Message Date
Eli Barzilay
3a39b112c9 add numbers to navigation link tooltips
svn: r10575
2008-07-03 08:39:55 +00:00
Eli Barzilay
12d4b12d91 make the code match the html
svn: r10574
2008-07-03 08:32:47 +00:00
Eli Barzilay
3a18f5b9a2 * always have a navbar, even at the start page
* add a "top" link to the navbar
* move search box to the left

svn: r10573
2008-07-03 07:05:20 +00:00
Eli Barzilay
d2c666f1e7 More visually noticeable navigation bar
svn: r10572
2008-07-03 05:27:01 +00:00
Robby Findler
5e0280bba4 fixed PR 9571
svn: r10571
2008-07-03 02:59:16 +00:00
Eli Barzilay
3aa1a16fa8 when there is no rep (eg, only one scheme box) just raise the error
svn: r10570
2008-07-03 01:41:04 +00:00
Eli Barzilay
ecfc0cd104 fix misuse of _
svn: r10569
2008-07-03 00:49:52 +00:00
Matthew Flatt
ec12a7f459 fix pretty-print hash table test
svn: r10568
2008-07-03 00:33:05 +00:00
Robby Findler
170788f332 fixed a few v4.0 isms
svn: r10565
2008-07-02 20:31:40 +00:00
Eli Barzilay
ed8dcade51 Welcome to a new PLT day.
svn: r10564
2008-07-02 20:06:08 +00:00
Stevie Strickland
10767bacaf Strike my last commit -- we just want a way of running slatex without
running latex afterwards.

svn: r10563
2008-07-02 19:54:14 +00:00
Danny Yoo
cc362de329 Added defensive checks for rep; no rep available when exception occurs at Check Syntax.
svn: r10562
2008-07-02 18:20:58 +00:00
Danny Yoo
e4c0c9b3b9 Added defensive checks for rep; no rep available when exception occurs at Check Syntax.
svn: r10561
2008-07-02 18:15:46 +00:00
Kathy Gray
af6f4f561b checkEffect support
svn: r10560
2008-07-02 16:57:57 +00:00
Stevie Strickland
17cd54a1ad * latex can take in tex commands (including '\nonstopmode', which is
useful), so do some... very bare-bones parsing of such so that
   we don't error if \nonstopmode + \input{foo} is used.
 * Have pdf-latex return a non-zero code to the shell if it fails
   instead of always returning 0.

svn: r10559
2008-07-02 16:57:43 +00:00
Eli Barzilay
f3559964fb Added split-at' and split-at-right', with documentation and tests,
and made srfi/1 use it.

svn: r10558
2008-07-02 13:12:26 +00:00
Matthew Flatt
0de2c454f3 fix errortrace on set! expressions (incorrectly incremented phase in recur)
svn: r10557
2008-07-02 12:53:01 +00:00
Eli Barzilay
f820f00e66 part of the previous commit (rev10555)
svn: r10556
2008-07-02 10:05:19 +00:00
Eli Barzilay
1002366103 * Implemented drop' instead of a synonym for list-tail' (so error
messages are better; speed should be comparable)
* added `take-right' and `drop-right' to scheme/list, with tests and
  documentation
* also, minor documentation bug (wrong result type for `drop' can
  return `any/c')
* drop the implementation of them from srfi/1, reprovide the
  scheme/list versions

svn: r10555
2008-07-02 10:04:57 +00:00
Eli Barzilay
f787d68b71 some interaction improvements, PR9564
svn: r10554
2008-07-02 06:48:14 +00:00
Eli Barzilay
f539581ebc typo (PR9569)
svn: r10553
2008-07-02 06:15:24 +00:00
Matthew Flatt
6cbd467e17 expand pretty-print tests (PR 9567)
svn: r10552
2008-07-02 01:45:09 +00:00
Matthew Flatt
a1c1c7e6df fix free_history_entry default
svn: r10551
2008-07-02 01:40:50 +00:00
Matthew Flatt
f3b142367d fix pretty-print bugs introduced with support for mpairs
svn: r10548
2008-07-02 00:14:35 +00:00
Eli Barzilay
8881cd9cee Welcome to a new PLT day.
svn: r10547
2008-07-01 20:49:43 +00:00
Sam Tobin-Hochstadt
c9e8f6d6f6 Refactoring. 2008-07-01 16:44:49 -04:00
Eli Barzilay
9ade6a1a06 drop prefix from srfi/48, keep it on srfi/48/format
svn: r10544
2008-07-01 20:20:47 +00:00
Eli Barzilay
1685a49f58 clarifying comment
svn: r10543
2008-07-01 19:18:13 +00:00
Eli Barzilay
b097856a72 use the module name resolver to check if the language is valid
svn: r10542
2008-07-01 19:04:00 +00:00
Eli Barzilay
bf2fe2f64c Added the auto-text feature to the module language
svn: r10541
2008-07-01 18:53:50 +00:00
Eli Barzilay
0c5f2745b5 contract line
svn: r10540
2008-07-01 18:50:12 +00:00
Stevie Strickland
b90e1505d3 Example of nested polydots. 2008-07-01 14:43:44 -04:00
Eli Barzilay
37b4cfde7a * output-style in horizontal layout
* case-sensitive can be given as a keyword arrrgument to drop it from
  the panel

svn: r10537
2008-07-01 18:30:54 +00:00
Sam Tobin-Hochstadt
4578b926c0 Add file for carl. 2008-07-01 11:58:28 -04:00
Sam Tobin-Hochstadt
bbae111229 Extra require.
Compile files first.
2008-07-01 11:27:05 -04:00
Robby Findler
6e2022b4c2 added note to say when on-execute is called
svn: r10531
2008-07-01 11:22:55 +00:00
Eli Barzilay
198bc92df2 use free() when there is no free_history_entry
svn: r10530
2008-07-01 11:03:21 +00:00
Danny Yoo
72cca8c136 Fix for PR 9555.
svn: r10517
2008-06-30 08:25:05 +00:00
Eli Barzilay
f16dd8a70f Welcome to a new PLT day.
svn: r10516
2008-06-30 07:42:55 +00:00
Eli Barzilay
aa9cc758fc go back to using insert-before no-user-evaluation-message and related changes
svn: r10515
2008-06-30 07:42:17 +00:00
Eli Barzilay
f5969e0e65 typo in normalizing spaces
svn: r10514
2008-06-30 03:51:19 +00:00
Eli Barzilay
fb027536f4 a little more readable code layout
svn: r10513
2008-06-30 01:48:23 +00:00
Eli Barzilay
ad563ad56d insert-warning always inserts at the end now
svn: r10512
2008-06-30 01:31:55 +00:00
Eli Barzilay
be1097cb20 Add warning text if the repl dies
svn: r10511
2008-06-29 23:42:09 +00:00
Eli Barzilay
9a900b37aa Optional prefix message to exception, so we dont lose information from
exceptions.  For example, in (module foo scheme/lang ...) we should
still see the real error message.

svn: r10510
2008-06-29 22:54:51 +00:00
Danny Yoo
f2fdb531a6 Typo
svn: r10509
2008-06-29 22:42:00 +00:00
Eli Barzilay
e3371b98fd * Catch errors in reading the module text and raise them as hopeless
too.
* Use `error-display-handler' instead of `let/ec' hack
* Expand the module expression, and if there's an error, try a bare
  language-only module so the repl is still working (but no
  definitions, of course)

svn: r10508
2008-06-29 22:41:15 +00:00
Matthew Flatt
3900f3b714 another errortrace doc correction
svn: r10507
2008-06-29 20:24:22 +00:00
Matthew Flatt
f08063e7b2 errortrace doc corrections
svn: r10506
2008-06-29 20:18:30 +00:00
Eli Barzilay
c3fae01528 show warning text, transform-module reorganization for hacking language
svn: r10505
2008-06-29 20:09:56 +00:00
Eli Barzilay
443a6fe233 make insert-warning public, work when the interactions are locked
svn: r10504
2008-06-29 20:00:04 +00:00
Matthew Flatt
44c5a75739 fix some phase problems in program-processing programs
svn: r10503
2008-06-29 15:11:20 +00:00
Eli Barzilay
f4d5f5c085 * Moved (thread-cell-set! hopeless-repl #f) to a better place --
later, after we do some more checks
* Add a clarification comment re minor-hack needed.

svn: r10502
2008-06-29 05:07:44 +00:00
Eli Barzilay
32cb7bcdfc * Single function for syntax errors, used in all places for uniformity
* Improved some error messages and detection
* When this function is used, it also kills the repl.

svn: r10501
2008-06-29 05:00:08 +00:00
Eli Barzilay
105091bcd4 clarify reason for second (lock #t) call
svn: r10500
2008-06-29 03:37:37 +00:00
Eli Barzilay
9699450d99 very minor
svn: r10499
2008-06-29 03:08:27 +00:00
Eli Barzilay
8e7984834c * Added `set-show-no-user-evaluation-message?' to be able to avoid the
message popup
* Added a (lock #t) after the thread is detected as dead

svn: r10498
2008-06-29 02:59:36 +00:00
Eli Barzilay
85dd9b0e31 typo
svn: r10497
2008-06-29 02:52:18 +00:00
Danny Yoo
8024601262 Correcting arguments passed to open-input-text-editor.
svn: r10496
2008-06-29 01:43:50 +00:00
Danny Yoo
0e42c65d3b Adjusted xml and scheme boxes to pass in port-name as syntax source.
svn: r10495
2008-06-28 23:33:44 +00:00
Danny Yoo
a506cefeac Added text:get-port-name to framework, and used text:lookup-port-name to get at the editor in DrScheme error highlighting.
svn: r10494
2008-06-28 23:33:39 +00:00
Eli Barzilay
dcced09987 removed unused field
svn: r10493
2008-06-28 19:05:45 +00:00
Eli Barzilay
db582b778c typo in comment
svn: r10492
2008-06-28 18:39:06 +00:00
Eli Barzilay
b535037d2a use append-map
svn: r10491
2008-06-28 17:08:53 +00:00
Eli Barzilay
4f10870042 * Tweaking the search box to look a little better
* Made up/prev/next links have tooltips with targets

svn: r10490
2008-06-28 16:21:35 +00:00
Eli Barzilay
e7339d7415 shorted delays in bg search
svn: r10489
2008-06-28 12:57:11 +00:00
Eli Barzilay
8fb7e764c7 setup' and compile' skip a subdirectory if it's called "doc". This
doesn't work for scribble/doc, which is a directory with code.  So
change the check to skip "doc" only if it's in the main plt collects
tree.

svn: r10488
2008-06-28 09:32:12 +00:00
Eli Barzilay
7fa06be28d Welcome to a new PLT day.
svn: r10487
2008-06-28 05:36:40 +00:00
Eli Barzilay
f5253f5e74 added a tooltip to the search box
svn: r10486
2008-06-28 05:35:02 +00:00
Eli Barzilay
ee0632bbba * Searching happens now in the background so you can continue typing
* Searching for words in the term too
* Added clarifying tooltips for "provided from" and "in" links

svn: r10485
2008-06-28 04:32:53 +00:00
Matthew Flatt
607c65fe4c doc fixes for transplant-input-port & related
svn: r10484
2008-06-28 02:47:11 +00:00
Robby Findler
c4be4bd7a5 added note about unsupplied-arg
svn: r10483
2008-06-27 22:27:31 +00:00
Matthew Flatt
69b4ffc7c0 fix pretty-print so that special handling of 'lambda', 'quote', etc. doesn't hide sharing that shoul dbe displayed
svn: r10482
2008-06-27 22:07:28 +00:00
Matthew Flatt
009aabf8e1 pretty-print doc corrections and clarifications
svn: r10481
2008-06-27 20:20:52 +00:00
Danny Yoo
1e1cb4d843 Revert r10469.
svn: r10480
2008-06-27 19:33:04 +00:00
Matthew Flatt
9707770ace fix phase problem in 'make-namespace' form 'mzscheme'
svn: r10478
2008-06-27 18:36:31 +00:00
Carl Eastlund
e03b419c10 Fixed documentation for make-keyword-procedure: default for plain-proc uses apply, not keyword-apply.
svn: r10477
2008-06-27 14:10:36 +00:00
Robby Findler
659ce64b11 PR 9545
svn: r10476
2008-06-27 12:11:39 +00:00
Eli Barzilay
61b77ec68a Welcome to a new PLT day.
svn: r10475
2008-06-27 06:21:19 +00:00
Danny Yoo
18701cf399 Reverting most of r10468.
svn: r10474
2008-06-27 05:20:28 +00:00
Eli Barzilay
e80141cc3d minor
svn: r10473
2008-06-27 04:46:24 +00:00
Eli Barzilay
8383a541f7 removed commented class code completely: it leads to dependency cycles
svn: r10472
2008-06-27 04:20:38 +00:00
Eli Barzilay
f283f97493 refix indentation, disable scheme/class loading
svn: r10471
2008-06-27 04:10:39 +00:00
Danny Yoo
e16ba1b779 Adjusted the module-reader to handler editor objects as object-names of ports.
svn: r10470
2008-06-27 03:26:44 +00:00
Danny Yoo
ca7188be1e Removed hack in scheme box's read-special. This fixes error highlighting under Check Syntax for embedded scheme boxes.
svn: r10469
2008-06-27 00:05:47 +00:00
Danny Yoo
072ea01f22 Maintaining text% as syntax source, so that check-syntax on an unsaved file will highlight errors correctly.
svn: r10468
2008-06-26 23:48:44 +00:00
Danny Yoo
3010e765ae Refactored helper methods into embedded-snip-utils.ss
svn: r10467
2008-06-26 21:33:42 +00:00
Danny Yoo
259b6fb87c Added defensive check for get-admin in get-enclosing-editor-frame.
svn: r10466
2008-06-26 21:12:15 +00:00
Eli Barzilay
7881ad2807 Welcome to a new PLT day.
svn: r10464
2008-06-26 20:34:06 +00:00
Danny Yoo
6624bc1dea Recommitting fix to showing error highlighting on embeded snips.
svn: r10463
2008-06-26 20:22:16 +00:00
Danny Yoo
4f56c1169b Revert "Fixed error highlighting in embedded snips."; lingering bugs
on get-canvas.

This reverts commit a12d0704e7a10e73988db57ad0e8a3d39998663e.

svn: r10462
2008-06-26 20:17:12 +00:00
Danny Yoo
448495aa0e Fixed error highlighting in embedded snips.
svn: r10461
2008-06-26 20:12:35 +00:00
Matthew Flatt
ff888bda2a fix splicing 'begin' in R5RS (PR 9548)
svn: r10458
2008-06-26 14:49:20 +00:00
Matthew Flatt
e62bb306fa fix R6RS string->number (PR 9546), document non-conformace of initial handler (PR 9547)
svn: r10457
2008-06-26 13:13:10 +00:00
Eli Barzilay
1f485c3dd8 Welcome to a new PLT day.
svn: r10456
2008-06-26 01:12:30 +00:00
Matthew Flatt
4525e63050 Add %%DocumentFonts to PS output
svn: r10453
2008-06-25 21:10:46 +00:00
Matthew Flatt
da82fe2a2d eval and phases (4.0.1.2)
svn: r10452
2008-06-25 18:54:38 +00:00
Robby Findler
2528523a1f started a test suite, PR 9545
svn: r10451
2008-06-25 14:31:02 +00:00
Matthew Flatt
17ab6f6345 header-spacign refinements from Noel
svn: r10450
2008-06-25 13:02:49 +00:00
Kathy Gray
00615e98aa Turning on stm; supporting checkEffect form.
svn: r10449
2008-06-25 12:47:45 +00:00
Sam Tobin-Hochstadt
15eb016e25 Fix PR 9540
svn: r10448
2008-06-24 23:52:16 +00:00
Robby Findler
0b35fc7406 added smiley and frownie
svn: r10447
2008-06-24 22:00:15 +00:00
Eli Barzilay
4f880a99c4 darken techlink underlines a little
svn: r10446
2008-06-24 19:15:23 +00:00
Eli Barzilay
44cee570a7 minor tweaks
svn: r10445
2008-06-24 18:43:51 +00:00
Eli Barzilay
a23c84175c fix techlinks again
svn: r10444
2008-06-24 18:42:05 +00:00
Eli Barzilay
b33cd21717 avoid using ">" in css -- so it works on IE too
svn: r10443
2008-06-24 18:17:37 +00:00
Sam Tobin-Hochstadt
97c5444b88 Check number of type errors. 2008-06-24 14:05:24 -04:00
Eli Barzilay
a1a53524c0 no arguments => start page
svn: r10441
2008-06-24 17:35:10 +00:00
Sam Tobin-Hochstadt
12b7c6c459 Fix handling of dotted <: starred hard case 2008-06-24 11:43:30 -04:00
Sam Tobin-Hochstadt
d7cf0a10c0 new test 2008-06-24 11:43:06 -04:00
Matthew Flatt
0e69bbc893 update latex styles for new tech links
svn: r10437
2008-06-24 15:16:47 +00:00
Matthew Flatt
80505abf29 render tech links as gray underline, turn blue on hover
svn: r10436
2008-06-24 15:12:45 +00:00
Matthew Flatt
bad978a277 make techlink blue
svn: r10435
2008-06-24 11:49:42 +00:00
Eli Barzilay
7febe63ce9 * Fix compiled and dep files path
* Comment out dep file since it's not used
* Fix checking of the `compile?' argument
* Print a "recompiling" message and a warning the file is not found

svn: r10434
2008-06-24 01:25:46 +00:00
Danny Yoo
d6ee81feba Making separate find-syntax-source-editor file.
svn: r10432
2008-06-23 22:15:35 +00:00
Danny Yoo
6965dfd86c Got internal error highlighting when exception source is in embedded editor.
svn: r10431
2008-06-23 22:15:22 +00:00
Matthew Flatt
6f8dbf0ec5 make tech links gray; fix-ups in reference manual
svn: r10430
2008-06-23 21:03:10 +00:00
Matthias Felleisen
fb517e049e doc bug, right instead of left
svn: r10429
2008-06-23 21:01:07 +00:00
Matthew Flatt
3f60a478ad use new 'serialized=?' to tighten setup scribble fixpoint
svn: r10428
2008-06-23 19:28:08 +00:00
Danny Yoo
9431017d18 Generalized click-forwarding-editor to work on text%s as well as pasteboards%
svn: r10427
2008-06-23 18:22:03 +00:00
Eli Barzilay
3fdde8a603 Welcome to a new PLT day.
svn: r10426
2008-06-23 14:59:52 +00:00
Eli Barzilay
648286fa52 more numbers
svn: r10425
2008-06-23 14:58:10 +00:00
Eli Barzilay
04b97ff977 Make promise.ss use #%kernel directly -- this way mzscheme does not
depend on scheme/base.

svn: r10424
2008-06-23 14:32:27 +00:00
Eli Barzilay
3619ab2062 * USe a thunk for caught values, not just the exception value, since
(as Mathew notes as a bug) any value can be raised
*  Actually use an applicable struct, so we can printout something
   sensible.  The current printout is:
     #<promise!exn!...exn-message...> for exceptions
     #<promise!(raise val)> for other values

svn: r10423
2008-06-23 13:57:18 +00:00
Matthew Flatt
b1c561f917 free_history_entry not available in OS X libreadline
svn: r10422
2008-06-23 13:31:15 +00:00
Matthew Flatt
c8509c8390 fix typo
svn: r10421
2008-06-23 12:40:45 +00:00
Eli Barzilay
f032880256 seven... I counted them.
svn: r10420
2008-06-23 07:05:06 +00:00
Eli Barzilay
1ffd3f5ba0 type (PR9535)
svn: r10419
2008-06-23 06:42:43 +00:00
Eli Barzilay
24f54b8dcc document lazy restriction, try to improve description a little.
svn: r10418
2008-06-23 04:36:05 +00:00
Eli Barzilay
b7839a4ec3 removed redundant syntax hack
svn: r10417
2008-06-23 04:33:25 +00:00
Eli Barzilay
945dc376d2 * Removed `with-handlers*' that was causing a problem in some long
nested streams example (from Jos Koot).
* Replaced with `call-with-exception-handler' which is (intentionally)
  not tail-recursive, but it seems to work fine now.
* The `lazy' form is restricted to single-valued expressions only.

svn: r10416
2008-06-23 04:07:12 +00:00
Eli Barzilay
3e0de8592d * Now removing all duplicates by default, not only consecutive ones
* Use multi-line history elements when a multi-line expression is entered

svn: r10415
2008-06-23 04:04:40 +00:00
Eli Barzilay
4ca2fb8c00 removed latex-induced-typos
svn: r10414
2008-06-23 04:03:18 +00:00
Eli Barzilay
36d9dfc816 Welcome to a new PLT day.
svn: r10411
2008-06-22 21:07:16 +00:00
Stevie Strickland
e4a0dc82b3 Let's also try out the abstracted version of this function. 2008-06-21 21:09:03 -04:00
Eli Barzilay
d4b93a22f3 Welcome to a new PLT day.
svn: r10409
2008-06-22 00:24:14 +00:00
Robby Findler
4f06b9e5da fixed PR 9515
svn: r10408
2008-06-21 14:54:52 +00:00
Robby Findler
a367e81f3a removed some latexisms
svn: r10407
2008-06-21 14:44:47 +00:00
Matthew Flatt
8b68ced640 slight clarification on 'with-handlers*'
svn: r10406
2008-06-21 13:13:45 +00:00
Stevie Strickland
705685af8b Add stuff that isn't useful yet, but might be useful for a lattice for future
work.
2008-06-20 20:03:56 -04:00
Stevie Strickland
48961eb551 Remove the bits and pieces used to diagnose the original file, and add the
non-outer-apply versions (that have no reason not to work).
2008-06-20 17:50:15 -04:00
Stevie Strickland
6a8b7e2e14 We should infer on the dotted var also, for the case where the underlying
function's type and/or the arguments to said function use it.
2008-06-20 17:49:43 -04:00
Stevie Strickland
a6ea8d7954 Revert last change. 2008-06-20 15:47:56 -04:00
Stevie Strickland
ce58c4c676 Revert last change. 2008-06-20 15:47:22 -04:00
Sam Tobin-Hochstadt
b2edd9d197 Remove no-longer-needed inst. 2008-06-20 15:27:59 -04:00
Sam Tobin-Hochstadt
0366745cbf Use the X from cgen/list to create the empty cmap.
This allows (vector) to have type (Vectorof (U))
2008-06-20 15:27:46 -04:00
Sam Tobin-Hochstadt
b57519d398 Be AR about order of arguments to cgen* (cgen/list took X V, not V X) 2008-06-20 14:52:53 -04:00
Sam Tobin-Hochstadt
a6cd9ea2cd * Fixed calls to infer that didn't give must-vars argument
* Fixed promote/demote so they check the dotted bound, not free vars of type
 * Stopped promote/demote from promoting/demoting away dotted bound
 * Stopped promotion/demotion of dotted bound in cgen/arr
 * Improved debug macro
2008-06-20 14:48:47 -04:00
Sam Tobin-Hochstadt
89cb3a4b09 Small changes needed after changes to infer. 2008-06-20 14:46:24 -04:00
Sam Tobin-Hochstadt
bec9c11fd4 Correct and incorrect uses of dotted identity 2008-06-20 13:07:42 -04:00
Sam Tobin-Hochstadt
6296ffbfcf * Added code to check that substitution gets rid of all appropriate
variables (and fails if not)
 * Added weird dotted as subtype of * case (dcon-exact)
2008-06-20 13:07:08 -04:00
Matthias Felleisen
e60a2cddee svn: r10393 2008-06-20 15:15:14 +00:00
Matthias Felleisen
32f514f78e commented out tests
svn: r10392
2008-06-20 14:41:19 +00:00
Robby Findler
b8edbf8336 fixed tab handling for docked mode
svn: r10390
2008-06-20 13:26:55 +00:00
Eli Barzilay
0c23336cbf Welcome to a new PLT day.
svn: r10389
2008-06-20 08:24:17 +00:00
Robby Findler
b24674c889 PR 9510
svn: r10388
2008-06-20 06:05:52 +00:00
Stevie Strickland
654d7e2f46 * Add the ability to substitute in starred types for dotted when
we've inferred it.
 * Try and consolidate a lot of the error printing with domain mismatches.
2008-06-19 19:14:32 -04:00
Stevie Strickland
a1f078fb59 Another change. 2008-06-19 19:12:39 -04:00
Stevie Strickland
af12feb729 Another example, putting in starred for dots. 2008-06-19 19:10:05 -04:00
Sam Tobin-Hochstadt
2bf691991c New test 2008-06-19 18:04:30 -04:00
Sam Tobin-Hochstadt
0f142d97e3 Do substitution properly from dmap. 2008-06-19 18:04:19 -04:00
Sam Tobin-Hochstadt
e62598ef08 More tests! 2008-06-19 16:55:26 -04:00
Sam Tobin-Hochstadt
b9e1676a55 * Add constraints when matching t1...a to t2...b
* Do inference when you have (apply f ... xs), f and xs are dotted,
   and on different bounds.
 * Add fold-right to extra-procs and its type to base-env
2008-06-19 16:55:06 -04:00
Kathy Gray
1ff835d4b3 Fix PR#9526
svn: r10380
2008-06-19 20:43:51 +00:00
Sam Tobin-Hochstadt
2a7dbe2a80 Add unit test for dotted instantiation, and add version of
fold-left/fold-right that explicitly instantiates the
recursive call.
2008-06-19 14:59:19 -04:00
Sam Tobin-Hochstadt
bb8d8e23d8 * Split apart identifier typechecking and type instantiation
* Add dotted instantiation (replacing bounds with different bounds)
 * Fix some macro issues, including syntax locations
 * Fix more effect inference
2008-06-19 14:57:35 -04:00
Sam Tobin-Hochstadt
36408a32d5 Fix test to expecte effects.
Remove useless annotation.
2008-06-19 13:23:27 -04:00
Sam Tobin-Hochstadt
1af866586e Fix tests, add filter tests. 2008-06-19 12:41:06 -04:00
Sam Tobin-Hochstadt
1880eb4afb Fix filter type.
svn: r10374
2008-06-19 16:07:12 +00:00
Sam Tobin-Hochstadt
3fd969651f Fix type of filter, and inference w/ effects. 2008-06-19 11:57:07 -04:00
Sam Tobin-Hochstadt
23aeff8c3b Fix macro impl. 2008-06-19 11:12:32 -04:00
Kathy Gray
08015efba8 Indenter bug corrections; indented files according to indenter
svn: r10371
2008-06-19 13:40:25 +00:00
Robby Findler
707315b1b4 restored Eli's syntax error improvements
svn: r10370
2008-06-19 06:19:16 +00:00
Stevie Strickland
f68efe9e31 Lift out the recursive call, since that'll be shared across all substitutions. 2008-06-18 23:48:31 -04:00
Greg Cooper
4dadad2d71 add support for arc-drawing to animation library
svn: r10366
2008-06-19 00:33:00 +00:00
Stevie Strickland
51ec643172 I'm not sure what to do about this, given the recursive sb call. 2008-06-18 18:53:46 -04:00
Stevie Strickland
8256f922f9 Instantiation... seems to be broken. Adding unit tests to alert us to that
fact.
2008-06-18 18:22:16 -04:00
Stevie Strickland
052849c1bb Otherwise we don't handle nesting. 2008-06-18 18:09:50 -04:00
Sam Tobin-Hochstadt
082545adc9 Just handle PolyDots of stuff not involving dots like the other cases. 2008-06-18 17:36:38 -04:00
Sam Tobin-Hochstadt
8a66c759dc Fix identifier issues in fold-left/fold-right. 2008-06-18 17:36:12 -04:00
Sam Tobin-Hochstadt
b5bfb18961 Tests in here that now succeed 2008-06-18 17:22:16 -04:00
Sam Tobin-Hochstadt
7f0a330c0c Adding drest capability to lambda formal checking. 2008-06-18 17:21:53 -04:00
Sam Tobin-Hochstadt
e77ad12feb Add debug macro, and fix check-below to return appropriate values. 2008-06-18 16:52:04 -04:00
Stevie Strickland
f1211df156 I don't know why this wasn't caught before, but with recent changes, it's now
caught correctly.
2008-06-18 16:16:11 -04:00
Stevie Strickland
3e4e5af03c Thinkoed, all of them should have -lst added. 2008-06-18 16:10:54 -04:00
Stevie Strickland
449a784c1d Remove this, as it isn't needed. 2008-06-18 16:03:45 -04:00
Stevie Strickland
6986b12618 Fix extra -lst call that shouldn't be there. 2008-06-18 16:03:33 -04:00
Stevie Strickland
5299c9fd5a Consolidate errors so they only happen once (could get rest arg-related
error and formal number mismatch error), and then consolidate code.
2008-06-18 15:57:41 -04:00
Stevie Strickland
f80711bc9e Split this out into what should succeed and what should fail. 2008-06-18 15:07:00 -04:00
Stevie Strickland
0c6ad7f08b Forgot to add stars here. 2008-06-18 15:06:48 -04:00
Stevie Strickland
467b138cda New test for lambda formal list mismatches. 2008-06-18 15:03:12 -04:00
Stevie Strickland
948286f0c6 Rework how lambda formals are handled to try and guess something more
correct when there's a mismatch.
2008-06-18 15:02:54 -04:00
Stevie Strickland
17937f5451 Fix up lambda formal handling so that if we get too many or too few formals
for the appropriate type, we associate the correct types with the formals
we do have.  If we have more formals than types, then a rest-arg function
will have the extra formals as the type of the rest-arg, else we will just
make them bottom.
2008-06-18 13:39:58 -04:00
Eli Barzilay
6864cae36f Welcome to a new PLT day.
svn: r10346
2008-06-18 17:13:24 +00:00
Stevie Strickland
4b3508a890 Add * where appropriate. 2008-06-18 13:01:43 -04:00
Stevie Strickland
4010a39c2d * Should have used star (bound in syntax-case), not just * in type-of-formals
* I'm pretty sure ann should never get a starred or dotted type, since those
   can't appear outside of an arrow context.
2008-06-18 12:57:52 -04:00
Stevie Strickland
6a30c9dec9 No need for this, it's handled by a case lower down (and correctly, so why
force changes in two positions?)
2008-06-18 12:45:08 -04:00
Stevie Strickland
c2a53b316b * Enforce the use of a '*' in list-like rest args.
* Abstract out annotation errors so that we can report it in the other case
   where it's useful.
2008-06-18 12:31:08 -04:00
Kathy Gray
488f8c210e Corrected bug introduced by the introduction of match-let
svn: r10339
2008-06-18 12:51:22 +00:00
Kathy Gray
1862bffc93 Testengine test file (in wrong directory, probably).
svn: r10338
2008-06-18 12:20:17 +00:00
Robby Findler
c1217de228 fixed problem with completions
svn: r10337
2008-06-18 05:48:16 +00:00
Eli Barzilay
b93d242aa5 restore unmodified version
svn: r10336
2008-06-18 04:53:31 +00:00
Eli Barzilay
f4926472b8 remove changed code
svn: r10335
2008-06-18 04:50:58 +00:00
Greg Cooper
88edb0e088 fix small doc bug
svn: r10332
2008-06-18 02:15:05 +00:00
Matthias Felleisen
55604117e4 world with lang scheme
svn: r10331
2008-06-18 02:13:42 +00:00
Stevie Strickland
2b4f1691fa Add an informative comment here. 2008-06-17 22:09:04 -04:00
Matthias Felleisen
420263b569 svn: r10329 2008-06-18 02:05:59 +00:00
Stevie Strickland
bd43b23f74 Both of these have the same errors right now, so factor that out into a
function.
2008-06-17 22:01:57 -04:00
Stevie Strickland
f86702122d Fix up error messages to take drests into account. 2008-06-17 21:47:10 -04:00
Stevie Strickland
8bb0890184 I dunno if I like this, but we really shouldn't delay this error, as
it should get caught when we attempt dotted vars for testing.
2008-06-17 21:38:05 -04:00
Sam Tobin-Hochstadt
8e498458aa More tests. Not all of them pass yet, but we are hopeful. 2008-06-17 18:10:41 -04:00
Sam Tobin-Hochstadt
dfdfae95d7 Checkpoint. 2008-06-17 18:10:17 -04:00
Sam Tobin-Hochstadt
c8a2810742 Don't produce extra errors for top-level defines.
Lots more error message improvements for application.
Work on polydots apply.
Extend environment only in the proper place in plambda.
Don't let a variable unify with a dotted variable.
2008-06-17 16:28:34 -04:00
Sam Tobin-Hochstadt
3f180f88da New tests 2008-06-17 16:24:30 -04:00
Sam Tobin-Hochstadt
ddbb045a3e Handle polymorphic apply with more args than fixed formals. 2008-06-17 14:29:05 -04:00
Sam Tobin-Hochstadt
59e2dc4dea New tests 2008-06-17 14:28:41 -04:00
Eli Barzilay
e3fa49cdff keep the language repl if we get a syntax error
svn: r10319
2008-06-17 17:45:53 +00:00
Matthew Flatt
4868fa672d EOPL quote and pair fixes
svn: r10318
2008-06-17 17:36:53 +00:00
Eli Barzilay
2c94de20aa hack: use a special value with exit to avoid popup message (no need for it now)
svn: r10317
2008-06-17 17:25:30 +00:00
Sam Tobin-Hochstadt
93c937f909 Adding testcases for dotted function application to rest args via apply. 2008-06-17 12:58:15 -04:00
Sam Tobin-Hochstadt
1bef5f9d0b Add handling of dotted functions when not wrapped with a big lambda. 2008-06-17 12:57:29 -04:00
Eli Barzilay
b6827d2d0b Now all module syntax errors kill the repl
svn: r10314
2008-06-17 16:06:35 +00:00
Eli Barzilay
8e4e964a65 Announce no interactions, kill repl on malformed module expression too
svn: r10313
2008-06-17 15:53:09 +00:00
Eli Barzilay
45bdf4e76d kill the running thread when there is no module (or bad module) so further interactions are disabled
svn: r10312
2008-06-17 15:38:13 +00:00
Eli Barzilay
819964baba Use "Module Language" for all error messages
svn: r10311
2008-06-17 15:26:42 +00:00
Sam Tobin-Hochstadt
c7733e5e34 Use map instead of map* 2008-06-17 10:46:39 -04:00
Sam Tobin-Hochstadt
8bf60f9faf Mask exn's where necessary. 2008-06-17 10:46:28 -04:00
Sam Tobin-Hochstadt
8d810160f2 Only use free-identifier=? when it's an identifier. 2008-06-17 10:43:37 -04:00
Stevie Strickland
bcb205a930 Add examples of each. 2008-06-16 19:02:45 -04:00
Sam Tobin-Hochstadt
cf33d49c26 add 2008-06-16 17:52:47 -04:00
Sam Tobin-Hochstadt
223c822154 It lives! 2008-06-16 17:46:13 -04:00
Sam Tobin-Hochstadt
1b998d7eb8 Definition (but not use) of ... vars 2008-06-16 16:47:08 -04:00
Sam Tobin-Hochstadt
055eb3cd0b Source location in synthetic module begin. 2008-06-16 16:34:09 -04:00
Sam Tobin-Hochstadt
b952c54803 Fix code gen for PolyDots defs. 2008-06-16 16:32:34 -04:00
Matthias Felleisen
9276a46dc4 is-end-of-world added to world
svn: r10300
2008-06-16 19:52:40 +00:00
Matthias Felleisen
993d3f970c docs for is-end-of-world
svn: r10299
2008-06-16 19:52:04 +00:00
Eli Barzilay
6b940c07de simplified code by separating two steps instead of one
svn: r10298
2008-06-16 19:25:28 +00:00
Eli Barzilay
cb410d1f87 descriptive error message
svn: r10297
2008-06-16 19:16:19 +00:00
Eli Barzilay
e7b2ca7c60 Improved code that analyzes the module expression
svn: r10296
2008-06-16 18:56:23 +00:00
Eli Barzilay
559517497b minor
svn: r10295
2008-06-16 17:59:55 +00:00
Eli Barzilay
fbb652713b use a single printf
svn: r10294
2008-06-16 17:55:13 +00:00
Sam Tobin-Hochstadt
a43b2f5681 Change map* to map. 2008-06-16 13:28:27 -04:00
Sam Tobin-Hochstadt
fdb780fb00 Remove map* 2008-06-16 13:27:59 -04:00
Sam Tobin-Hochstadt
2ad4403108 Fix for-each type.
Improve ... error messages.
2008-06-16 13:26:15 -04:00
Stevie Strickland
c4e253d2d1 Change over some of the base environment over to dotted types. 2008-06-16 13:01:16 -04:00
Eli Barzilay
1386b63116 * Misc reformatting and improvements (using for loops now)
* Removed (unused) toplevel op/oprintf, and switch to scheme/unit
  (=> code outdented, but remember `-x -w' for svn diff/blame/etc)
* Remove unused `get-module-name-prefix'

svn: r10289
2008-06-16 15:49:07 +00:00
Eli Barzilay
76b90e7947 Made "t" a key for the "recent" menu item
svn: r10288
2008-06-16 15:31:02 +00:00
Eli Barzilay
922842d9d8 Change `bad module name' error message to use "syntax" instead of
"object", and make it use the syntax object so the error points at the
right place in the definitions window.

svn: r10287
2008-06-16 15:02:07 +00:00
Eli Barzilay
495588eabf Misc reformatting, mostly using new stuff that make things easier.
svn: r10286
2008-06-16 14:42:14 +00:00
Eli Barzilay
86cdf405ee Move the "show recent files in a dialog" to the bottom, since it's
much less frequently used than the actual files.  (Even for people who
do use it -- since they'd usually use it once, and then use the dialog.)

svn: r10285
2008-06-16 14:22:24 +00:00