Commit Graph

12387 Commits

Author SHA1 Message Date
Eli Barzilay
18c8e41fac Make it possible for the last expression in the body of a generator to
return any number of values.  They will be collected and used as the
repeat-forever result of calling the generator again.

Note: there's an exception for using no values -- instead of returning
no values forever, use void, since no values can be more surprising, and
it can happen when someone uses something like

  (generator (yield 1) (yield 2) (yield 3))

since the result of `yield' is (values).  (This will change in a
following commit, but even then it will be popular since people will
usually invoke the generator with no arguments which leads to the zero
values.  Could be solved if you use (g (void)) -- but that's awkward, I
think.)

svn: r17978
2010-02-05 03:21:59 +00:00
Eli Barzilay
5c54f3a5ac Use readline-input' for the port name, since readline' makes error
messages confusing.

svn: r17977
2010-02-05 03:21:56 +00:00
Eli Barzilay
c88a5a6856 A bunch of additional typos
svn: r17976
2010-02-05 03:21:52 +00:00
Carl Eastlund
2e3ea3d0de Merged latest changes from the trunk.
svn: r17974
2010-02-05 02:41:24 +00:00
Matthias Felleisen
dda81dc80d fixed bug 10733
svn: r17973
2010-02-05 01:11:05 +00:00
Matthew Flatt
3812f8ca72 improve inling to support ((let (....) (lambda ....)) arg ...) patterns; allow nested 'let's for local flonum binding (which fixes a problem where unsafe flonum operations could end up much slower than safe ones)
svn: r17972
2010-02-05 00:16:06 +00:00
Sam Tobin-Hochstadt
318833f422 Add supertypes for mutable types, so that predicates work correctly.
svn: r17971
2010-02-04 23:39:15 +00:00
Robby Findler
1b39d29640 clean up temporary files
svn: r17970
2010-02-04 20:31:51 +00:00
Eli Barzilay
a3c9b87652 Welcome to a new PLT day.
svn: r17965
2010-02-04 08:50:37 +00:00
Carl Eastlund
3eb1e46eeb Merged a few more changes from the trunk.
svn: r17964
2010-02-04 03:26:31 +00:00
Carl Eastlund
137f9a3279 Fixed bugs in contract construction examples.
svn: r17963
2010-02-04 02:17:15 +00:00
Matthias Felleisen
823bbd18c9 opaque iworld structure
svn: r17962
2010-02-03 22:49:12 +00:00
Carl Eastlund
a4a25ba1e9 Wrote documentation for new contract interface. Still needs proofreading, etc.
svn: r17961
2010-02-03 21:02:02 +00:00
Carl Eastlund
2e64069d14 Re-disabled legacy (contract ...) form.
svn: r17960
2010-02-03 17:08:26 +00:00
Stevie Strickland
8bc420da4c The contract on sequencer:make requires arguments that conform to
dispatcher/c, which #f does not.

svn: r17958
2010-02-03 16:39:18 +00:00
Carl Eastlund
73407bed63 Merged a few more changes from the trunk (which I think will affect planet package compatibility).
svn: r17957
2010-02-03 16:11:05 +00:00
Robby Findler
0bda2f0e18 moved the debugging options in the details part of the module panel so they are side-by-side, which should make the dialog more likely to fit on a netbook screen
svn: r17955
2010-02-03 15:34:11 +00:00
Carl Eastlund
d7a7409fe0 Merged changes from the trunk.
svn: r17954
2010-02-03 15:15:11 +00:00
Ryan Culpepper
ffa97036a8 macro-stepper: removed drscheme,etc dep on macro-debugger
(changed capability to normal symbol constant)

svn: r17953
2010-02-03 14:43:23 +00:00
Eli Barzilay
c581b6b575 Welcome to a new PLT day.
svn: r17951
2010-02-03 08:50:28 +00:00
Robby Findler
76f41c2a1c fixed a bug and added some race-condition insurance
svn: r17946
2010-02-02 21:32:20 +00:00
Robby Findler
e74e46d9ca drdr-ized the rest of the drscheme test suite
svn: r17945
2010-02-02 21:06:07 +00:00
Ryan Culpepper
8d2f32efed syntax/parse:
fixed bug: splicing-stxclass immediately within ellipses
  added tests, docs for local-conventions

svn: r17944
2010-02-02 19:48:08 +00:00
Robby Findler
319a4a7ef0 fixed a bug revealed by drdr (but stil cant make this bad case happen on my machine, frustratingly
svn: r17942
2010-02-02 18:01:55 +00:00
Matthew Flatt
db1533fa78 fix Scribble rendering problem with 'aux tables hidden within compound paragraphs (so some inherited-method tables didn't appear in the GUI docs)
svn: r17940
2010-02-02 17:19:29 +00:00
Eli Barzilay
e02335e425 Welcome to a new PLT day.
svn: r17939
2010-02-02 08:50:29 +00:00
Ryan Culpepper
82e1e3308f syntax/parse:
fixed docs bug in ...+
  fixed bug in rep constraint messages

svn: r17938
2010-02-02 07:22:35 +00:00
Ryan Culpepper
cb7600607b syntax/parse:
added nested ~or ellipsis-head patterns
  added ~between, ...+
  cleaned up declenvs
  fixed kernel-literals (include template phase binding)
  pattern variables may not start with ~ (tilde)
  first cut of syntax-class-possible-errors

svn: r17937
2010-02-02 02:28:32 +00:00
Carl Eastlund
87712b0dd2 Clarified the recursive behavior of datum->syntax on hash tables and prefab structs.
svn: r17936
2010-02-02 01:33:39 +00:00
Jon Rafkind
a1d5573613 move bindings to different modules
svn: r17934
2010-02-01 22:57:42 +00:00
Carl Eastlund
79f537d50c Updated the macro stepper to detect steppable languages via a "capability".
svn: r17932
2010-02-01 20:39:46 +00:00
Robby Findler
8aac682691 hierlist now has the scrollbar
svn: r17931
2010-02-01 19:52:05 +00:00
Jay McCarthy
2e4c8e102a pr10727
svn: r17930
2010-02-01 19:51:06 +00:00
Matthew Flatt
09ef762e3f add accept-tab-focus to editor-canvas%
svn: r17929
2010-02-01 19:30:59 +00:00
Robby Findler
102b03311e made the check syntax tests more drdr friendly
svn: r17928
2010-02-01 17:46:17 +00:00
Robby Findler
402886bc18 fixed the macro stepper so that it shows up in the new module language
svn: r17927
2010-02-01 17:09:22 +00:00
Robby Findler
f4cd110b1a another strategy for sizing the text in the languages dialog
svn: r17926
2010-02-01 16:47:43 +00:00
Matthias Felleisen
9664c79320 mouse leave/enter behavior was wrong; failure of SPC?
svn: r17925
2010-02-01 16:05:37 +00:00
Robby Findler
6f4c164793 improved the implementation of error in the teaching languages, added test casees
svn: r17923
2010-02-01 15:39:33 +00:00
Robby Findler
bf67e34e87 fixed up module language test suite for new language dialog, plus misc cleanups based on last release
svn: r17922
2010-02-01 15:18:28 +00:00
Robby Findler
9d34139659 use the basic-style method instead of the name of the basic style
svn: r17921
2010-02-01 15:15:22 +00:00
Casey Klein
db0ec3eb07 Special typesetting for metafunction `where' clauses in which the
right-hand side is a call to `variable-not-in' or `variables-not-in'

