Robby Findler
5a85af78ac
add contracts to the "with-" macros in redex/pict
2013-04-01 22:39:21 -05:00
Robby Findler
06696d67b4
add a #:pre keyword to define-metafunction
...
The keyword allows the specification of contracts
that relate different arguments
closes PR 13617
2013-03-18 12:54:27 -05:00
Robby Findler
4bfd6ff6e3
document define-metafunction's contract patterns properly
...
closes PR 13613
2013-03-17 09:47:42 -05:00
Robby Findler
0dd7d8f60b
adjust docs for check-metafunction to make the example
...
use more representative
closes PR 13614
2013-03-17 09:47:42 -05:00
Robby Findler
0c5c41fd54
add clause-name to define-metafunction, to be used with the
...
newly extended metafunction-cases
2013-03-15 23:00:50 -05:00
Robby Findler
42847ea523
follow up to William J. Bowman's commit
...
- put the tests together with the other define-union-language tests
- fix the docs
- add a release note
- construct the merged language a bit more directly
- properly deal with this kind of thing:
(define-language L1 (e f ::= 1 2 3))
(define-language L2 (e g ::= 4 5 6))
(define-union-language L L1 L2)
2013-03-01 19:38:57 -06:00
Robby Findler
d94d479f15
added 'boolean' pattern to Redex
...
closes PR 13330
2012-11-30 19:17:27 -06:00
Burke Fetscher
cf9b0f774b
Change define-relation to compile to a judgment-form, instead of a metafunction.
...
Also:
- remove the restriction on the use of unquote in define-judgment-form
- allows limited use (I modes only) of judgment-forms in terms
- allows the use of define-relation with the search/unification
based random term generation
2012-11-29 17:17:34 -06:00
Robby Findler
a4d440a5e9
fix redex docs and disable running test-docs-complete.rkt directly
...
in drdr (it runs already via run-tests.rkt)
2012-11-12 07:42:09 -06:00
Eli Barzilay
672910f27b
Lots of bad TAB eliminations.
...
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.
If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces. For example, to see
per-line authors, use "git blame -w <file>". Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Robby Findler
9377b634ff
added show-derivations to redex
2012-11-06 19:15:53 -06:00
Eli Barzilay
14d8c8b5a5
Newlines at EOFs.
2012-11-06 14:07:15 -05:00
Robby Findler
3d5178bcb0
adjust generate-term so that it has an '=' in its concrete
...
syntax when generating something from a metafunction
export redex-generator (and add docs)
rename generate-types.rkt to typing-rules-no-ellipses.rkt
2012-11-01 21:13:39 -05:00
Danny Yoo
dcf4d8b040
adding close-eval at the end of scribble files that have a toplevel evaluator
2012-11-01 15:32:53 -06:00
Robby Findler
06e5239441
add rule names to the derivation struct
...
change the intermediate data structures built up
while building the derivation to use their own
structs (instead of vectors)
2012-10-24 12:30:40 -05:00
Robby Findler
7355c59fb1
added the ability to extract a derivation
...
from a judgment-form via build-derivation
(returns derivation structs)
2012-10-21 23:19:54 -05:00
Burke Fetscher
44dd4acb44
Additional random test generation capability for Redex.
...
This adds the option to generate random terms that satisfy
judgment-forms and metafunctions.
Currently functionality does not include:
- patterns/terms using: ellipses, in-hole/hole and relatives, side-conditions, unquotes
- define-relation
- redex-check integration
2012-10-17 16:30:51 -05:00
Robby Findler
b8f5776797
add examples to redex-match and redex-match?
...
please include in release
2012-10-16 10:51:45 -05:00
Stephen Chang
4be0219855
fix docs for define-judgment
...
clarify the places where unquotes are not allowed
2012-10-14 12:35:55 -04:00
Stephen Chang
93784be78d
fix define-judgment docs
...
change so mode-spec is not optional in grammar
2012-10-14 11:06:55 -04:00
Asumu Takikawa
16b15c89f7
redex: doc fixes
2012-10-05 11:42:32 -04:00
Robby Findler
d6a8ac85b4
added some pretty-print using term formatters and fixed the
...
docs for term->pict.
closes PR 13150
2012-10-01 23:27:48 -05:00
Robby Findler
0fd52435a4
add a note about "" in with-compound-rewriter
2012-09-09 23:45:54 -05:00
Robby Findler
40e5b63bbc
allow identifiers as names, not just strings
2012-08-09 15:28:42 -05:00
Robby Findler
0369342bfe
added names to clauses in define-judgment-form and added
...
judgment-form-cases to use the names to control typesetting
2012-08-08 21:34:28 -05:00
Burke Fetscher
29661cc675
add #:lang keyword to term, which checks that underscored symbols agree with patterns in the provided language...changed most internal uses of term to use this form
2012-08-08 11:09:01 -05:00
Burke Fetscher
db437e0ba8
clarify define-extended-language example
2012-08-01 10:09:45 -05:00
Robby Findler
63dc751450
add some simpler exercises to start
...
and link to existing introductory Racket
tutorials
2012-07-28 00:28:30 -05:00
Robby Findler
519b69362f
fix bug in inline code
...
merge to the release branch, please
2012-07-22 19:51:19 -05:00
Robby Findler
40ec33c12b
improve blue box spacing in Redex reference
2012-06-22 19:47:52 -05:00
Robby Findler
81cbb10213
fix docs for render-term
...
closes PR 12834
2012-06-09 07:12:15 -05:00
Asumu Takikawa
0b90dc49cf
Fix docs for render-term.
2012-04-19 17:37:12 -04:00
Robby Findler
676f744c1d
add 'match-pattern?'
2012-03-27 12:21:17 -05:00
Robby Findler
9d43203990
adjusted the render-* functions so they produce .pdf if the given
...
filename ends with #rx#"[.]pdf".
2012-03-17 08:36:34 -05:00
Robby Findler
ac99b732fa
fix missing #:eval in redex tutorial
2012-03-13 16:44:38 -05:00
Robby Findler
b7caf411ae
added define-extended-judgment-form to Redex
2012-03-03 16:41:53 -06:00
Robby Findler
a23f6dbca2
move the redex scrbl files into a scribblings subcollection and adjust timeouts
2012-02-29 07:13:36 -06:00