Commit Graph

24 Commits

Author SHA1 Message Date
Ryan Culpepper
b5154b444f syntax/parse: docs for define-simple-macro 2011-03-17 13:47:38 -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
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
Ryan Culpepper
6d1b2af74d syntax/parse: scheme->racket, docs for literal phases 2010-05-12 14:55:40 -06:00
Ryan Culpepper
8d2f32efed syntax/parse:
fixed bug: splicing-stxclass immediately within ellipses
  added tests, docs for local-conventions

svn: r17944
2010-02-02 19:48:08 +00:00
Ryan Culpepper
82e1e3308f syntax/parse:
fixed docs bug in ...+
  fixed bug in rep constraint messages

svn: r17938
2010-02-02 07:22:35 +00:00
Ryan Culpepper
cb7600607b syntax/parse:
added nested ~or ellipsis-head patterns
  added ~between, ...+
  cleaned up declenvs
  fixed kernel-literals (include template phase binding)
  pattern variables may not start with ~ (tilde)
  first cut of syntax-class-possible-errors

svn: r17937
2010-02-02 02:28:32 +00:00
Ryan Culpepper
5116be8342 syntax/parse:
fixed bug in error selection
  added ~datum patterns

svn: r16497
2009-11-02 07:59:17 +00:00
Ryan Culpepper
c7d95a21c2 syntax/parse:
dependence on scheme/match eliminated
  fail-when, etc use conditional value if syntax
  error message typos (bad tildes) fixed

svn: r16393
2009-10-20 23:17:30 +00:00
Jon Rafkind
dad9907456 typo
svn: r16226
2009-10-02 21:52:20 +00:00
Ryan Culpepper
491808e717 syntax/parse:
separated ~!, ~bind, ~fail as "action patterns", documented
  docs use eg "single-term pattern" instead of "S-pattern" in text

svn: r16089
2009-09-20 20:47:54 +00:00
Ryan Culpepper
69e1a3fec8 syntax/parse: reorganized docs
svn: r16080
2009-09-20 06:27:50 +00:00
Ryan Culpepper
5db475cab2 syntax/parse: documented ~var, ~literal, ~not, head ~and
Do not commit to release branch.

svn: r16079
2009-09-19 23:09:20 +00:00
Ryan Culpepper
880f7f2707 syntax/parse docs: avoid phase arith discussion
Please apply to release branch.

svn: r16046
2009-09-17 15:59:29 +00:00
Ryan Culpepper
a8101a227a syntax/parse: added quick start with examples
svn: r16023
2009-09-16 17:30:25 +00:00
Ryan Culpepper
7e4c6162a0 syntax/parse: added #:when back
svn: r15980
2009-09-11 19:48:33 +00:00
Ryan Culpepper
ee41d24bb9 syntax/parse: added head ~optional pattern, improved docs
svn: r15906
2009-09-07 23:32:41 +00:00
Ryan Culpepper
1a2ce72089 syntax/keyword: renamed and added selection procedures
syntax/parse: documented #:context option

svn: r15839
2009-08-30 18:22:09 +00:00
Ryan Culpepper
93b6f59264 syntax/parse: worked on docs, fixed error reporting bug
svn: r15834
2009-08-30 04:20:29 +00:00
Ryan Culpepper
783d37a0d3 syntax/parse
added #:opaque syntax class option
  changed expectation handling

svn: r15831
2009-08-30 00:15:48 +00:00
Ryan Culpepper
43d10b5179 added syntax/keyword library
updated syntax/parse to add #:context argument

svn: r15828
2009-08-29 22:58:08 +00:00
Ryan Culpepper
38e256e6eb syntax/parse: fixed error in ~bounds form
svn: r15728
2009-08-13 18:28:33 +00:00
Ryan Culpepper
a97a7f51b5 Please apply changes to release branch.
syntax/parse:
  - removed scribble docs for old stxclass collection
  - fixed bug in syntax-parse and #:declare
  - added attribute calculation option
  - renamed 'static-of' to 'static', added 'atom-in-list'
  - fixed kernel-literals to include all expanded-code forms
  - added tests

svn: r15488
2009-07-19 01:08:00 +00:00
Ryan Culpepper
3e63caa887 merged changes from /branches/ryanc/sp2:
added syntax/parse library and documentation
  added syntax/id-table library and documentation

svn: r15376
2009-07-03 19:47:25 +00:00