Commit Graph

40 Commits

Author SHA1 Message Date
Ryan Culpepper
d5fe602131 added #:datum-literals, like #:literals but for ~datum patterns 2013-01-22 21:35:53 -05:00
Ryan Culpepper
8ad09dee8e fix bug typo
closes PR 13055
2012-08-28 23:37:00 -04:00
Asumu Takikawa
a1aedaff1e Fix doc typos 2012-07-06 18:59:10 -04:00
Jon Rafkind
6457e69b48 [honu] support for-syntax in require 2012-06-11 13:07:53 -06:00
Ryan Culpepper
211e382a70 syntax/parse: update phase discussion with begin-for-syntax
merge to 5.3
2012-04-10 15:50:32 -06:00
Ryan Culpepper
74ca931f5a more template improvements
- loosen pattern variable depth rules (now compatible with syntax)
- generalize ?? form to head-templates
- doc improvements
- propagate paren-shape property
2012-03-21 17:48:10 -06:00
Ryan Culpepper
fb7c7e3793 syntax/parse: added roles, other updates/fixes
expr/c uses role for contract label when avail
export ~peek-not (previously missed)
fixes for integrable stxclasses
2012-03-08 07:39:42 -07:00
Eli Barzilay
c007c345f9 A bunch of more typos like the ones in David's commit. 2012-02-21 14:21:43 -05:00
Ryan Culpepper
5a1badf397 syntax/parse: added template metafunctions
Also fixed some bugs and added simple optimizations.
2012-02-10 22:12:54 -07:00
Ryan Culpepper
06979954fa syntax/parse: added experimental template form
Also added more atomic patterns to syntax-parse (previously overlooked).
2012-02-10 05:26:13 -07:00
Ryan Culpepper
ed1ba3a442 syntax/parse docs: use trusted sandbox config
closes PR 12546
2012-02-07 13:43:26 -07:00
Ryan Culpepper
d3cb67b756 syntax/parse: fixed docs
closes PR 12255
2011-10-07 19:40:48 -06:00
Ryan Culpepper
883e9e9e6b syntax/parse: syntax-parse sets current-syntax-context 2011-08-30 12:04:25 -06:00
Eli Barzilay
d61eb53686 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Ryan Culpepper
95ce7ec6ed scribble style (capitalize section names) 2011-08-09 12:29:28 -06:00
Ryan Culpepper
0aecbf97ff syntax/parse: add expr/c to main module
Merge to release branch
2011-07-08 15:34:59 -06:00
Eli Barzilay
a38f384a00 Finish converting scheme' -> racket'.
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Eli Barzilay
ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Ryan Culpepper
c8a691490a syntax/parse: added literal-set->predicate
closes PR 11968
2011-06-10 13:22:26 -06:00
Ryan Culpepper
abb8f63036 syntax/parse: made link to pattern-directive docs more prominent, indexed
Closes PR 11882
2011-05-05 02:17:54 -06:00
Ryan Culpepper
1bf95392d2 syntax/parse: added litset extension 2011-05-03 01:25:41 -06:00
Ryan Culpepper
e5e12ab01a syntax/parse: added define-syntax-class/specialize 2011-05-02 21:02:11 -06:00
Ryan Culpepper
aac8be59ac updated syntax/parse docs 2011-04-25 20:24:35 -06: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
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
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
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
Matthew Flatt
43d69fa80e fix duplicate definitions 2010-12-05 13:15:43 -07:00
Ryan Culpepper
a39645ff7a fixed error in syntax-parse docs (re ~bind, #:attr) 2010-11-05 13:47:54 -06:00
Ryan Culpepper
c941db0bfa Added ~peek-not, cf packrat/PEG ! operator 2010-10-22 15:30:24 -06: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
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
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