Commit Graph

459 Commits

Author SHA1 Message Date
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
Eli Barzilay
606b7f60dc Lots of "~e" to "~.s" changes. 2010-08-25 17:17:01 -04:00
Matthew Flatt
90ec44f65c CM: report bad dependencies clearly; fix file-stamp-in-paths
for when `use-compile-file-paths' has multiple subpaths
  Probably merge to 5.0.1
2010-07-21 15:50:22 -06:00
Ryan Culpepper
87b1ec35f3 syntax/parse: work around hiding issue in macro stepper 2010-07-13 15:34:34 -06:00
Ryan Culpepper
07f57aac9b Added uses of unstable/struct 2010-07-13 12:07:47 -06:00
Ryan Culpepper
8c42006ad7 unstable/syntax: renamed syntax-local-values/{catch -> record}, changed uses
also added comments to some unstable/syntax functions
2010-07-01 17:05:05 -06:00
Matthew Flatt
b884b1f409 modcode: fix ss<->rkt handling for bytecode & extensions 2010-06-12 15:55:31 -06:00
Matthew Flatt
773d0f6d70 fix use of .ss when .rkt exists in executable creation
more generally, fixes anything tha uses syntax/modcode
2010-06-05 16:49:34 -06:00
Ryan Culpepper
b2196cc595 syntax/parse: fixed bug in litsets at higher phases 2010-06-02 17:19:12 -06:00
Ryan Culpepper
a25996b4b8 syntax/parse: add ~var option #:attr-name-separator (no docs yet) 2010-05-17 16:33:55 -06:00
Ryan Culpepper
1572b1ece4 syntax/parse: change unbound literal error message 2010-05-17 16:33:55 -06:00
Eli Barzilay
939af28a4c Some random ".ss" -> ".rkt"s 2010-05-17 05:58:19 -04:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04: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
9f0d446ffd syntax/parse: added details to non-syntax attr error 2010-05-12 14:55:41 -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
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
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
f8e22d4cad syntax/parse: changed minimatch to use make, catch struct errors
unstable: added syntax-local-eval, internal-definition-context-apply

svn: r17144
2009-12-01 20:32:32 +00:00
Matthew Flatt
cad5d85354 change syntax/toplevel to use scheme/base instead of mzscheme, which avoids some namespace problems
svn: r16785
2009-11-15 14:27:26 +00:00
Ryan Culpepper
e120f4ded5 syntax/parse: fixed bug in #:declare with splicing stxclass
svn: r16712
2009-11-12 05:43:50 +00:00
Ryan Culpepper
a64e9278d1 syntax/parse: fixed splicing syntax class bugs
svn: r16690
2009-11-11 08:23:12 +00:00
Ryan Culpepper
daba183b08 unstable/syntax: added format-id
svn: r16629
2009-11-09 02:33:43 +00:00
Ryan Culpepper
d1439ef6c6 unstable/struct: added struct->list
some (cdr (vector->list (struct->vector x))) => (struct->list x)

svn: r16622
2009-11-08 21:17:51 +00:00
Ryan Culpepper
7483b7ed20 unstable:
added struct and syntax libraries

svn: r16621
2009-11-08 19:20:53 +00:00
Ryan Culpepper
0feac0f636 syntax/parse:
tweaked error selection algorithm
  added tests

svn: r16533
2009-11-04 00:31:24 +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
68e805029f syntax/parse: added disappeared-use properties
svn: r16113
2009-09-23 04:27:14 +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
fdc2eaa646 syntax/parse: fixed bug in #:when parsing
Please commit to release branch.

svn: r16078
2009-09-19 23:07:51 +00:00
Ryan Culpepper
282d36e363 syntax/parse: added explicit ~var and ~literal forms (no docs yet)
svn: r16077
2009-09-19 20:04:00 +00:00
Ryan Culpepper
a58389ad20 syntax/parse: added ~and H-patterns, ~not S-patterns (no docs yet)
svn: r16070
2009-09-19 15:48:07 +00:00
Ryan Culpepper
c9a4a9e101 syntax/parse: changed to use scheme/contract/base
svn: r16054
2009-09-17 21:13:12 +00:00
Stevie Strickland
636adcc142 Refactoring all the private contract stuff into its own playpen.
svn: r16052
2009-09-17 20:55:37 +00:00
Ryan Culpepper
987ab4c5e8 removed old stxclass collection
Please apply to release branch.

svn: r16047
2009-09-17 16:11: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
184fbae9b2 syntax/parse: convert datum to be matched to syntax, placeholder expr/c
svn: r15982
2009-09-11 21:31:42 +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
d4e40e0b25 fix some problems with sandboxes and extension (PR 10381) and Snow Leopard extension building (also demonstrated by PR 10381)
svn: r15964
2009-09-10 19:39:37 +00:00
Matthew Flatt
98ce34dd77 fix chaining-language reader bug
svn: r15908
2009-09-08 00:11:02 +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
2acdfd6eb5 syntax/parse: fixed error-reporting bugs, added error-reporting tests
svn: r15853
2009-09-01 19:16:33 +00:00
Ryan Culpepper
0bd68c6813 syntax/parse:
added #:defaults arg to ~optional
  cleaned up error-reporting of special forms (not generated code)

svn: r15848
2009-09-01 15:25:17 +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
e0395f6d68 syntax/parse: fixed bug in unbound-literal checking
svn: r15832
2009-08-30 00:26:41 +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
Matthew Flatt
5207a215af add missing core form to kernel-form-identifier-list, improve docs
svn: r15702
2009-08-11 19:48:05 +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
Eli Barzilay
bbc989f795 set svn:eol-style
svn: r15379
2009-07-04 02:01:41 +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
Matthew Flatt
8e5993f99f fix serialization problems
svn: r15241
2009-06-23 12:07:54 +00:00
Eli Barzilay
0328b2ef81 make the lang and data identifiers visible in the #:info argument too
svn: r15192
2009-06-16 21:56:37 +00:00
Eli Barzilay
b9523d982c New #:info, #:language can return properties, construct a proper get-info function
svn: r15186
2009-06-16 17:04:16 +00:00
Eli Barzilay
54fc941f1f refactor code in a better way, especially for changes that will follow
svn: r15176
2009-06-15 08:59:13 +00:00
Eli Barzilay
7302411d73 reformat, fix error message
svn: r15165
2009-06-13 16:45:31 +00:00
Eli Barzilay
50e9a86dbc The get-info protocol is used -- both in reading mode and as part of
the compiled modules.  (Vacuously returning `#f' for now.)

