Ryan Culpepper
aac8be59ac
updated syntax/parse docs
2011-04-25 20:24:35 -06:00
Ryan Culpepper
bf5248e3b5
syntax/parse: changed #:declare back to "magical" scoping
2011-04-25 20:24:35 -06:00
Robby Findler
e7d0029aea
added lots of new tests that our documentation is complete
2011-04-25 13:24:43 -05:00
Robby Findler
21cbd9ad81
added the racket/contract/combinator library,
...
and documented and adjusted these libraries:
racket/contract/base
racket/contract/exists
racket/contract/parametric (renamed from exists)
racket/contract/region
2011-04-25 11:51:44 -05:00
Ryan Culpepper
fdede6f063
syntax/parse: added docs for litset #:at kw, relaxed restriction on arg
2011-04-15 14:47:29 -06:00
Ryan Culpepper
7828a7bfa7
moved unstable/{location,srcloc} to syntax collection
...
fixed bugs in unstable/wrapc
2011-04-08 08:25:22 -06:00
Ryan Culpepper
76c75d5a87
added stx-map to syntax/stx from unstable/syntax
2011-04-07 09:47:20 -06:00
Ryan Culpepper
86f65468d7
removed define-pattern-variable
2011-04-07 09:47:20 -06:00
Ryan Culpepper
73ab167522
created racket/syntax from parts of unstable/syntax
2011-04-07 09:47:20 -06:00
Ryan Culpepper
0bec757e5e
syntax/parse: fixed bug in ~literal uncovered by litset changes
2011-04-07 09:47:20 -06:00
Robby Findler
2893470f27
eliminate one more use of mzlib/contract
2011-04-06 11:35:26 -05:00
Vincent St-Amour
5200b93a0c
Fix ~literal patterns in syntax-parse.
2011-04-01 14:56:17 -04:00
Robby Findler
d1414748a1
fix the contract on get-module-code
...
closes PR 11836
2011-04-01 11:57:55 -05:00
Ryan Culpepper
c677932baf
syntax/parse: added define/syntax-parse, like define/with-syntax
2011-04-01 02:12:30 -06:00
Ryan Culpepper
896cb86dc4
syntax/parse: added phase options to define-literal-set
2011-04-01 00:57:04 -06:00
Robby Findler
9245f4b19a
move away from mzlib/contract and towards racket/contract
2011-03-28 23:04:43 -05:00
Ryan Culpepper
bf591d4d01
syntax/parse: added #:disable-colon-notation option
2011-03-17 13:47:38 -06:00
Ryan Culpepper
b5154b444f
syntax/parse: docs for define-simple-macro
2011-03-17 13:47:38 -06:00
Ryan Culpepper
012746540c
syntax/parse: added define-simple-macro form (needs docs)
2011-03-17 13:47:38 -06:00
Ryan Culpepper
1353d40612
syntax/parse: allow zero syntax-parse clauses and zero syntax-class variants
2011-03-17 13:47:38 -06:00
Matthew Flatt
cf69cb2aff
special treatment of void as 'inferred-name property
...
allows keyword-based application to hide temporary
names that happen to be bound to procedure arguments
2011-03-13 09:02:39 -06:00
Ryan Culpepper
4ef3dfe6a8
fixed doc typo
...
Fixes PR 11703
Merge to release branch
2011-02-03 17:02:35 -07:00
David Van Horn
c9519fd113
Fixed various spelling errors.
2011-02-03 17:42:33 -05:00
Ryan Culpepper
b8fc41283e
syntax/parse: exported and documented ~do action pattern
2010-12-09 12:19:34 -07:00
Ryan Culpepper
c51f769672
syntax/parse: vars w/ splicing-stxclasses bind stxobjs, not lists
2010-12-09 12:19:26 -07:00
Matthew Flatt
43d69fa80e
fix duplicate definitions
2010-12-05 13:15:43 -07:00
Ryan Culpepper
8605fecaf3
syntax/parse: fixed bug in #:do (with expression)
2010-11-26 19:28:55 -07:00
Ryan Culpepper
a2c4574688
syntax-parse: improved error for non-syntax attribute in syntax template
2010-11-11 16:14:37 -07:00
Ryan Culpepper
a39645ff7a
fixed error in syntax-parse docs (re ~bind, #:attr)
2010-11-05 13:47:54 -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
Ryan Culpepper
60f8d3854a
syntax-parse: tidy up
2010-10-29 16:01:51 -06:00
Ryan Culpepper
c941db0bfa
Added ~peek-not, cf packrat/PEG ! operator
2010-10-22 15:30:24 -06:00
Matthew Flatt
fe301b1ff4
print-boolean-long-form, #true, #false, read-accept-lang, flonum?
2010-10-08 15:13:04 -06:00
Vincent St-Amour
f281abe693
Added quote-syntax to kernel-literals.
2010-10-06 17:32:29 -04:00
Ryan Culpepper
de5b110d75
added lookahead (~peek)
2010-10-04 11:54:03 -06:00
Eli Barzilay
ee138cf2cb
Some repeated "and and"s and "the the"s, and two more typos.
...
Closes PR 11229.
2010-09-20 15:38:18 -04:00
Ryan Culpepper
274c56a4d5
fixed bug in syntax/modcode docs
2010-09-17 16:54:53 -06:00
Ryan Culpepper
e72244513d
fixed racket/dict contracts
...
un-split syntax/id-table (no contract-free version)
2010-09-13 13:21:03 -06:00
Ryan Culpepper
3f15f5bc13
edited syntax/parse intro
2010-09-13 13:21:01 -06:00
Ryan Culpepper
90cf9f2183
reorg and renamed syntax/parse docs, removed useless section tags
...
Fixes PR 11163
2010-09-06 23:26:42 -06:00
Ryan Culpepper
fff692309e
removed useless requires
2010-09-03 13:53:42 -06:00
Ryan Culpepper
b572f0c7dc
removed useless requires
2010-09-03 13:53:41 -06:00
Ryan Culpepper
fa4f48a82c
id-tables can work at different phases now
...
reduced allocation for id-table updates
2010-09-03 13:53:41 -06:00
Ryan Culpepper
be3ca941bb
eliminated some uses of rest-args and list unpacking
2010-08-31 18:36:32 -06:00
Ryan Culpepper
6c42fe2766
changed static syntax class back to perform post-checks
2010-08-31 16:21:45 -06:00
Ryan Culpepper
712a8f60e9
updated syntax/parse/exp./splicing, updated honu use
...
fixed stress.rkt
2010-08-31 16:21:44 -06:00
Ryan Culpepper
d7a87c79e0
Merged changes to syntax/parse
...
Changed backtracking algorithm, runtime representations
- syntax classes, ~describe no longer implicitly commit
- ~describe no longer delimits effect of cut
Added keyword & optional args for stxclasses
Added ~do and #:do, ~post, ~commit and #:commit,
~delimit-cut and #:no-delimit-cut
Added syntax/parse/debug, syntax/parse/experimental/*
- expr/c for contracting macro sub-expressions
moved from syntax/parse to syntax/parse/experimental/contract
- syntax class reflection (~reflect, ~splicing-reflect)
- eh-alternative-sets (~eh-var)
- provide-syntax-class/contract
(only for params, not attrs so far)
Changed ~fail to not include POST progress (#:fail still does)
old (~fail _) is now (~post (~fail _))
Made msg argument of ~fail optional
Removed generic "repetition constraint violated" msg
Removed atom-in-list stxclass
Removed unnecessary datum->syntax on cdr of pair pattern
massive improvements to long-list microbenchmarks
Optimization: integrable syntax classes (id, expr, keyword)
need better measurements
Optimization: ad hoc elimination of head/tail choice point
for (EH ... . ()) patterns
Added unstable/wrapc (proc version of expr/c)
2010-08-31 10:55:58 -06:00
Matthew Flatt
036ed57000
fix *SL `define-struct' expand-time info: omit non-existent struct type
2010-08-30 16:11:08 -06:00