svn: r17920
2010-02-01 13:46:32 +00:00
Eli Barzilay
99bebecd75 Welcome to a new PLT day.
svn: r17919
2010-02-01 08:50:38 +00:00
Carl Eastlund
2e0cb8226e Replaced every "langauge" (note swapped vowels) with "language".
svn: r17918
2010-02-01 01:41:51 +00:00
Matthew Flatt
5433c57504 wrap each top-level form in a module with a prompt
svn: r17917
2010-01-31 17:04:55 +00:00
Matthew Flatt
e8c97a5102 more readable mandelbrot-unsafe; minor benchmark harness fixes
svn: r17915
2010-01-31 14:58:26 +00:00
Matthew Flatt
a5da3f327f use MrEd:default-font-size preference
svn: r17914
2010-01-31 14:55:07 +00:00
Robby Findler
6a3518e369 used the new support for selection-less hierlists in the language menu
svn: r17913
2010-01-31 13:32:48 +00:00
Robby Findler
540f43327d added a little more error checking
svn: r17912
2010-01-31 13:32:19 +00:00
Eli Barzilay
3a0518e6f8 Welcome to a new PLT day.
svn: r17911
2010-01-31 08:50:29 +00:00
Carl Eastlund
a2226c965a Updated documentation for "contract" form.
svn: r17910
2010-01-31 04:30:55 +00:00
Carl Eastlund
1d4cdbeb45 Exports from scheme/contract/private/blame: removed constructor; fixed confusing selector names.
svn: r17909
2010-01-31 03:03:30 +00:00
Carl Eastlund
d5329eb2a6 Make contract form more permissive; import make-blame.
svn: r17908
2010-01-31 01:48:08 +00:00
Carl Eastlund
bf308563d2 Hide make-blame; remove blame-positive and blame-negative; make blame objects transparent (but allow equal?).
svn: r17907
2010-01-31 01:47:48 +00:00
Carl Eastlund
f8df3608d4 Hide "make-blame" from normal export.
svn: r17906
2010-01-31 01:47:07 +00:00
Matthew Flatt
bcadf5ac69 doc improvements: some details on reachability for weak references; module example in insidemz; clarification for 'read-language' related to readtables and #reader
svn: r17905
2010-01-31 01:10:56 +00:00
Carl Eastlund
0e697067cb Uniformly "unpack" contract blame party names.
svn: r17904
2010-01-31 00:30:00 +00:00
Carl Eastlund
29b628cb0a Fixed legacy projections to allow 4 or 5 arguments.
svn: r17903
2010-01-31 00:29:37 +00:00
Casey Klein
d9e5d3aa98 Another generator optimization
svn: r17902
2010-01-30 22:36:44 +00:00
Carl Eastlund
7d577d9d02 Removed an unnecessary require.
svn: r17901
2010-01-30 21:45:52 +00:00
Carl Eastlund
2772ffccba Restored legacy functions for custom contracts.
svn: r17900
2010-01-30 21:14:27 +00:00
Robby Findler
aa67a279ab added a little more information
svn: r17899
2010-01-30 21:02:26 +00:00
Robby Findler
32faba2964 added more debugging information to try to figure out if the 'window with no button' error is a bug or not
svn: r17898
2010-01-30 20:53:03 +00:00
Robby Findler
30c5d37b81 fixed a bug found by the random testing from randomly-click-language-dialog.ss
svn: r17897
2010-01-30 20:50:18 +00:00
Casey Klein
425dbf5af5 The first component of a `name' pattern is not an identifier, not a
pattern.

svn: r17896
2010-01-30 17:41:39 +00:00
Robby Findler
6f17b84706 improved the module langauge's name printing
svn: r17895
2010-01-30 16:51:24 +00:00
Casey Klein
0e6c28e4b1 Improved performance of the test case generator
svn: r17894
2010-01-30 16:38:19 +00:00
Eli Barzilay
dc93732d6f Welcome to a new PLT day.
svn: r17893
2010-01-30 08:50:31 +00:00
Carl Eastlund
2513e7d6e0 Merged changes from the trunk.
svn: r17892
2010-01-30 04:59:20 +00:00
Jon Rafkind
f980cf9462 use new syntax-parse primitive to enable macro invocation during expression parsing
svn: r17891
2010-01-30 01:42:14 +00:00
James Swaine
68c197d02f added basic test suite for the parallel futures module
svn: r17890
2010-01-29 21:44:46 +00:00
Robby Findler
16e6a8156e a few more tweaks to the language dialog
svn: r17889
2010-01-29 21:44:22 +00:00
Matthew Flatt
73a1675286 fix select #f for hierlist
svn: r17888
2010-01-29 20:30:46 +00:00
Robby Findler
be5b6cd32e some improvements to the new language dialog
svn: r17886
2010-01-29 18:29:03 +00:00
Matthew Flatt
d620177619 fix benchmark readme
svn: r17885
2010-01-29 17:49:25 +00:00
Matthew Flatt
42e68c8ff1 even more benchmark scaffolding
svn: r17884
2010-01-29 16:33:15 +00:00
Casey Klein
2d2a95de1e Made counterexample structure transparent
svn: r17882
2010-01-29 13:42:13 +00:00
Eli Barzilay
da79980114 Welcome to a new PLT day.
svn: r17881
2010-01-29 08:50:05 +00:00
Matthew Flatt
ea87c95d95 adjust futures impl to use mzrt; fix MrEd build to work with futures
svn: r17879
2010-01-29 00:15:43 +00:00
Matthew Flatt
5270fcbc6c fix name of Basic style in style-list<%>
svn: r17878
2010-01-29 00:14:06 +00:00
Robby Findler
a6d89438a7 fixed one of those 'the callbacks are the initial state arent being set up together properly' gui bugs
svn: r17876
2010-01-28 21:48:07 +00:00
Robby Findler
6848b8f6fe first attempt at a new language dialog
svn: r17874
2010-01-28 21:41:04 +00:00
Ryan Culpepper
f14118c075 syntax/parse: added syntax/parse/experimental
svn: r17873
2010-01-28 21:08:02 +00:00
Robby Findler
076d680faa escape no longer quits during splash screen, not control-q does
svn: r17869
2010-01-28 20:34:07 +00:00
Matthew Flatt
b5cada4811 suppress setup-plt scribble 'using' messages, unless in verbose mode
svn: r17868
2010-01-28 18:56:21 +00:00
John Clements
11c87c75e1 minor typo fix an/and
svn: r17866
2010-01-28 18:09:52 +00:00
Matthew Flatt
a09e671f34 allow radio-box% to have no selected buttons
svn: r17865
2010-01-28 17:51:30 +00:00
Eli Barzilay
6bf7c9287f Welcome to a new PLT day.
svn: r17863
2010-01-28 08:50:24 +00:00
Matthew Flatt
2c192f5297 support inlining of procedures with rest args
svn: r17860
2010-01-28 01:31:37 +00:00
Eli Barzilay
f8c78cb752 typo (PR10722)
svn: r17859
2010-01-28 01:30:55 +00:00
Casey Klein
1b22ce82cd A flag to make the random testing forms return results instead of
printing on stdout.

svn: r17858
2010-01-28 01:12:54 +00:00
Casey Klein
3b5d13f229 Fixed bug in generate-term's error handling.
svn: r17856
2010-01-27 20:03:57 +00:00
Robby Findler
d6c94df670 changed the fonts used under linux for the bitmap test cases
svn: r17855
2010-01-27 19:23:37 +00:00
Robby Findler
97a04321fc escape in the splash screen quits drscheme
svn: r17854
2010-01-27 18:33:36 +00:00
Casey Klein
8454db8115 Rename #:attempts to #:attempt-num in `generate-term'.
Added a second form of `generate-term' that produces a procedure.
Improved the docs for `generate-term'.

