Commit Graph

358 Commits

Author SHA1 Message Date
Ryan Culpepper
1d04ce2069 move unstable/redex to unstable/gui/redex to fix dist-specs
Also, don't use unsupported unicode chars.
(Should these be added to latex renderer?)
2013-04-05 16:01:50 -04:00
Ryan Culpepper
ffa589116f added unstable/redex with useful typesetting (rewriter) helpers 2013-04-04 13:28:01 -04:00
chrdimo
a499b22a3c improving performance of options 2013-03-27 16:16:25 -04:00
Eli Barzilay
af6be85ff5 Fix lots of indentation mistakes.
(Found by my ayatollah script...)
2013-03-14 10:55:47 -04:00
chrdimo
9743afeebf replacing transfer-option with transfer/c 2013-03-13 21:15:00 -04:00
Robby Findler
6914451426 fix readtable composition in #2d reader 2013-03-13 10:13:33 -05:00
Robby Findler
cbd8f073a9 forgot to add tabular.rkt 2013-03-12 15:04:35 -05:00
Robby Findler
bb0795c502 an attempt at 2d documentation 2013-03-12 14:53:16 -05:00
Robby Findler
74d5706c20 properly compose readtables 2013-03-11 18:53:40 -05:00
Robby Findler
d652d69d14 adjust 2d reader so the keyword has its own source location
and is syntax-original?
2013-03-11 18:53:40 -05:00
Robby Findler
761054890d extend the lexer <-> framework's color:text api
to let lexers say "call me again before you change the buffer"

also, use this in the 2d lexer
2013-03-10 20:17:20 -05:00
chrdimo
0939cfcaf9 adding common special for the wrap-proc of the chaperone for option contracts on procedures 2013-03-04 21:48:52 -05:00
chrdimo
7f67252cb3 replacing applicable structures for procedure options with chaperones + tweak-option + with-contract mode 2013-03-02 23:36:21 -05:00
Robby Findler
87a8e6f677 fix unstable/2d's lexer to handle eof better 2013-02-26 12:41:19 -06:00
chrdimo
a3a98fd933 support for keyword argumnets + transfer-option, exercise-option and waive-option do not raise an error on values without an option 2013-02-25 22:18:17 -05:00
Robby Findler
a0059f791a more 2d lexer repairs 2013-02-24 16:37:06 -06:00
Robby Findler
b3e803c757 add context information into the error messages for option contracts
Also, minor code cleanup (don't create a function and pass it
around when has only one thing in its closure and you can
just pass that around, especially when passing the function around
makes the code harder to read and the created function has to
have a "dot" arglist and use "apply" in its body)
2013-02-24 09:04:47 -06:00
Robby Findler
fe515e3ac7 fix bugs in unstable/2d lexer 2013-02-23 20:12:56 -06:00
Robby Findler
64d7911fe5 add has-option? to check if a value has an option contract or not 2013-02-23 16:26:46 -06:00
Eli Barzilay
cec73f5652 Newlines at EOFs scan. 2013-02-23 02:09:56 -05:00
Matthew Flatt
7235c64355 fix cross-reference 2013-02-18 17:11:38 -07:00
Robby Findler
1ee765c7e3 fix bad test 2013-02-16 00:09:25 -06:00
Eli Barzilay
f27a48e46f Commentage. 2013-02-16 00:49:17 -05:00
Robby Findler
93bf0cd663 fix 2d lexer for the case when the #2d expression
isn't in the leftmost column
2013-02-15 10:29:34 -06:00
Robby Findler
30ca1f0baf add syntax coloring for 2d syntax 2013-02-14 19:51:08 -06:00
chrdimo
79b8661e13 restoring the link to unix sockets docs 2013-02-14 20:27:03 -05:00
chrdimo
a4f4773597 docs for option contracts 2013-02-14 19:56:43 -05:00
chrdimo
ee81c98ae9 extending option contracts; now handle procedures, vectors, hashes, struct instances, adding support for invariants for vectors, hashes and struct instances 2013-02-14 19:53:26 -05:00
Ryan Culpepper
1cb6c03488 clean up socket code 2013-02-14 17:19:08 -05:00
Ryan Culpepper
b3afbdd485 added unstable/socket 2013-02-14 17:19:08 -05:00
Ryan Culpepper
7a0b100ce0 tests for unstable/macro-testing 2013-02-14 17:19:08 -05:00
Ryan Culpepper
1ef3845873 added unstable/macro-testing 2013-02-13 16:14:45 -05:00
Robby Findler
6c93cfea56 move dir-chars.rkt to unstable/2d to unbreak dependencies 2013-02-07 10:16:10 -06:00
Robby Findler
bb216d142c 2d 2013-02-06 15:55:20 -06:00
Sam Tobin-Hochstadt
2e8ffe7400 Fix sequence-lift for multiple valued sequences.
Also minor fixups of the rest of `unstable/sequence`.
2013-02-02 18:16:35 -05:00
chrdimo
5348a4d2de fixing docs and tests for maybe/c (old option/c) 2013-01-28 16:55:33 -05:00
chrdimo
5808b0c4a0 adding option contracts in unstable 2013-01-28 01:09:05 -05:00
chrdimo
5231e15a78 renaming unstable/contract's option/c to maybe/c 2013-01-28 01:08:17 -05:00
Vincent St-Amour
1b48b5049f Add pointer to make-log-receiver from start-recording docs. 2013-01-18 18:25:18 -05:00
Robby Findler
22d1619058 Oops, sorry.
This reverts commit 8ccd1a2172.

