Commit Graph

231 Commits

Author SHA1 Message Date
Ryan Culpepper
d0cc31b35e syntax/parse: reverted error message, fixed error test 2010-05-04 14:12:49 -06:00
Ryan Culpepper
eff9147ddc syntax/parse: literals, literal-sets, and phases (todo: docs)
typed-scheme: added missing import for literal
2010-05-04 14:12:49 -06:00
Ryan Culpepper
f42adad3f8 syntax/parse: allow phase spec for literals 2010-05-04 14:12:48 -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
616080c7c4 change 'define-struct' to bind the type name as a constructor, add an #:extra-constructor-name option, etc. 2010-04-25 12:10:36 -06:00
Ryan Culpepper
227aa7be73 syntax/parse: allow action patterns within list patterns 2010-04-23 16:49:40 -06:00
Robby Findler
59d90b279d improved support for #lang planet (in drscheme) 2010-04-21 12:14:17 -04: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
c95a398754 move most of the 'scheme' collection to the 'racket' collection 2010-04-20 15:24:48 -06:00
Matthew Flatt
b4aa4d4afb add define-values-for-export to scheme/unit; sort out different unit-signature 'struct' forms for mzlib vs. scheme vs. racket
svn: r18792
2010-04-12 13:54:40 +00:00
Matthew Flatt
bdb71498e3 module paths normalize to .rkt, load handler converts .rkt back to .ss if necessary
svn: r18788
2010-04-11 16:55:18 +00: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
fdd42be5d9 syntax/parse:
fixed bug (thanks Jay!)
  some internal additions/changes

svn: r18731
2010-04-03 23:00:37 +00:00
Matthew Flatt
1af4bb9cfb fix problem with 'make-meta-reader' and passing a module path to the next reader in the chain
svn: r18511
2010-03-11 14:00:01 +00:00
Ryan Culpepper
cec810a9df syntax/parse:
added parameterized conventions
  fixed description for "str" stxclass
  fixed bug in multiple #:declare directives

svn: r18439
2010-03-03 05:50:15 +00:00
Stevie Strickland
e54f1c3a5e scheme/contract => scheme/contract/base
svn: r18371
2010-02-27 01:03:55 +00:00
Ryan Culpepper
ab71219408 syntax/parse: removed conventions debugging output
svn: r18067
2010-02-12 18:31:30 +00:00
Ryan Culpepper
c1373f8214 syntax/parse:
allow forward references from conventions
  fix progress comparison bug

svn: r18019
2010-02-08 18:39:56 +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
Carl Eastlund
fe40d3e888 Merged changes from trunk.
svn: r18007
2010-02-06 19:23:24 +00:00
Eli Barzilay
c88a5a6856 A bunch of additional typos
svn: r17976
2010-02-05 03:21:52 +00:00
Carl Eastlund
d7a7409fe0 Merged changes from the trunk.
svn: r17954
2010-02-03 15:15:11 +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
Carl Eastlund
2513e7d6e0 Merged changes from the trunk.
svn: r17892
2010-01-30 04:59:20 +00:00
Ryan Culpepper
f14118c075 syntax/parse: added syntax/parse/experimental
svn: r17873
2010-01-28 21:08:02 +00:00
Carl Eastlund
88aba214c9 Merged changes from trunk. No conflicts.
svn: r17780
2010-01-23 17:44:27 +00:00
Carl Eastlund
7f58c26709 Replaced uses of quote-srcloc with quote-syntax.
svn: r17757
2010-01-19 23:25:07 +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
Carl Eastlund
ad7976079f Kept syntax-parse expr/c error message consistent with define/contract.
svn: r17750
2010-01-19 09:26:42 +00:00
Carl Eastlund
722fae41a8 Ported more code to new contract tools.
svn: r17733
2010-01-19 03:42:45 +00:00
Ryan Culpepper
7b866a7cf3 syntax/parse: fixed error message (PR 10683)
svn: r17517
2010-01-06 22:20:25 +00:00
Ryan Culpepper
f0b09a0842 syntax/parse: fixed conventions and literal-sets
svn: r17345
2009-12-17 22:35:25 +00:00
Eli Barzilay
aaaa4754de document new name
svn: r17229
2009-12-06 11:10:53 +00:00
Eli Barzilay
f83bf42796 use "anonymous-module" for modules without a source file
svn: r17228
2009-12-06 10:46:05 +00:00
Ryan Culpepper
63469d2f3d scribblings: fixed misc doc typos
syntax/id-table: disabled debugging code

svn: r17215
2009-12-05 22:02:46 +00:00
Eli Barzilay
2ea73bb1bd Move some code outside of the main macro, a few other simplifications.
svn: r17202
2009-12-05 08:35:37 +00:00
Eli Barzilay
3caf087c97 error symbol typo
svn: r17198
2009-12-05 05:54:22 +00:00
Eli Barzilay
6ab2e7edad A little simpler and a little more robust (eg, using source location for
the wrapped body, and accepting any syntax/sexpr combination).

svn: r17197
2009-12-05 05:53:15 +00:00
Eli Barzilay
af998f0d56 mostly reformatting
svn: r17196
2009-12-05 03:49:24 +00:00
Stevie Strickland
e76b516e1d Fixes a bug if #%module-begin was already there.
svn: r17195
2009-12-05 03:27:19 +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
152ea3c6c8 Move it into the only place it's used.
svn: r17155
2009-12-01 22:00:43 +00:00
Stevie Strickland
4c61aabea0 Actually, just have the descender return the #%module-begin expression,
if it finds one, and otherwise do the wrapping appropriately.

svn: r17154
2009-12-01 21:58:58 +00:00
Stevie Strickland
a24dd4affb Have to handle the fact that "body" is a (possibly syntax) list of
expressions here.  Could also pull out the car of said list and just
return that, but eh.  This code is going to be crap until (if) we can
ever remove the need to be backwards compatible.

svn: r17153
2009-12-01 21:27:55 +00:00
Stevie Strickland
39689ae4e7 Elaborate in this comment.
svn: r17152
2009-12-01 21:14:24 +00:00