svn: r17853
2010-01-27 17:45:01 +00:00
Ryan Culpepper
0cea5eb390 macro-debugger: fixed breakage of stepper-text, expand-only
Please propagate to release branch if possible.

svn: r17852
2010-01-27 17:31:22 +00:00
Casey Klein
4271b7970c Dropped the "preferred productions" heuristic and the failed prototype
supporting accumulator-style generators.

svn: r17851
2010-01-27 15:52:15 +00:00
Matthew Flatt
980d48ce19 fix karen and psyntax benchmarks
svn: r17850
2010-01-27 12:56:51 +00:00
Eli Barzilay
4b1fdd9bc0 added places
svn: r17849
2010-01-27 09:58:48 +00:00
Eli Barzilay
865e550174 Welcome to a new PLT day.
svn: r17847
2010-01-27 08:50:34 +00:00
Jay McCarthy
364e4ff3d5 The closure library was designed just for the Web language, which operates after expansion, so it never saw normal lambdas. The documentation, however, advertises it for general use and it disallowed keyword arguments. This fixes that problem.
svn: r17844
2010-01-26 21:59:22 +00:00
Eli Barzilay
024f635203 * Remember values in "install .plt" dialog
* Add "http://" prefix to a url if it looks like it's missing
* Focus on the text field when switching tabs