svn: r15153
2009-06-12 14:42:05 +00:00
Eli Barzilay
81d8c97800 better code organization
svn: r15152
2009-06-12 14:33:22 +00:00
Carl Eastlund
5e6153628b Two instances of the typo: 'indentifier' instead of 'identifier'.
svn: r15081
2009-06-04 19:54:54 +00:00
Matthew Flatt
1809d9286e fix r6rs template problem with quoting ellipses
svn: r14780
2009-05-12 13:44:04 +00:00
Matthew Flatt
224f9fa3a7 fix bug in tracking paren shapes; fix Scribble binding search code; add syntax/template library
svn: r14661
2009-04-29 20:31:07 +00:00
Matthew Flatt
cd09b30497 (v4.1.5.5) repair interaction of provides redirected by a rename-transformer, certification of access to unexported variables, and protected exports; also get rid of kernel-reprovide special case in export handling, because a more general export-sharing technique subsumed the special case long ago
svn: r14593
2009-04-24 14:59:09 +00:00
Matthew Flatt
4b3626c156 fix inverted argument default for editor<%> read-from-file method; better Check Sytax results on packages; added syntax/flatten-begin library
svn: r14548
2009-04-17 22:50:19 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Matthew Flatt
75373d4094 refine replace-context docs
svn: r14223
2009-03-23 01:25:45 +00:00
Matthew Flatt
91c53fa123 add replace-context to syntax/strip-context
svn: r14196
2009-03-20 17:20:04 +00:00
Ryan Culpepper
64250c4931 syntax: fixed 'strip-context' on prefab structs
fixes bug in prefab struct literal in scheme/load module