This reverts commit ded6cb1da1.

This reverts commit 7df363c523.

This reverts commit 6349f85b08.
2013-01-17 20:43:03 -06:00
Robby Findler
8ccd1a2172 more tests 2013-01-17 15:39:36 -06:00
Robby Findler
ded6cb1da1 more test cases ... 2013-01-17 15:39:35 -06:00
Robby Findler
7df363c523 progress on 2d 2013-01-17 15:39:35 -06:00
Robby Findler
6349f85b08 2d cond reader (not yet done) 2013-01-17 15:39:35 -06:00
Vincent St-Amour
18389532e7 Move define-inline to racket/performance-hint.
Move begin-encourage-inline to racket/private for dependencies.
2013-01-02 12:18:36 -05:00
Matthew Flatt
f2d870859a logging: allow name in `log-message', report it in a log-receiver evt
The synchronization result of a log receiver is now a vector of four
values, instead of three, where the last one reports the name.

Also, an optional argument to `make-logger' provides a notification
callback for each event sent to the logger.

These changes enable more control over loggers and events. Suppose
that you have processes A and B, and you want all log events of A
to be visible to B, but not vice-versa. Furthermore, you want the
log events to appear at B in the right order: if A logs an event
before B, then A's event should arrive at a log receiver's before
B's. Now that a log receiver gets the name associated with the
original event, and now that the name can be re-sent in a
`log-receiver', it's possible to give A and B separate loggers and
send all of the events from A's logger to B's logger. Furthermore,
you can use the notification callback so that when an event is logged
in B, you can make sure that all available events from from A's
logger have been transferred to B's logger.
2012-12-27 14:12:40 -06:00
Vincent St-Amour
b715a6fed5 Add define-inline.
Drop-in replacement for define that guarantees inlining.
2012-12-17 13:57:31 -05:00
Ryan Culpepper
fd7d8a412c move lazy-require to racket/lazy-require 2012-12-03 19:28:12 -05:00
Ryan Culpepper
9762e3f895 remove unstable/cat (use racket/format instead) 2012-12-03 19:28:05 -05:00
Ryan Culpepper
9a7a80422c linked to serialization docs 2012-11-17 14:47:13 -05:00