svn: r17843
2010-01-26 20:55:13 +00:00
Robby Findler
cba82db678 added in unix versions of the bitmap tests
svn: r17842
2010-01-26 20:28:57 +00:00
Robby Findler
bf451cbc0b fixed a problem John identified on the plt mailing list
svn: r17841
2010-01-26 20:24:25 +00:00
Matthew Flatt
f07c19b268 update benchmark harness
svn: r17840
2010-01-26 20:17:44 +00:00
Casey Klein
3068ae4bd5 This file should have been moved to tests instead of copied.
svn: r17839
2010-01-26 19:53:10 +00:00
Robby Findler
812a049b5b svn: r17838 2010-01-26 19:47:44 +00:00
Casey Klein
8fe66b9935 Somehow managed to copy the tests instead of moving them!
svn: r17837
2010-01-26 17:33:38 +00:00
Casey Klein
9c6fdd86c8 Moved tests into a separate directory. Changed run-tests.ss to suppress the diffs window when bitmap-test.ss fails, to avoid tripping up DrDr.
svn: r17836
2010-01-26 17:29:39 +00:00
Eli Barzilay
4cb01a48b3 only for programs
svn: r17835
2010-01-26 15:04:51 +00:00
Eli Barzilay
be9d5787b4 Welcome to a new PLT day.
svn: r17834
2010-01-26 08:50:05 +00:00
Jon Rafkind
794efa5ebb s/trigraph/ternary
svn: r17833
2010-01-26 00:25:45 +00:00
Jon Rafkind
9ee9280485 support commas in function calls
svn: r17832
2010-01-26 00:10:01 +00:00
Jon Rafkind
6f26a0ffeb add trigraph expression
svn: r17831
2010-01-25 23:21:26 +00:00
Robby Findler
f54ccdc9d5 probable fix to error seen in drdr
svn: r17827
2010-01-25 21:51:52 +00:00
Eli Barzilay
04725539c7 Propagate path to syntax source of evaluated files when applicable
Set `current-load-relative-directory' based on path when it names a directory.

svn: r17826
2010-01-25 21:02:15 +00:00
Sam Tobin-Hochstadt
8ccbe74e5e don't open url twice
svn: r17824
2010-01-25 20:00:32 +00:00
Sam Tobin-Hochstadt
af2ef07d05 Fix the handling of with-handlers that returns multiple values
svn: r17823
2010-01-25 19:51:16 +00:00
Sam Tobin-Hochstadt
c9b246a8d2 use syntax-parse
support #:predicate option to `define-typed-struct-internal'