svn: r14038
2009-03-10 21:19:18 +00:00
Matthew Flatt
6fe0677aa7 doc kernel-syntax-case/phase
svn: r14028
2009-03-10 16:39:32 +00:00
Matthew Flatt
f0473137e6 fix and document syntax/strip-context
svn: r13847
2009-02-26 13:19:25 +00:00
Matthew Flatt
50dff6234c add syntax/strip-context
svn: r13846
2009-02-26 13:11:11 +00:00
Eli Barzilay
bd561ab191 some paren typos
svn: r13416
2009-02-04 16:28:14 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Matthew Flatt
54a8fe3143 fix relto delay in colalpse-module-path
svn: r12383
2008-11-11 15:30:24 +00:00
Matthew Flatt
4215289320 doc fixes
svn: r12328
2008-11-06 16:22:12 +00:00
Matthew Flatt
37aae202c5 speed up doc build a little; fix bugs related to getting continuation marks from a thread and using the errortrace profiler
svn: r12237
2008-11-04 23:32:44 +00:00
Matthew Flatt
95bedb17fb change contracts to reflect context via #%variable-reference instead of syntax objects; add id-less #%variable-reference form; drop link to unneeded CPort objects in delayed thunks; streamline some modules that tend to show up in deep phases
svn: r12231
2008-11-04 14:24:12 +00:00
Matthew Flatt
bb7d3d1a28 fix 'local-expand' checking of stop list to disallow symbols; extend 'continuation-marks' to work on threads; fix HtDP language module-level stop list
svn: r12101
2008-10-23 13:38:03 +00:00
Eli Barzilay
8217dddd56 * The module-path place is now optional, and #:language can be used
with an expression (evaluated as usual, not quoted), or with a thunk
  that is invoked before reading the body begins.
* Added some missing tests that were not used for some reason...
* Some other documentation improvements.
* Improved the code a little more.

