Eli Barzilay
f83bf42796
use "anonymous-module" for modules without a source file
...
svn: r17228
2009-12-06 10:46:05 +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
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
75803d4881
Here's the changes that accidentally went to trunk first.
...
svn: r17150
2009-12-01 20:39:58 +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
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
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
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
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
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
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
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
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
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
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
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
03f8cab5ee
r5rs lang and doc tweaks
...
svn: r8507
2008-02-02 15:57:25 +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