svn: r17822
2010-01-25 19:35:56 +00:00
Jon Rafkind
9dccfcbe28 factor out common expressions for better performance. thanks to ryan
svn: r17821
2010-01-25 18:51:34 +00:00
Sam Tobin-Hochstadt
bb541fd03f Improve `internal-forms'
First step to custom predicates in `define-typed-struct-internal'

svn: r17820
2010-01-25 18:38:56 +00:00
Sam Tobin-Hochstadt
e493ba5c6a improve internal error messages
svn: r17819
2010-01-25 17:23:19 +00:00
Kevin Tew
7114cdf51e Inital places documentation
svn: r17818
2010-01-25 16:11:34 +00:00
Robby Findler
5f69c8ed4e now using redex check to generate random examples (and with more variety than before)
svn: r17816
2010-01-25 16:04:34 +00:00
Sam Tobin-Hochstadt
674e40a212 Re-enable unexpanded syntax printing. Merge to release.
svn: r17815
2010-01-25 15:44:48 +00:00
Sam Tobin-Hochstadt
2cd7fe5499 Simplify pattern for expressions in type env.
Attempt to avoid doing local-expansion repeatedly.

svn: r17812
2010-01-25 14:46:34 +00:00
Matthew Flatt
530a3eb5e8 change R5RS to allow splicing unquote at tail when expression is not a list; merge to 4.2.4
svn: r17811
2010-01-25 13:33:42 +00:00
Robby Findler
aee10699ae made the splash screen always be a dialog box
svn: r17810
2010-01-25 12:39:38 +00:00
Eli Barzilay
fee5ed923d Welcome to a new PLT day.
svn: r17809
2010-01-25 08:50:06 +00:00
Robby Findler
cf4294a280 changed the internal representation of normalized images so that crop structs do no have to be duplicated, improved test suites
svn: r17808
2010-01-24 20:22:58 +00:00
John Clements
bef818b2be test changes, goes in release 4.2.4
svn: r17806
2010-01-24 19:31:29 +00:00
John Clements
2098a19291 fixed dmda stepper bug: goes in 4.2.4 release
svn: r17805
2010-01-24 19:28:57 +00:00
John Clements
100fe8520d took bad require out
svn: r17803
2010-01-24 18:21:56 +00:00
Matthew Flatt
4ce8dfa7da fix problems with having a struct implement both prop:evt and prop:procedure; merge to 4.2.4
svn: r17802
2010-01-24 15:30:16 +00:00
Casey Klein
bbc654c69e Typesetting now recognizes carets (^) in the underscore component of a
non-terminal reference, applying the non-terminal-superscript-style to
the text following the caret.