svn: r11957
2008-10-07 10:56:29 +00:00
Eli Barzilay
da389b03a9 better code layout (easier to add new options)
svn: r11956
2008-10-07 07:53:50 +00:00
John Clements
829b27f343 changed module-syntax/module-reader to syntax/module-reader
svn: r11784
2008-09-17 04:14:26 +00:00
Eli Barzilay
0b2f559e29 module-reader constructs proper source information, fix s-exp reader to use it
svn: r11769
2008-09-15 23:01:06 +00:00
Eli Barzilay
41a4f4b2ae macro -> function
svn: r11678
2008-09-12 15:03:54 +00:00
Matthew Flatt
e67b138830 fix problems with errortrace and namespace phases
svn: r11541
2008-09-04 22:03:06 +00:00
Robby Findler
5e963dccea added contracts back
svn: r11535
2008-09-04 12:09:18 +00:00
Matthew Flatt
2b98280729 fix module-path-index spec and use related to resolved module paths
svn: r11523
2008-09-02 13:54:43 +00:00
Eli Barzilay
db81f6afa1 typo
svn: r11519
2008-09-02 08:09:52 +00:00
Eli Barzilay
eaa5a69fa5 extend syntax/module-reader to avoid ugly hack in scribble/doc/reader
svn: r11517
2008-09-02 04:06:08 +00:00
Robby Findler
5596aff30f improved contract error messages so that they now always have absolute module references in them for blame information
svn: r11511
2008-09-01 19:54:50 +00:00
Eli Barzilay
9e5c466c47 deprecated message for wrap-read-all
svn: r11503
2008-09-01 04:25:54 +00:00
Eli Barzilay
093fe73855 * Minor extension (#:wrapper2 can accept an stx? boolean too)
* Added a more sophisticated test (scribble syntax with an arbitrary
  language), based on documentation example
* Documentation

svn: r11502
2008-09-01 04:23:50 +00:00
Eli Barzilay
7d6bc32ed9 * Extended syntax/module-reader to deal with many more situations
using keywords, and allowing arbitrary code in the reader module
* Added tests for the new functionality
* Used the new stuff for the r5rs, r6rs, and honu readers

svn: r11495
2008-08-31 06:25:41 +00:00
Matthew Flatt
ae9e317b44 fix more problems collapsing planet paths
svn: r11489
2008-08-29 21:45:38 +00:00
Matthew Flatt
797c141ede fix problems collapsing planet module paths
svn: r11488
2008-08-29 21:35:40 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Matthew Flatt
44c5a75739 fix some phase problems in program-processing programs
svn: r10503
2008-06-29 15:11:20 +00:00
Eli Barzilay
8383a541f7 removed commented class code completely: it leads to dependency cycles
svn: r10472
2008-06-27 04:20:38 +00:00
Eli Barzilay
f283f97493 refix indentation, disable scheme/class loading
svn: r10471
2008-06-27 04:10:39 +00:00
Danny Yoo
e16ba1b779 Adjusted the module-reader to handler editor objects as object-names of ports.
svn: r10470
2008-06-27 03:26:44 +00:00
Matthew Flatt
da82fe2a2d eval and phases (4.0.1.2)
svn: r10452
2008-06-25 18:54:38 +00:00
Matthew Flatt
64147e45ab fix module-path-index->taglet bug that is mainly exposed when the current directory is a root directory
svn: r10231
2008-06-12 13:39:23 +00:00
Matthew Flatt
930650491f fix mod-collapse bug with 'up' elements relative to planet paths
svn: r10229
2008-06-12 12:18:30 +00:00
Matthew Flatt
26d4346984 moddep tests
svn: r10179
2008-06-06 15:57:56 +00:00
Matthew Flatt
f81d9ebf54 fix missing .plt in collapsed planet path
svn: r10177
2008-06-06 15:48:51 +00:00
Matthew Flatt
5f5c70eafb fix some docs and tests
svn: r10176
2008-06-06 15:39:59 +00:00
Matthew Flatt
762e04ba60 fix modcollapse in some string planet path cases
svn: r10175
2008-06-06 15:35:06 +00:00
Matthew Flatt
21fd7b93b3 change the way Scribble generates keys based on modules
svn: r10170
2008-06-06 13:24:58 +00:00
Matthew Flatt
fdd99b83dc more consistent cleaning of index strings; fix for 'get-module-code' when no file (source, bytecode, or extension) is available
svn: r10002
2008-05-28 17:40:23 +00:00
Matthew Flatt
09b52486b4 doc for make, mzcom, and mysterx (started) collections; Sam's patches to syntax/module-reader docs
svn: r9324
2008-04-15 20:25:56 +00:00
Matthew Flatt
021d4d7527 new hash function names and ops (3.99.0.23)
svn: r9209
2008-04-08 21:42:38 +00:00
Eli Barzilay
f33137ecd4 reindent
svn: r9199
2008-04-08 12:49:49 +00:00
Sam Tobin-Hochstadt
7f974d7383 Handle all-expression cases explicitly rather than implicitly.
svn: r9183
2008-04-07 21:19:25 +00:00
Matthew Flatt
53cc426d30 expans #reader/#lang protocol so that a #lang result can have more appropriate srclocs; fix up syntax/module-reader to use the new protocol; re-enable arrows to the language position in Check Syntax
svn: r9174
2008-04-06 23:31:58 +00:00
Sam Tobin-Hochstadt
74a000d1ef Handle `letrec-syntaxes+values' in free-var computation.
svn: r9111
2008-03-29 16:35:31 +00:00
Eli Barzilay
d42baaee46 duh, avoid chasing our tail
svn: r8994
2008-03-16 18:15:11 +00:00
Eli Barzilay
78490295fd use #lang
svn: r8993
2008-03-16 18:13:20 +00:00
Matthew Flatt
b7cfd2fd00 plt-r6rs executable and initial r6rs docs
svn: r8859
2008-03-03 21:59:09 +00:00
Eli Barzilay
bb34f747b6 make all files terminate with a newline
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Matthew Flatt
bb0da64842 revise syntax scribblings
svn: r8671
2008-02-15 14:06:21 +00:00
Matthew Flatt
f6c4108af1 syntax collection scribbled
svn: r8670
2008-02-15 13:29:35 +00:00
Matthew Flatt
361b471a05 fix modcollapse bug related to relative paths used from the top level
svn: r8636
2008-02-13 00:19:43 +00:00
Matthew Flatt
9bfa156f91 fix scribble output when a table appears as the first thing in an itemization item; a little more mzlib scribblings
svn: r8617
2008-02-11 12:55:30 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Eli Barzilay
59b5f3a727 removed unused doc.txt entries from info.ss files
svn: r8529
2008-02-04 20:31:04 +00:00
Matthew Flatt
03f8cab5ee r5rs lang and doc tweaks
svn: r8507
2008-02-02 15:57:25 +00:00
Matthew Flatt
4c23a44fd5 fix module->namespace problem, add link to bug report page, fix tests
svn: r8470
2008-01-30 00:21:24 +00:00
Sam Tobin-Hochstadt
6018c35cc8 Fix bug with use of lambda instead of #%plain-lambda.
svn: r8373
2008-01-20 14:37:47 +00:00
Matthew Flatt
19a6edc664 finish fixing sandboxed test suites
svn: r8062
2007-12-19 14:46:30 +00:00
Matthew Flatt
415cd0bf15 lazy, force, delay in scheme/promise and scheme; clean up mzscheme some, and clean up the docs some
svn: r8053
2007-12-18 21:37:23 +00:00
Matthew Flatt
eab8008c4f change 'include' and 'include-bitmap' to better match normal module-path syntax
svn: r7936
2007-12-10 16:13:25 +00:00
Sam Tobin-Hochstadt
7a4054a0b9 Add free-vars.ss, which calculates the free variables of an expression.
svn: r7841
2007-11-26 21:27:12 +00:00
Matthew Flatt
b7df0e92d8 collapse-module-path supports 'quote' paths
svn: r7806
2007-11-21 20:29:15 +00:00
Matthew Flatt
5b0a0be3d6 change scheme/unit and scheme/signature #langs to build on scheme/base
svn: r7792
2007-11-20 23:44:31 +00:00
Matthew Flatt
391892a848 3.99.0.3: improved namespace API
svn: r7756
2007-11-18 02:06:57 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Matthew Flatt
b9a0d860c0 experiment with alpha setting in dc<%>, plus some slideshow experiments and other minor changes
svn: r7399
2007-09-22 13:48:22 +00:00
Matthew Flatt
e4cbc4e6a9 371.2
svn: r7263
2007-09-02 17:39:32 +00:00
Eli Barzilay
e51f848f75 explanation
svn: r6872
2007-07-09 07:29:08 +00:00
Matthew Flatt
d518f24039 370.4
svn: r6710
2007-06-20 21:11:38 +00:00
Matthew Flatt
2e536dc70e doc work, and also generalize normalize-definition to work with opts and kws
svn: r6665
2007-06-15 01:59:06 +00:00
Matthew Flatt
e9385a910e 370.2
svn: r6369
2007-05-29 03:26:32 +00:00
Matthew Flatt
d5b1cc6baf add src-filter to create-exembedding-executable
svn: r6028
2007-04-24 01:18:58 +00:00
Matthew Flatt
a2cbc68378 improve and module-ize mxdemo, change executable creator to prefer exetsnions (such as mxmain)
svn: r6012
2007-04-21 23:00:38 +00:00
Matthew Flatt
a45251d272 369.10
svn: r6003
2007-04-20 01:16:15 +00:00
Matthew Flatt
382209d3fb split moddep into smaller libraries
svn: r5966
2007-04-17 13:52:13 +00:00
Eli Barzilay
822cf3fd56 fix minor bug in contract
svn: r5916
2007-04-10 18:24:24 +00:00
Matthew Flatt
b4592cf435 allof eof as the first argument to check-module-form
svn: r5884
2007-04-08 02:26:47 +00:00
Eli Barzilay
b35c1ab25f code cleanup etc
svn: r5401
2007-01-18 19:36:43 +00:00
Eli Barzilay
19c33a8e2a no need for string->immutable-string when creating exceptions
svn: r5372
2007-01-17 01:18:50 +00:00
Matthew Flatt
87c0d5754e 369.5
svn: r5366
2007-01-16 20:55:13 +00:00
Matthew Flatt
cf0b303497 359.2, collects changes
svn: r5143
2006-12-20 00:57:12 +00:00
Eli Barzilay
3459c3a58f merged units branch
svn: r5033
2006-12-05 20:31:14 +00:00
Matthew Flatt
5bf8586f99 typo
svn: r4911
2006-11-21 21:15:23 +00:00
Matthew Flatt
e05ce0bdc4 doc corrections for expand-syntax-top-level-with-compile-time-evals et al.
svn: r4903
2006-11-21 02:19:50 +00:00
Matthew Flatt
5e0aacd1f3 ignore extensions when creating stand-alone executables
svn: r4829
2006-11-13 00:25:28 +00:00
Matthew Flatt
67fd787c3a PR 8371
svn: r4769
2006-11-03 21:43:03 +00:00
Matthew Flatt
ad506aac3b clarification on common case for id mapping
svn: r4715
2006-10-30 22:12:24 +00:00
Matthew Flatt
329a32a2a5 mzc patches for 352.7
svn: r4596
2006-10-13 22:08:52 +00:00
Matthew Flatt
d1353db107 mzc support for new mzscheme tail calls
svn: r4160
2006-08-27 23:11:46 +00:00
Sam Tobin-Hochstadt
e88f4afa71 syntax/doc.txt: Added documentation for kernel-syntax-case*.
svn: r4090
2006-08-18 20:15:11 +00:00
Sam Tobin-Hochstadt
65dcf4e500 syntax/kerncase.ss: Added kernel-syntax-case*, which allows additional
specification of keywords beyond the MzScheme core forms.  Define both
kernel-sytnax-case and kernel-sytnax-case* in terms of (new)
kernel-sytnax-case-internal.

svn: r4089
2006-08-18 20:10:16 +00:00
Matthew Flatt
3ba33acfd3 let*-values is not a core form
svn: r3890
2006-07-29 12:44:06 +00:00
Robby Findler
49667529da improved running time of contracts and moved some provide/contracts to the bottom of files (not necc yet, but may become necc)
svn: r3665
2006-07-09 21:07:04 +00:00
Matthew Flatt
ebe051694d 350.3
svn: r3571
2006-07-01 18:53:09 +00:00
Matthew Flatt
98a6df7010 call/ec now returns a tail call; mzc needs this information
svn: r3261
2006-06-07 14:59:01 +00:00
Matthew Flatt
b04da77a20 fix collapse-module-path for rel-to of .
svn: r2933
2006-05-13 15:27:21 +00:00
Matthew Flatt
1d77707ef1 301.13 (the beginning of the end for PLTHOME)
svn: r2740
2006-04-23 02:36:55 +00:00
Matthew Flatt
15bfa90966 fix collapse-module-path for Windows when actual paths are involed
svn: r2628
2006-04-06 20:13:04 +00:00
Robby Findler
d8217b9d27 added first stages of improvments to contract library to support lazy structure contracts. not yet complete, but contract system is in working order, so committing
svn: r2452
2006-03-18 05:33:08 +00:00
Jacob Matthews
6cef2e9230 added tests for planet, fixed some bugs in moddep's planet handling
svn: r2433
2006-03-15 16:59:57 +00:00
Matthew Flatt
1c10a636cb fix 'lib' path collapsing to always use Unix style
svn: r2422
2006-03-13 20:19:05 +00:00
Jacob Matthews
566bcba4d5 extended collapse-module-path to handle planet
svn: r2412
2006-03-10 16:29:44 +00:00
Jacob Matthews
4a8811c6b0 fix drscheme-stopping contract problem
svn: r2410
2006-03-10 14:57:05 +00:00
Matthew Flatt
17670dd89d moddep contracts and testing
svn: r2407
2006-03-10 03:35:23 +00:00
Matthew Flatt
d9e3e1e267 make serialization work right when a module is dynamic-required using a (non-string) path
svn: r2321
2006-02-26 17:45:37 +00:00