Commit Graph

679 Commits

Author SHA1 Message Date
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
Eli Barzilay
26045a27fb #lang racket' -> #lang racket/base' conversions in drracket and in redex. 2012-11-07 08:03:44 -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
a6384e7de3 Oops, didn't mean to push this one
Revert "working on something to show derivations"

This reverts commit 77fb5ec69d.
2012-11-03 15:52:14 -05:00
Robby Findler
77fb5ec69d working on something to show derivations 2012-11-03 13:54:48 -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
Robby Findler
478fedeeb7 fix up mac os x version of the redex bitmap tests 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
Burke Fetscher
6be405975e don't use disunify* to check disequations, since at this point they are fully instantiated 2012-11-01 11:52:19 -05:00
Burke Fetscher
e6ab32593e add redex-generator form and some tests
update examples/generate-types
2012-11-01 11:52:19 -05:00
Robby Findler
e7dc4a70ee fix redex bitmap tests under linux 2012-10-31 21:48:21 -05:00
Robby Findler
b2b350eff5 fix typesetting of builtin non-terminals 2012-10-31 19:51:50 -05:00
Robby Findler
10a8a625fa record the (uncompiled) domain pattern with a reduction
relation so that context-closure can adjust the domain

closes PR 13204
2012-10-27 20:39:04 -05:00
Robby Findler
cb566b1ba4 fix font resizing performance bug in the traces window 2012-10-24 23:56:31 -05: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
661f702497 attempted to clean up the derivation support
so that no derivation data structure creation
happens during just a normal judgment-holds,
but this was not entirely successful, so there
still is some....

Also, improved the test-util to show stacktraces
for errors (when they exist)
2012-10-23 18:31:06 -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
Robby Findler
67d52138f9 provide language, reduction relation, and typing judgment from stlc.rkt 2012-10-21 19:55:53 -05:00
Robby Findler
9baefbe725 remove bogus case in stlc typing judgment form 2012-10-21 19:55:52 -05:00
Robby Findler
9696bd7337 adjust judgment-holds so it generates less code 2012-10-21 19:55:52 -05:00
Burke Fetscher
484636d92e remove extra tut-subst.rkt and tmp.rkt files 2012-10-17 23:24:44 -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
Robby Findler
7e7ebffdd4 Adjust linux version of Redex bitmap tests 2012-10-09 09:45:52 -05:00
Robby Findler
751dcb4bd1 adjust define-judgment-form's typesetting so that it
tracks the lines of the premises in the source when
deciding how to linebreak the premises of the typeest form
2012-10-09 09:06:09 -05:00
Asumu Takikawa
c26faaebfa redex: export documented but missing predicate 2012-10-05 11:42:32 -04:00
Asumu Takikawa
16b15c89f7 redex: doc fixes 2012-10-05 11:42:32 -04:00
Robby Findler
8b92ec5677 linebreaking adjustments for typographical reasons 2012-10-04 10:17:28 -05: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
d0f981f9cb fix a bug in color padding code
closes PR 13153
2012-10-01 22:53:58 -05:00
Robby Findler
c5b5c6f9b5 fixes suggested by latest reviewer of the hosc submission 2012-09-27 09:48:35 -05:00
Robby Findler
9b0eb1ab78 fix redex pdf generation when a string is passed 2012-09-25 15:32:38 -05:00
Robby Findler
0e7688349e add syntax error check when the arrow in a reduction
relation isn't just an identifier

add a syntax error check when an identifier appears
under two different ellipses depths in the same pattern
2012-09-20 07:09:17 -05:00
Robby Findler
b8acee5655 small cleanup 2012-09-12 15:41:37 -05:00
Robby Findler
0fd52435a4 add a note about "" in with-compound-rewriter 2012-09-09 23:45:54 -05:00
Robby Findler
605e1b8c89 adjust redex so that identifiers preserve their syntax-original ness 2012-08-24 09:47:18 -05:00
Robby Findler
8ed42e6162 rename function scale-to-fit to avoid conflict
with newly introduced function with that name
2012-08-22 22:47:50 -05:00
Robby Findler
40e5b63bbc allow identifiers as names, not just strings 2012-08-09 15:28:42 -05:00
Robby Findler
0bd661d620 fix up the bitmap tests for linux 2012-08-08 22:32:43 -05:00
Robby Findler
97e3f56bf2 adjust bitmap tests to test judgment form labels (and fix expected result under mac os x) 2012-08-08 22:05:43 -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
4e6b38b956 adjust bitmap test 2012-07-24 23:27:07 -05:00
Robby Findler
519b69362f fix bug in inline code
merge to the release branch, please
2012-07-22 19:51:19 -05:00