Commit Graph

16010 Commits

Author SHA1 Message Date
Matthew Flatt
049e4dbdcb fix clipping 2010-11-05 15:54:00 -06:00
Matthew Flatt
d331ef6d98 fix underline; implement built-in brush patterns 2010-11-05 15:54:00 -06:00
Matthew Flatt
1aab1c78a3 fix canvas% refresh for Gtk 2010-11-05 15:54:00 -06:00
Matthew Flatt
0709870ef9 Windows build and config repairs 2010-11-05 15:53:59 -06:00
Matthew Flatt
930fefc3fc more drawing repairs 2010-11-05 15:53:58 -06:00
Matthew Flatt
dc00e22b85 fix drawing bugs and improve backward compatibility 2010-11-05 15:53:58 -06:00
Matthew Flatt
88606ae251 drawing repairs 2010-11-05 15:53:58 -06:00
Matthew Flatt
cee45914f4 add get-pixel method to bitmap-dc% 2010-11-05 15:53:58 -06:00
Matthew Flatt
233b131d9b clarify some notes and comments 2010-11-05 15:53:58 -06:00
Matthew Flatt
41ce8ece58 add GIF parser 2010-11-05 15:53:57 -06:00
Matthew Flatt
44847f8278 adjust exe creation of GRacket2 binaries for Mac OS X 2010-11-05 15:53:56 -06:00
Matthew Flatt
aabc1cf5a7 fixes for Windows 2010-11-05 15:53:56 -06:00
Matthew Flatt
5baba1d81a gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
Matthew Flatt
6829e96ded gracket2 racket/draw 2010-11-05 15:53:55 -06:00
Matthew Flatt
bcb075543c adjust mred/private/syntax for gracket2 2010-11-05 15:53:54 -06:00
Jon Rafkind
e0e3870a62 dont modify positions if line numbers arent being shown 2010-11-05 15:43:20 -06:00
Jon Rafkind
a698d89a75 adjust x position when finding editor locations 2010-11-05 15:15:01 -06:00
Ryan Culpepper
a39645ff7a fixed error in syntax-parse docs (re ~bind, #:attr) 2010-11-05 13:47:54 -06:00
Ryan Culpepper
f97428ab1e macro-stepper: options: draw-arrows?, refresh-on-resize? 2010-11-05 13:47:53 -06:00
Ryan Culpepper
0d3b092097 macro-stepper: faster rendering, async improvements
added async stop button (and disable breaks around editor operations)
  eliminated redundant calls to refresh in display<%>
2010-11-05 13:47:01 -06:00
Casey Klein
743ccafd15 Improves the error reporting and documentation for `define-relation' 2010-11-05 08:59:46 -05:00
Eli Barzilay
9a485064ed Clarify comment re `fixnum?' non-use at the syntax level, and add a note
to the `fixnum?' documentation.
2010-11-05 01:48:23 -04:00
Eli Barzilay
84ec108c32 Make the disabled places comment more prominent. 2010-11-05 01:34:27 -04:00
Eli Barzilay
f11bb7795c Added per-machine $more_setup_args configuration 2010-11-05 01:34:27 -04:00
Casey Klein
df810e8e10 Closes PR 11383 2010-11-04 17:31:35 -05:00
Robby Findler
8bf096b1e3 added contracts to define-relation.
(also removed old, wrong tl-pat stuff from the docs)
2010-11-04 17:29:14 -05:00
Vincent St-Amour
4c081c127a Fixed a fixnum typechecking issue. 2010-11-04 17:27:34 -04:00
Vincent St-Amour
c0a6137c67 Fixed potential danger with fixnum optimizations. 2010-11-04 15:35:21 -04:00
Robby Findler
ae5cd21a1b 2htdp/image: changed the way drawing works, specifically avoid normalization before drawing to preserve sharing 2010-11-04 13:55:41 -05:00
Robby Findler
4941aec617 removed unused argument to normalize-image 2010-11-04 13:55:40 -05:00
Jon Rafkind
c0d504b7b8 use a lighter color for same paragraph lines 2010-11-04 11:56:36 -06:00
Jon Rafkind
9742f896f9 right align numbers 2010-11-04 11:56:36 -06:00
Ryan Culpepper
553ef2834d syntax/parse: removed stx from expectstack 2010-11-03 18:09:21 -06:00
Ryan Culpepper
95d690d550 syntax/parse: pinpoint stx from progress, not expectstack 2010-11-03 18:09:21 -06:00
Ryan Culpepper
68e7cda162 syntax/parse: added todo items 2010-11-03 18:09:20 -06:00
Jon Rafkind
d1e44d0cc8 set minimum line width to accept 100 lines 2010-11-03 17:59:40 -06:00
Jon Rafkind
c3111c425b allow line number width to increase automatically 2010-11-03 17:58:18 -06:00
Jon Rafkind
1093b4a430 get the line number from the paragraph 2010-11-03 17:16:34 -06:00
Jon Rafkind
68c197f639 clean up line numbers code 2010-11-03 15:15:54 -06:00
Jon Rafkind
7f56e677f4 add line number interface documentation 2010-11-03 15:09:04 -06:00
Jon Rafkind
4a69c36258 use line locations instead of counting snips 2010-11-03 14:56:05 -06:00
Vincent St-Amour
c990d602b0 Typo in the syntax-model docs. 2010-11-03 12:52:57 -04:00
Casey Klein
bd0ebc7511 Adds auto-completion to LaTeX and TeX inspired keybindings 2010-11-02 22:34:05 -05:00
Jay McCarthy
6d2042fbd9 The stacks appear to be different, so maybe the JIT is different on Linux and disabling it will get stable output? 2010-11-02 15:44:35 -06:00
Eli Barzilay
2787cc85c8 Add symlink and html link to the libs content 2010-11-02 17:24:59 -04:00
Eli Barzilay
14351c0b61 Sort projects by age 2010-11-02 17:24:59 -04:00
Jon Rafkind
87cc623a6f set clipping for regular text. minor optimization when choosing line numbers to draw 2010-11-02 13:09:54 -06:00
Jon Rafkind
eb89a429e7 set the font before computing the distance between the line numbers and the real text. add an option to the general pane to enable line numbers 2010-11-01 23:45:00 -06:00
Jon Rafkind
18504774f0 cleanup code. attempt to add preference for line numbers in the general tab. closes pr11367 2010-11-01 22:14:45 -06:00
Jon Rafkind
4f3e87d42a replace the line number widget in drracket with the new mixin from the framework 2010-11-01 22:14:45 -06:00
Jon Rafkind
32bd5c9f5f document line-numbers-mixin 2010-11-01 22:14:45 -06:00
Jon Rafkind
281138d4b8 clean up line numbers implementation 2010-11-01 22:14:45 -06:00
Jon Rafkind
dc6350244d add first draft of a mixin for text% objects that displays line numbers 2010-11-01 22:14:44 -06:00
Eli Barzilay
ea591c3c23 * Add an attempt to find the SHA1 and date from the ".git/HEAD" file.
* Try "/opt/local/bin/git" on OSX, since it's a common path for git, and
  when running through the Finder it will usually not be found in the
  $PATH.

* Explain the various results in a detailed comment.
2010-11-01 17:26:06 -04:00
Eli Barzilay
3160f821a5 Reorganize the POSIX entries in a more logical order, fix [:lower:] and
[:print:].

Fixes PR 11333.
2010-11-01 15:16:13 -04:00
Jay McCarthy
7c452ad7ea Maybe the DrDr error is related to flushing? 2010-11-01 10:20:31 -06:00
Jay McCarthy
a12feab953 Setting drdr prop 2010-11-01 10:18:54 -06:00
Eli Barzilay
3bd84c617a Describe Unicode categories, move them to a separate table.
Also, use litchar on mentions of \-escapes and unicode categories on the LHS.

Closes PR 9424.
2010-11-01 08:25:35 -04:00
Eli Barzilay
aff75b5005 Some racketization and scribble-syntax-ization, general improvements.
(No changes in the output page after this commit, except for one bogus
empty line at the beginning of the types table.)
2010-11-01 08:25:35 -04:00
Eli Barzilay
4d11d12c40 The reader for "#lang scribble/html".
(Somehow wasn't included in the earlier commit.)
2010-11-01 08:25:35 -04:00
Eli Barzilay
a7220062de old typo 2010-11-01 08:25:35 -04:00
Casey Klein
f346b246af Configures DrDr to compile, not ignore, that file in the VM model 2010-11-01 03:34:40 -05:00
Casey Klein
eb540bc044 Configures DrDr to ignore file in Redex VM model 2010-10-31 18:23:15 -05:00
Casey Klein
f9b64fa2b8 Removes `apply-reduction-relation*' trie experiment 2010-10-31 17:28:19 -05:00
Casey Klein
152084d5ce Adds an experiment in using a trie in `apply-reduction-relation*' 2010-10-31 17:26:20 -05:00
Casey Klein
e9a909a504 Adds randomized tests for Racket VM model 2010-10-31 17:26:20 -05:00
Casey Klein
7f0e712dab Renames some functions to match latest paper draft. 2010-10-31 17:26:19 -05:00
Robby Findler
d082e805b2 fix bug in error checking for save-image 2010-10-31 10:12:04 -05:00
Robby Findler
e80fb21c7c unbreak test suite 2010-10-31 10:12:03 -05:00
Matthew Flatt
aa7c4b53d9 add `codeblock' to Scribble 2010-10-31 07:09:27 -06:00
Jay McCarthy
17f1230bba Reenabling demod docs 2010-10-30 13:11:29 -06:00
Blake Johnson
199a63772a scrbl file and longer command name 2010-10-30 12:49:27 -06:00
Jay McCarthy
26c7625c79 Exposing more values to GC by not making them toplevels 2010-10-30 09:14:58 -06:00
Jay McCarthy
255489e0af Saving time by only reading zos once and saving space by limiting the extent of the hash tables 2010-10-30 08:54:13 -06:00
Jay McCarthy
46e2e7931a Removing newlines from debug messages 2010-10-30 08:31:23 -06:00
Jay McCarthy
c14382bf80 No longer running example file. Maybe it should be removed 2010-10-29 22:37:28 -06:00
Jay McCarthy
690ed259ad Wrapping standalone tests so that no stderr is produced 2010-10-29 22:35:20 -06:00
Jay McCarthy
8516001c08 Removing dead file 2010-10-29 22:24:50 -06:00
Jay McCarthy
83272e88d4 Fixing stupidity until the doc is available 2010-10-29 21:36:34 -06:00
Jay McCarthy
ef6aa7d0b2 Increasing timeout 2010-10-29 21:33:32 -06:00
Jay McCarthy
ec7157744f Repairing tests 2010-10-29 21:32:31 -06:00
Jay McCarthy
4b84fa1446 Setting responsible on raco docs 2010-10-29 21:27:47 -06:00
Jay McCarthy
3b2e14fc56 Setting responsible and DrDr cmdline 2010-10-29 21:26:37 -06:00
Jay McCarthy
7c43846b4e Removing old tests 2010-10-29 21:24:11 -06:00
Blake Johnson
783418ce37 only creating zo file 2010-10-29 19:50:12 -06:00
Blake Johnson
a315f79ebd rolling back some unnecessary changes 2010-10-29 19:50:12 -06:00
Blake Johnson
b2b5875e3e replacing self modidx refs and tests 2010-10-29 19:50:12 -06:00
Blake Johnson
0688c18593 fixing logging and running code in zo-exs 2010-10-29 19:50:11 -06:00
Blake Johnson
43e151f340 using hasheq in zo-marshal 2010-10-29 19:50:11 -06:00
Blake Johnson
77c46d07ee debugging 2010-10-29 19:50:11 -06:00
Blake Johnson
7bffbc31a2 Avoiding cycles in everything but closures 2010-10-29 19:50:11 -06:00
Blake Johnson
d84b78daab offset calculation fix 2010-10-29 19:50:11 -06:00
Blake Johnson
3ddda200e8 changed eprintfs to log-debug 2010-10-29 19:50:11 -06:00
Blake Johnson
4676662e4b moved demodularizer from github to collects and added it to raco 2010-10-29 19:50:10 -06:00
Ryan Culpepper
a3367fd0b4 macro-stepper: added thread/eventspace check
Closes PR 11364 (actually, earlier commit closed)
2010-10-29 16:54:26 -06:00
Ryan Culpepper
60f8d3854a syntax-parse: tidy up 2010-10-29 16:01:51 -06:00
Ryan Culpepper
b9961d605d macro stepper: don't create new eventspace
Closes PR 11299
2010-10-29 16:01:51 -06:00
Ryan Culpepper
f17d0001c4 Changed rackunit top-level test output to stderr
Made test-begin accept zero expressions
 Closes PR 11331
2010-10-29 16:01:50 -06:00
Ryan Culpepper
454673ddcc Documented set-count
Closes PR 11093
2010-10-29 16:00:43 -06:00
Robby Findler
822895fd68 fix minor bug in 'display-end functionality in invalidate-bitmap-cache 2010-10-29 15:06:48 -05:00
Robby Findler
cc0f246048 unbreak 2htdp/image 2010-10-29 14:55:56 -05:00
John Clements
cbe42caa41 added clarification on protect-out docs 2010-10-29 12:43:52 -07:00
Casey Klein
4542d071d5 Adds the `test-->>∃' form. 2010-10-28 20:22:35 -05:00
Matthias Felleisen
18a81f8552 record images during world program, not events; Closes PR11351 2010-10-28 18:43:19 -04:00
Robby Findler
82d11cfa6c fix up Matthias's tests so they are more drdr friendly 2010-10-28 17:20:43 -05:00
Robby Findler
ebe486886c change 2htdp/image to export image=? 2010-10-28 17:20:43 -05:00
Robby Findler
3782c2e749 change save-bitmap in 2htdp/image so that is uses the width and height of the image by default, but also so it accepts two optional arguments to change that. 2010-10-28 17:20:43 -05:00
Robby Findler
6a414bd18a fixed some bugs in the way 2htdp/images were marshalled and unmarshalled 2010-10-28 17:20:43 -05:00
Robby Findler
7ef1e8bd90 fixed a bug in the way old 2htdp/image files were parsed (those that contain bitmaps) 2010-10-28 17:20:43 -05:00
Robby Findler
abca2c91b8 added default case to avoid runtime errors when parsing bogus images 2010-10-28 17:20:42 -05:00
Robby Findler
02d8b5cebf 2htdp/image: adjusted the image you get when parsing fails so that it draws inside its bounding box 2010-10-28 17:20:42 -05:00
Jay McCarthy
69fb56189a datum doesn't need to be anfd 2010-10-28 16:07:52 -06:00
Eli Barzilay
58febe21a0 Move the #%top' binding that makes foo:' keywords self evaluating from
`scribble/html/lang' to `scribble/html'.

Since `foo:' keywords are very common in any code that uses
`scribble/html', it is much more convenient to have it provide the
custom `#%top'.  It simplifies code that uses it, for example, files in
`meta/web/common' now use

  #lang at-exp racket/base
  (require scribble/html)

instead of the (only-in scribble/html/lang #%top) which it used before,
or instead of explicitly quoting all `foo:'s.
2010-10-28 17:31:22 -04:00
Eli Barzilay
97ed1f3182 typos 2010-10-28 17:31:22 -04:00
Jay McCarthy
ac4fb05f0c Correct error in mutator quote 2010-10-28 11:18:28 -06:00
Jay McCarthy
05832af083 Correct handling of procedure env roots in mutator 2010-10-28 11:18:27 -06:00
Robby Findler
a744958fd5 added support to the 2htdp/image library for reading files when there is no GUI around.
currently the support is limited to images that can only report their sizes and pinholes and where equal?
signals an error unless the arguments are eq?.
2010-10-28 11:32:14 -05:00
Robby Findler
68b06b42d9 add missing for-label require 2010-10-28 11:32:14 -05:00
Robby Findler
a021403679 tightened the contract on read-snip 2010-10-28 11:32:14 -05:00
Matthias Felleisen
e7f042f09f Contracts for more than (simple) types 2010-10-27 18:08:44 -04:00
Vincent St-Amour
25749736c9 Fixed a typo in the scribble docs.
Merge to 5.0.2.
2010-10-27 16:15:50 -04:00
Vincent St-Amour
c633913b94 Add optional argument to make-hash and co. 2010-10-27 16:15:50 -04:00
Jon Rafkind
f21a15aef1 add some examples for port functions 2010-10-27 12:39:21 -06:00
Jon Rafkind
5633895cf0 add notes about reading entire ports 2010-10-27 12:07:36 -06:00
Jon Rafkind
b8ad3ad1cb use racket. add list-match utility 2010-10-27 12:07:36 -06:00
Mike Sperber
4bf3ca44d0 Unbreak DMdA REPL.
Follow Robby's commit to htdp-langs.rkt.
2010-10-27 19:48:59 +02:00
Matthias Felleisen
f600531e50 improved testing for record? 2010-10-27 10:35:11 -04:00
Matthias Felleisen
42bceaf900 documented record?, which has a slightly wider interface so that I can write automated tests for the raw functionality 2010-10-27 10:21:37 -04:00
Matthias Felleisen
f876a854c6 partial fix for pr11350 2010-10-27 10:21:36 -04:00
Eli Barzilay
95c3772e8a typo 2010-10-27 09:42:11 -04:00
Matthias Felleisen
07952e1408 impose contract on write-animated-gif, Closes PR11358 2010-10-26 23:22:14 -04:00
Matthias Felleisen
9c4758a456 specified rate-expr 2010-10-26 23:22:14 -04:00
Robby Findler
b121171a98 fixed a bug in the way interval maps were being used in check syntax.
please push to the release branch.
2010-10-26 19:47:35 -05:00
Matthias Felleisen
6457f1e4cc record? is working as it used, plus ability to auto-save images so I can write a test case, Closes PR11348 and PR11349 2010-10-26 19:02:43 -04:00
Sam Tobin-Hochstadt
7802f1deb7 Add source locations in match -> match* conversion 2010-10-26 18:09:45 -04:00
Sam Tobin-Hochstadt
561fdc8db5 Avoid dumb parsing bugs in require/typed. 2010-10-26 18:09:45 -04:00
Eli Barzilay
69a490c10b More name improvements: scribble/text/textlang' -> scribble/text/lang'
and the same for `scribble/html/lang'.
2010-10-26 16:17:09 -04:00
Eli Barzilay
667c682c2b Better filename conventions: "main.rkt"s that would just require the
necessary modules are now "all.rkt"s; "shard.rkt"s turn to
"resources.rkt".

Also, "navbar.rkt" changes to "all.rkt", since it was doing the same
thing (in addition to setting the navbar).
2010-10-26 16:09:16 -04:00
Eli Barzilay
82221a51db Make the scribble/html' layout mimic the one for scribble/text'.
Ie, the difference between using it as a language and as a module is now
the same in both.  Also, improve `scribble/html' (and
`scribble/html/htmllang') by reproviding most of the corresponding text
modules.

Change `meta/web' accordingly, and improve code by making a new langugae
(`#lang meta/web').  This language is similar to `scribble/html' except
that it uses the plain scribble reader (not the `-inside' one), it
doesn't use the customized module-begin feature (that uses
`output-xml'), and it adds all the relevant bits of `meta/web/common'.
(Also, "meta/web/common.rkt" is gone, since it's used only as a language
now.)

This commit has lots of details and binding games, so it's tricky, and
potentially caused some problems.  (Took me a while to track many
breakages, so I won't be surprised if there are more.)
2010-10-26 15:36:29 -04:00
Eli Barzilay
ca040ea42a Move meta/web/html' to scribble/html'.
(See http://lists.racket-lang.org/dev/archive/2010-October/004691.html
for a discussion on calling it `html' rather than `xhtml'.)
2010-10-26 13:50:17 -04:00
Eli Barzilay
95729c3e95 Fix require in a non-web file. 2010-10-26 09:27:50 -04:00
Eli Barzilay
2cda694ab7 Fix the names used by the sh', tgz', and `zip' installers to use
`racket', `racket-textual' and `racket-full' instead of `plt', `mz', and
`full'.

(Also use uniform argument names in packaging functions.)
2010-10-26 07:21:12 -04:00
Eli Barzilay
5f3718a24e Add a stub to generate a wiki template. 2010-10-26 07:21:12 -04:00
Eli Barzilay
ed5033159a Add racket/list' and racket/string' to the web language, adjust
existing requires.

(It's supposed to be a convenient language...)
2010-10-26 07:21:12 -04:00
Eli Barzilay
7ac83e25c9 Provide `process-begin/text' to make it convenient to define more
`scribble/text'-like languages.  Use it to define a convenient syntax
for html modules.

This is not used by the web content files since they define functions
rather than spit out html when required, but makes it convenient to make
an html markup language similar to scribble/text.
2010-10-26 07:21:11 -04:00
Eli Barzilay
2491ac914c Fix a couple of "~e"s to "~.s"s. 2010-10-26 07:21:11 -04:00
Jon Rafkind
b55b9adde4 better error messages 2010-10-25 15:00:49 -06:00
Jay McCarthy
c2e81d4aa0 Probably fixing a problem reported by Eli that I don't know how to recreate 2010-10-25 14:50:21 -06:00
Casey Klein
f4c4b79049 Renames delim-cont tests so that they're not stripped by the distribution script.
(Merge to release branch.)
2010-10-25 15:18:16 -05:00
Ryan Culpepper
24297a793f data/gvector: fixed typo in constructor
Merge to 5.0.2
2010-10-25 11:31:55 -06:00
Matthew Flatt
5d8e000d6d swap vector*-ref' and vector-ref', etc.
Merge to 5.0.2
2010-10-25 11:22:35 -06:00
Eli Barzilay
91f9f0c2d3 Organize dist-specs; remove bogus collection.
Merge to 5.0.2.
2010-10-25 02:42:31 -04:00
Ryan Culpepper
677867ba6c Adjusted props 2010-10-24 20:13:19 -06:00
Ryan Culpepper
f65c8c3427 Macro stepper status bar notifications 2010-10-24 13:17:04 -06:00
Matthew Flatt
c512dbd6d3 fix bogus reordering of floating-point args in unboxing mode
Merge to 5.0.2
 Closes PR 11272
2010-10-22 21:19:18 -06:00
Matthew Flatt
51d613aab2 doc improvements 2010-10-22 20:15:38 -06:00
Stevie Strickland
2847ac86bd Rearrange ->d appropriately to use proxies/chaperones.
Also remove the old tests for tail-call behavior with ->d.
I think it was a faulty way of doing the optimization, and we can't even
do it in the same way now, since we can't get the original "raw" arguments
to the right place via continuation marks.

->i has a much better chance of having this optimization where possible,
and when I start converting ->i, I'll make sure to add appropriate tests.
2010-10-22 16:06:56 -07:00
Ryan Culpepper
e38b12e3e0 Removed incorrect uses of ->i underscores 2010-10-22 15:30:24 -06:00
Ryan Culpepper
c941db0bfa Added ~peek-not, cf packrat/PEG ! operator 2010-10-22 15:30:24 -06:00
Ryan Culpepper
ff7fd55d86 Check Syntax now uses interval-maps 2010-10-22 15:30:24 -06:00
Jon Rafkind
b406e74a8e remove old parser implementation. disable honu expansion and disable
debugging output
2010-10-22 14:33:22 -06:00
Robby Findler
4f236386a9 fixed an (apparently VERY old) problem with lights out and the built-in boards
please merge to release branch
2010-10-22 14:43:58 -05:00
Robby Findler
9468982d2e removed the use of opt/direct because it currently duplicates expressions
the missing fix is to have the optimizer figure out the name for the contract
instead of evaluating the contract to get the name
2010-10-22 14:07:31 -05:00
Robby Findler
31f4a120f1 added two stress tests for ->i performance 2010-10-22 14:07:30 -05:00
Jon Rafkind
e1ca24b80d add parse file 2010-10-22 10:48:12 -06:00
Jon Rafkind
a1e26dd01b try to fix infix macros 2010-10-22 10:48:12 -06:00
Jon Rafkind
1b356476a4 change printf to debug. add infix macro parser 2010-10-22 10:48:11 -06:00
Jon Rafkind
c45aba592d allow comma in templates 2010-10-22 10:48:11 -06:00
Jon Rafkind
86e7b98d65 fix condition. patterns can take literals 2010-10-22 10:48:11 -06:00
Jon Rafkind
29ed62021c convert syntax back to honu form 2010-10-22 10:48:11 -06:00
Jon Rafkind
eeaf6b4981 fix with-syntax 2010-10-22 10:48:10 -06:00
Jon Rafkind
02e87cdc0c add with-syntax 2010-10-22 10:48:10 -06:00
Jon Rafkind
03562eb8e3 fix if. add check_expect. add some comparison operators 2010-10-22 10:48:10 -06:00
Jon Rafkind
4ee161b296 dont require core files 2010-10-22 10:48:09 -06:00
Jon Rafkind
3d26928a3c parse blocks 2010-10-22 10:48:09 -06:00
Jon Rafkind
00094ba4e3 make print a macro 2010-10-22 10:48:09 -06:00
Jon Rafkind
3d6de914b4 add print - display + newline 2010-10-22 10:48:09 -06:00
Jon Rafkind
9c30bda973 use honu/core. make a convenient macro for providing stuff 2010-10-22 10:48:08 -06:00
Jon Rafkind
00989ef01b add honu function 2010-10-22 10:48:08 -06:00
Jon Rafkind
32227e391d move rest of honu files. point core at local private files 2010-10-22 10:48:08 -06:00
Jon Rafkind
b185147a45 separate honu into core and user-level modules 2010-10-22 10:48:07 -06:00
Jon Rafkind
ebb177f28d parse assignment. add simple struct form that can be accessed by field identifiers 2010-10-22 10:48:07 -06:00
Jon Rafkind
a3fefc1c35 add struct example 2010-10-22 10:48:07 -06:00
Jon Rafkind
9a984fcc2b parse assignment 2010-10-22 10:48:06 -06:00
Jon Rafkind
a998a57000 add function tests 2010-10-22 10:48:06 -06:00
Jon Rafkind
222a3f509b allow multiple patterns in a macro. parse call before macro invocation. expressions can end with any number of semicolons 2010-10-22 10:48:06 -06:00
Jon Rafkind
44fc323cff emit macro-debugger steps. dont try to use phased macro invocation 2010-10-22 10:48:05 -06:00
Jon Rafkind
af678f40ec start to trampoline macro expansion 2010-10-22 10:48:05 -06:00
Jon Rafkind
2c6cf77b53 add another introducer. compute syntax position more accurately. parse statements 2010-10-22 10:48:05 -06:00
Jon Rafkind
befa88f1ac use literal sets 2010-10-22 10:48:05 -06:00
Jon Rafkind
99545f8a08 repeater for entire expressions 2010-10-22 10:48:04 -06:00
Jon Rafkind
81544ea644 use a different syntax for expressions 2010-10-22 10:48:03 -06:00
Jon Rafkind
9894670dbe define patterns (really syntax-classes). use different parsers depending on the context. implement provide and require 2010-10-22 10:48:00 -06:00
Jon Rafkind
0ec71da614 attach original syntax properties during expansion. add debug syntax
classes.
2010-10-22 10:48:00 -06:00
Jon Rafkind
d90235efbc dont parse raw scheme syntax. fix comma replacer 2010-10-22 10:47:59 -06:00
Jon Rafkind
59db2491d0 honu-syntax supports commas 2010-10-22 10:47:59 -06:00
Jon Rafkind
1b088f7c37 expand syntax properly. force use of syntax-parse classes 2010-10-22 10:47:59 -06:00
Jon Rafkind
d5357f6dca expose syntax-parse classes 2010-10-22 10:47:58 -06:00
Jon Rafkind
721c815d89 allow macros to reparse their input 2010-10-22 10:47:58 -06:00
Jon Rafkind
066166ce65 start to get transformers to work. weave in scheme syntax 2010-10-22 10:47:58 -06:00
Jon Rafkind
3d52f5ff12 parse macro functions 2010-10-22 10:47:58 -06:00
Jon Rafkind
31cafd7974 move syntax-rules macro to a syntax-parse pattern 2010-10-22 10:47:57 -06:00
Jon Rafkind
d5533606e6 attach honu-syntax to output from syntax-rules macros 2010-10-22 10:47:57 -06:00
Jon Rafkind
177141a852 test 2010-10-22 10:47:57 -06:00
Jon Rafkind
837f1e24e5 test 2010-10-22 10:47:56 -06:00
Jon Rafkind
64255032bb start to modify scheme's `syntax' binding 2010-10-22 10:47:56 -06:00
jon
2f5593a104 implement honu-syntax 2010-10-22 10:47:56 -06:00
jon
99e6eb5e9d fix parser so that it parses left to right 2010-10-22 10:47:56 -06:00
jon
72f83d19a9 parse transformers 2010-10-22 10:47:55 -06:00
jon
e052c33998 add hook for parsing transformers 2010-10-22 10:47:55 -06:00
Robby Findler
35f64145ca adjusted the way caching works for bitmaps to be more effective 2010-10-22 06:45:57 -05:00
Robby Findler
22ce241d4d no #%plain-app because test is not a function... 2010-10-22 06:45:56 -05:00
Robby Findler
c34bd6c28d fix the metadata parsing to be more robust so drracket does not crash when opening a corrupt htdp teaching language file
closes PR 11332
2010-10-22 06:45:56 -05:00
Sam Tobin-Hochstadt
dcd3f9a9aa Flush output in fuzz testing. 2010-10-21 23:40:12 -07:00
Jay McCarthy
34e940a8b5 Testing replacing 2010-10-21 22:29:28 -07:00
Jay McCarthy
03c1c7bf66 Filling out db interface 2010-10-21 22:29:28 -07:00
Jay McCarthy
c2f8e4c0fe Adding attributes to select-input 2010-10-21 22:29:28 -07:00
Jay McCarthy
8fb23b0825 More notes 2010-10-21 22:29:27 -07:00
Jay McCarthy
039fc7095a Describing architecture a little 2010-10-21 22:29:27 -07:00
Jay McCarthy
83bcba48a8 Database template and basic testing 2010-10-21 22:29:27 -07:00
Jay McCarthy
52ee8af48e Git Monitoring process 2010-10-21 22:29:26 -07:00
Eli Barzilay
f51fd94412 Another "/proj/scheme/" -> "/proj/racket" change. 2010-10-21 20:50:57 -04:00
Eli Barzilay
aebf9e77ef Fix require in test suite 2010-10-21 20:25:37 -04:00
Eli Barzilay
9e302a7106 Rename sequence' library to stream', move from racket/base' to racket'. 2010-10-21 19:49:39 -04:00
Eli Barzilay
2f5265854a Rename seqn-*' to stream-*'.
Later this will grow, to include a few kinds of streams in a unified
way, and possibly change the sequence protocol to a point where these
functions are not causing such big runtime penalties.
2010-10-21 19:49:39 -04:00
Eli Barzilay
655b066a93 Reformat, minor tweaks, reorganize part on sequence operations into a
new section.
2010-10-21 19:49:39 -04:00
Eli Barzilay
6d6492e9e3 "/proj/scheme/" renamed to "/proj/racket/" at CCS. 2010-10-21 19:49:39 -04:00
Stevie Strickland
b272c02548 Have unconstrained-domain-> do tail checks as well. 2010-10-21 16:22:51 -07:00
Stevie Strickland
1a9dffe78d Fix tail call behavior for ->, ->* contracts. 2010-10-21 15:03:42 -07:00
Stevie Strickland
8835f2f470 Optimizing the generated syntax.
* Avoiding `apply' when unnecessary
 * Avoiding `values' when unnecessary
 * Replacing apply+list/null with let+cons/no cons.
2010-10-21 15:03:42 -07:00
Stevie Strickland
84f3cb115b Add proxies for -> and ->*.
Attempt to do a recently intelligent job by using more specific lambdas
when possible (i.e., when the arity of the function matches the arity
specified by the contract).

Also, change testcases that test creation of proxy contracts to stop
depending on the proxy-ness of -> contracts.  This also uncovered a bug
in the testcase that checks that proxy contracts aren't allowed for
the domain in hash/c.
2010-10-21 15:03:42 -07:00
Stevie Strickland
dc415b21cc Remove dead code in an attempt to make it clear what needs to change here. 2010-10-21 15:03:42 -07:00
John Clements
e717cbc84a added drdr:command-line prop on universe-test.rkt 2010-10-21 13:13:57 -07:00
John Clements
b37187da59 added universe-test 2010-10-21 07:19:10 -07:00
Casey Klein
4577de0790 Fixes PR 11336. 2010-10-20 15:56:57 -07:00
Casey Klein
42687d26d1 Reverts most of push #21257.
That push recompiles a clause of an extended metafunction by
replacing the LHS with a recompiled form of the `lhs-pat' field of the
`metafunc-case' struct. But that field (used by the test generator)
also incorporates the clause's `where' and `side-condition' clauses,
causing them to executed twice when applying the recompiled clause (once
while matching its LHS, and once while evaluating its RHS).
2010-10-20 15:56:57 -07:00
John Clements
d18f43a488 cosmetic changes only 2010-10-20 12:05:06 -07:00
John Clements
34fbc9a06f frightening bug, #%if was capturing everything 2010-10-20 12:05:06 -07:00
John Clements
dfe6f78d80 back to old style, not sure why 2010-10-20 12:05:06 -07:00
Vincent St-Amour
a15236ea4f Fix opt-lambda:. Merge to 5.0.2. 2010-10-20 14:32:37 -04:00
Robby Findler
c5c6c1c9e6 explained #:domain 2010-10-20 12:34:14 -05:00
Robby Findler
b91a0da469 fixed and ->i bug that could cause expressions to be evaluated twice 2010-10-20 08:37:26 -05:00
Mike Sperber
594c72167e use #%plain-app to avoid possible problems with code injected into the teaching languages
Follow ae37e186e7 for DMdA.
2010-10-20 12:37:05 +02:00
John Clements
70898379c5 copied 'mzlib/convert-prop attachment from outer layer to inner layer. 2010-10-19 23:28:45 -07:00
Robby Findler
a7e72a6bae fix stupidity.... 2010-10-19 23:49:18 -05:00
Eli Barzilay
1e2d4b8169 Fix rendering in local build mode -- make it create file:// urls when
insisting on an absolute url (currently happens only in the tr pages).
2010-10-19 21:06:32 -04:00
Sam Tobin-Hochstadt
9cc35d59fe Fix fuzz tester prop. 2010-10-19 17:58:29 -07:00
John Clements
60dabc8ad7 may have fixed cond in stepper tests 2010-10-19 17:50:35 -07:00
John Clements
027450d128 increase timeout on stepper automatic tests 2010-10-19 17:50:35 -07:00
John Clements
0536d52efd looks like a fix for cond 2010-10-19 17:50:35 -07:00