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
274c56a4d5
fixed bug in syntax/modcode docs
2010-09-17 16:54:53 -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
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
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
Matthew Flatt
aa9a8549ad
finish Guide chaper on defining languages
2010-05-14 13:34:23 -06:00
Matthew Flatt
8752e65bf8
disable check on a module's source name
2010-05-14 11:33:09 -06:00
Ryan Culpepper
6d1b2af74d
syntax/parse: scheme->racket, docs for literal phases
2010-05-12 14:55:40 -06:00
Matthew Flatt
eb15dceb34
rackety misc docs
2010-05-07 09:13:51 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Matthew Flatt
a6694a08b7
fix make-base-namespace in scheme/base (PR 10870)
2010-04-26 06:47:02 -06:00
Matthew Flatt
51fb2b4a31
doc improvement
2010-04-21 19:15:20 -06:00
Matthew Flatt
7503f8c6e9
change #:module-info to #:language-info for consistency with module->language-info
2010-04-21 18:50:16 -06:00
Matthew Flatt
b559c9db9b
initial cut at HtDP languages via #lang; syntax/module-reader: split compiled-module info from reader info, reorganize and complete docs, don't export read-properties or get-info-getter for now
...
svn: r18759
2010-04-08 02:30:00 +00:00
Ryan Culpepper
0f08499e54
syntax/parse: started support for backtracking into syntax classes
...
incomplete, need to separate descriptions from failure handlers
svn: r18013
2010-02-08 09:47:52 +00: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
ef138249f4
syntax/parse: fixed bugs (thanks samth)
...
Please propagate this to the release branch.
svn: r17756
2010-01-19 21:03:51 +00:00
Eli Barzilay
aaaa4754de
document new name
...
svn: r17229
2009-12-06 11:10:53 +00:00
Eli Barzilay
af998f0d56
mostly reformatting
...
svn: r17196
2009-12-05 03:49:24 +00:00
Eli Barzilay
ac0a1dc7d8
General reformat, and move the new comment about #%module-begin to the end of the section
...
svn: r17194
2009-12-05 02:41:35 +00:00
Eli Barzilay
49df9502a4
Some improvements to the description
...
svn: r17193
2009-12-05 02:30:44 +00:00
Stevie Strickland
d113d2d19a
Specifically mention #:wrapper1 as well, since that's also a common place
...
for doing this.
svn: r17151
2009-12-01 20:44:27 +00:00
Stevie Strickland
75803d4881
Here's the changes that accidentally went to trunk first.
...
svn: r17150
2009-12-01 20:39:58 +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
Matthew Flatt
973d51c20f
change 'read-language' protocol so that the result from 'get-info' accepts a key plus default value (instead of just a key)
...
svn: r16459
2009-10-29 23:05:56 +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
Matthew Flatt
56fbafa6c8
change model reader to coerce a syntax #:language result to a datum for 'read' mode
...
svn: r16292
2009-10-09 20:30:05 +00:00
Jon Rafkind
dad9907456
typo
...
svn: r16226
2009-10-02 21:52:20 +00:00
Ryan Culpepper
5ababfac9c
syntax/parse: added ~parse action pattern
...
svn: r16097
2009-09-20 23:49:41 +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
Matthew Flatt
c8c43bbe34
fix docs for get-module-code
...
svn: r15965
2009-09-10 19:42:30 +00:00
Matthew Flatt
3ebbd56865
fix cm problem tracking reader dependencies; add 'reader' reader language
...
svn: r15907
2009-09-08 00:07:11 +00:00
Ryan Culpepper
ee41d24bb9
syntax/parse: added head ~optional pattern, improved docs
...
svn: r15906
2009-09-07 23:32:41 +00:00
Matthew Flatt
d92ac1c2fd
fix docs for syntax-local-name, syntax-local-infer-name, and 'inferred-name
...
svn: r15904
2009-09-07 21:02:03 +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