svn: r17801
2010-01-24 11:36:29 +00:00
Eli Barzilay
efc980768b Welcome to a new PLT day.
svn: r17797
2010-01-24 08:50:21 +00:00
John Clements
25cd6766fa test files, for release if it matters..
svn: r17795
2010-01-24 07:23:59 +00:00
John Clements
a18447e970 srfi 19 tests, not for release
svn: r17794
2010-01-24 07:23:09 +00:00
John Clements
ba18a93fa6 fixed bug involving certificates appearing in different places
svn: r17793
2010-01-24 07:01:25 +00:00
Robby Findler
c0cea48170 random testing found bugs (please include in release)
svn: r17792
2010-01-24 02:02:56 +00:00
Robby Findler
5f9a774880 fixed error message reporting bugs (merge to release branch)
svn: r17790
2010-01-23 23:07:34 +00:00
Carl Eastlund
a197b98706 Fixed permissive/c, which I had ported to the wrong kind of contract.
svn: r17787
2010-01-23 21:33:06 +00:00
Carl Eastlund
ae54797717 Fixed use of (contract ...) in web-server collects where I got arguments in wrong order.
svn: r17786
2010-01-23 21:06:29 +00:00
Robby Findler
3c1d7e9aca simple fix to deal with performance problem noticed by jpr (this is not a complete fix, but should work in the common case of lots of repeated place-image calls)
svn: r17783
2010-01-23 20:36:54 +00:00
Carl Eastlund
bd9b6e9e97 Made unit contract test regular expressions more robust.
svn: r17782
2010-01-23 18:31:32 +00:00
Carl Eastlund
d00e3432d9 Replaced #%variable-reference with quote-module-path for unit contract blame.
svn: r17781
2010-01-23 18:31:10 +00:00
Carl Eastlund
88aba214c9 Merged changes from trunk. No conflicts.
svn: r17780
2010-01-23 17:44:27 +00:00
Robby Findler
ebb815cc68 added a comment to describe all-string-snips
svn: r17778
2010-01-23 16:43:08 +00:00
Robby Findler
5dfed472c7 svn: r17777 2010-01-23 16:03:50 +00:00
Eli Barzilay
57868b0bc7 Welcome to a new PLT day.
svn: r17775
2010-01-23 08:50:40 +00:00