Commit Graph

42 Commits

Author SHA1 Message Date
Greg Hendershott
65d06802ca Re-org the (require (for-syntax racket/match)) example. 2012-11-02 11:44:33 -04:00
Greg Hendershott
c42a25ed78 Syntax-parse 2012-11-02 11:36:53 -04:00
Greg Hendershott
ecbbde87e2 Split hash.refs into versions w and w/o error checking.
- Helps show the main logic w/o error-checking.
- Opportunity to make the case for syntax-parse.
2012-11-02 08:50:00 -04:00
Greg Hendershott
1c10e60943 More small edits 2012-11-02 08:35:40 -04:00
Greg Hendershott
e918444b48 Various small edits. 2012-11-01 23:01:11 -04:00
Greg Hendershott
053c0d53dd Get to with-syntax by way of a nested syntax-case
Rather than introduce with-syntax as a magic spell, start
by using a nested syntax-case as a more way to define
more pattern variables. Then explain show with-syntax
as simply "sugar" for this.
2012-11-01 16:52:16 -04:00
Greg Hendershott
8ab1d7d8b3 Add example for nested hashes with a dot notation 2012-11-01 12:12:27 -04:00
Greg Hendershott
6c5c39e12f Various edits 2012-10-31 17:16:34 -04:00
Greg Hendershott
b51d9aa307 Add section re making a struct feature 2012-10-31 14:50:09 -04:00
Greg Hendershott
cf57cb7b1f Hoist a subsubsection up to a subsection 2012-10-31 14:49:38 -04:00
Greg Hendershott
579dcfa9f3 Fiddle with TO-DO pars 2012-10-31 14:48:58 -04:00
Greg Hendershott
61a2f44512 Clean up "other questions" section. 2012-10-31 14:48:31 -04:00
Greg Hendershott
f7446c9ea9 Explain racket/splicing. 2012-10-31 11:46:15 -04:00
Greg Hendershott
c951734546 Explain define-for-syntax 2012-10-30 23:52:43 -04:00
Greg Hendershott
ba1b4cd243 Un-italicize datum. 2012-10-30 18:12:06 -04:00
Greg Hendershott
40518865c6 Explain that `with-syntax' ~= "define pattern variable". 2012-10-30 18:11:44 -04:00
Greg Hendershott
209aa0fb7e Explain use of make-rename-transformer.
Progress on issue #1.
2012-10-30 14:21:27 -04:00
Greg Hendershott
3011cec6fc Add reference to Matthew's "You Want it When?" paper. 2012-10-30 13:57:00 -04:00
Greg Hendershott
3d01e72291 Add reference to Ch. 8 of Dybvig. 2012-10-30 08:21:35 -04:00
Greg Hendershott
defe6b1682 Change s-expr example and delete editorializing. 2012-10-30 08:20:39 -04:00
Greg Hendershott
bbed76d1e9 Progress on issue #1. 2012-10-30 08:17:58 -04:00
Greg Hendershott
d945843738 Misc edits. 2012-10-29 11:37:10 -04:00
Greg Hendershott
2371243806 Make syntax' print as syntax' not as #'
Thanks to Matthew Flatt for noticing the problem and
providing a solution!
2012-10-28 10:48:02 -04:00
Greg Hendershott
43883f4fc7 Change some codeblock to racketblock 2012-10-27 09:47:19 -04:00
Greg Hendershott
c6a42a05ed Small edits. 2012-10-27 09:39:53 -04:00
Greg Hendershott
7e53189a36 Various edits. 2012-10-26 20:34:22 -04:00
Greg Hendershott
b322460f3e Various edits. 2012-10-26 14:34:17 -04:00
Greg Hendershott
0e464735ce Add subsection about begin-for-syntax. 2012-10-26 13:43:03 -04:00
Greg Hendershott
7bdcdc9b6f Tweak "this is not run time". 2012-10-26 13:13:05 -04:00
Greg Hendershott
206ea43f10 Change a couple racket to codeblock 2012-10-26 11:50:11 -04:00
Greg Hendershott
26c6cb2b84 Polish macro stepper section, including screen shot. 2012-10-26 08:24:46 -04:00
Greg Hendershott
d554435088 Various edits for prose and layouts. 2012-10-25 19:28:48 -04:00
Greg Hendershott
65e3eca65e Insert obligatory "Ceci n'est pas une pipe" joke. 2012-10-25 18:56:18 -04:00
Greg Hendershott
73fa26c508 Prose edits for syntax parameter section. 2012-10-25 18:16:17 -04:00
Greg Hendershott
29e261729c Add feedback links. 2012-10-25 15:32:52 -04:00
Greg Hendershott
17af524667 Fix confusion in syntax-case section.
I'd gotten confused due to leftover results in the
evaluator, and got some things wrong.
2012-10-25 14:49:08 -04:00
Greg Hendershott
87da72ba10 Add "Fear of Macros" banner 2012-10-25 13:27:49 -04:00
Greg Hendershott
4d879bdcd7 Require for-label some modules to get links. 2012-10-25 10:10:19 -04:00
Greg Hendershott
617ef60ecb Add author and updated. Suppress Racket version. 2012-10-24 21:24:44 -04:00
Greg Hendershott
6d06141751 Fix problem with syntax-parameterize.
Need to change order of examples so that `it` is still
undefined in the evaluator. (Is there a way to "reset"
the evaluator, for situation like this?)
2012-10-24 20:23:13 -04:00
Greg Hendershott
b3ded9511d Spell check. 2012-10-24 17:41:28 -04:00
Greg Hendershott
8a59d45098 Initial commit. 2012-10-24 15:11:13 -04:00