Commit Graph

459 Commits

Author SHA1 Message Date
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
Robby Findler
b270a847a9 added contract to build-struct-names
svn: r1928
2006-01-22 15:46:46 +00:00
Matthew Flatt
c0476d4add strip #! from start of programs
svn: r1376
2005-11-22 22:34:35 +00:00
Matthew Flatt
6071787e52 %var-ref to kercase
svn: r1289
2005-11-11 21:38:26 +00:00
Matthew Flatt
aa0692e7cd 299.406
svn: r1287
2005-11-11 21:26:46 +00:00
Robby Findler
07b3789f8b moved out the syntax->string function
svn: r1085
2005-10-14 18:38:10 +00:00
Matthew Flatt
98ed509542 fixed bug in build-struct-expand-info
svn: r543
2005-08-04 03:21:37 +00:00
Matthew Flatt
0d4bc2cd9d 299.107
svn: r259
2005-06-28 17:01:03 +00:00
Eli Barzilay
daa18fcba0 typos
svn: r66
2005-06-08 00:28:39 +00:00
Eli Barzilay
017d151d59 Adding collects, with all the right properties (except eoln-style).
svn: r3
2005-05-27 18:56:37 +00:00