Matthew Flatt
1ae6cc0505
change `syntax-local-lift-module-end-declaration' for phase N
...
Lift to the end of the module, instead of the end of the
enclosing `begin-for-syntax'.
Also, fix a bug in phase 2+ visits.
2011-09-24 22:30:56 +09:00
Matthew Flatt
0197902309
add var-ref->mod-decl-insp' and switch
cur-code-insp' uses
...
Macros and other tools that need syntax privilege used
`(current-code-inspector)' at the module top-level to try to
capture the right code inspector at load time. It's more
consistent to instead use the enclosing module's declaration-time
inspector, and `var-ref->mod-decl-insp' provides that. The
new function works only on references to anonymous variables,
which limits access to the inspector.
The real function name is longer, of course.
2011-09-20 13:50:36 -06:00
Matthew Flatt
7f887fdf60
fix problems in copy-file'; add
exists-ok?' argument
...
The non-Windows `copy-file' had a race condition, and it could
behave in bad ways if the source of a copy is not a regular
file.
2011-09-19 08:20:22 -06:00
Matthew Flatt
f280fb14b4
places: doc repair, refine error checking, fix a test
2011-09-17 07:29:07 -06:00
Matthew Flatt
376efea754
doc clarifications and tests for some file-locking corners
2011-09-17 07:29:07 -06:00
Matthew Flatt
8e9e8ee48e
doc edits
2011-09-16 17:56:53 -06:00
Eli Barzilay
55a8471838
Quick typo.
2011-09-16 10:48:17 -04:00
Kevin Tew
5a28514553
Doc fixes I forgot to include in previous commit
2011-09-15 17:15:44 -06:00
Kevin Tew
b6972a3b7f
dynamic-place now pipes standard io to standard out and error much like system.
2011-09-15 14:53:58 -06:00
Matthew Flatt
a233697f08
fix errortrace (required API changes), add `syntax-shift-phase-level'
...
Also fix a bug in the `module' expander and streamline lazy
visits.
2011-09-13 21:04:10 -06:00
Matthew Flatt
51721e9bb5
fix contract in docs
2011-09-12 19:39:45 -06:00
Matthew Flatt
a8c0c1f8b7
simpify an example
2011-09-12 19:39:37 -06:00
Matthew Flatt
c5131d428c
doc clarifications on `eq?'
2011-09-12 19:16:57 -06:00
Matthew Flatt
b7bef3b3aa
add syntax-transforming-module-expression?',
variable-reference->module-base-phase'
2011-09-12 17:08:50 -06:00
Matthew Flatt
c352ef8fce
allow different phases for `free-identifier=?' arguments
2011-09-12 17:08:50 -06:00
Matthew Flatt
d3c56c9f13
generalized `begin-for-syntax'
2011-09-08 14:06:00 -06:00
Matthew Flatt
82116cc3bd
add examples to regexp docs
2011-09-03 15:01:11 -06:00
Matthew Flatt
03991c778c
doc contract fix
...
Closes PR 12163
2011-09-03 13:31:27 -06:00
Matthew Flatt
60325da48c
clarify `unsafe-...*' in docs
...
The clarification mostly repeats information in the contract,
and we normally avoid that, but the bindings look undocumented
otherwise.
Closes PR 12162
2011-09-03 13:26:20 -06:00
Matthew Flatt
1c34ce9f19
clarify `define-struct/derived' in docs
2011-09-03 13:21:38 -06:00
Matthew Flatt
4025206bd7
fix `regexp-match' docs
2011-09-03 13:11:33 -06:00
Matthew Flatt
db0db9463e
adjust -X handling to make `raco exe' work on Unix
...
Closes PR 12151
2011-09-01 08:49:26 -06:00
Matthew Flatt
ff140d721c
remove doc for non-existent function
2011-09-01 07:14:02 -06:00
James Ian Johnson
3f23a67d57
Fixed the duplicate identifier bug in match-define-values and changed identifiers to conform to naming conventions.
2011-08-31 22:27:02 -04:00
James Ian Johnson
dc61372f3c
Implemented Sam's suggested changes for new forms, and added a new match/values form.
2011-08-31 21:45:21 -04:00
James Ian Johnson
93e1b634a3
Added let and define forms that generalize let-values, let*-values and define-values
2011-08-31 21:45:21 -04:00
Eli Barzilay
187110cc2c
Change default temporary format from "mztmp~a" to "rkttmp~a".
2011-08-29 20:53:57 -04:00
Robby Findler
d4f4f754f1
make make-temporary-file use the source location for its template argument
...
(This involves making make-temporary-file be a macro instead of a procedure.)
2011-08-29 19:36:33 -05:00
Matthew Flatt
2d1b0172fb
move Reference reader & prnter docs to the model chapel
...
instead of having those sections buried in the I/O chapter
2011-08-28 18:15:43 -06:00
Matthew Flatt
4f83f7f279
allow phase 1+ references to not-yet-defined bindings
...
For example,
(define-for-syntax (f x) (g x))
(define-for-syntax (g y) y)
is now allowed. The unbound-variable check for phase 1
and up is delayed until after the module body is partially expanded.
2011-08-28 10:27:31 -06:00
Matthew Flatt
b628ae8424
remove leftover tmp file during reference build
2011-08-28 07:50:41 -06:00
Robby Findler
8fd388fde1
adjust put-preferences docs to match implementation
2011-08-27 16:41:34 -05:00
Matthew Flatt
85790b6611
improve description of andmap' and
ormap'
...
Based on suggestions from Dan Grossman and Ryan Culpepper
2011-08-26 10:03:53 -06:00
Matthew Flatt
290fe066b6
add optional argument to weak-box-value' and
ephemeron-value'
2011-08-26 06:24:34 -06:00
Matthew Flatt
ce7c0d62c3
if only a Unix root is shared, don't make a path relative
2011-08-24 20:08:20 -06:00
Matthew Flatt
ec29a2d85c
add `use-collection-link-paths'
2011-08-24 20:08:19 -06:00
Matthew Flatt
84e3ab2a20
add support for collection roots to the collection links file
2011-08-24 20:08:19 -06:00
Kevin Tew
5a30aa89eb
Allow TCP sockets and file ports to be communicated across places
2011-08-24 14:33:54 -06:00
Matthew Flatt
a7855e20a8
add `raco link'
...
includes a rewrite the "Module Basics" section of the Guide
2011-08-24 09:07:14 -06:00
Kevin Tew
f85c73f83d
change evt? to handle-evt?
2011-08-23 14:02:01 -06:00
Kevin Tew
0f595f4882
docs cpointers over place-channels
2011-08-23 14:02:01 -06:00
Eli Barzilay
a0baee8ab9
Sandbox fixes
...
* When `accept-lang?' is #t turn the reader flag on, but otherwise don't
change it
* turn on the `read-accept-reader' flag which is needed after all
* two refactoring typos
* some more reformatting
2011-08-20 16:14:01 -04:00
Eli Barzilay
da3c6c9be2
Set read-accept-lang' to #t when reading a module in
make-module-evaluator'.
...
Also, some reformatting including uses of `define'.
2011-08-20 06:12:55 -04:00
Jon Rafkind
47d613f4ec
add 'exit-code as an available symbol to the status procedure returned by process
2011-08-19 17:12:13 -06:00
Matthew Flatt
2606c59a29
fix `call-with-file-lock/timeout' example
2011-08-19 15:58:05 -06:00
Matthew Flatt
11f5c84493
fix make-lock-file-name'; add
path-element?'
2011-08-19 15:46:44 -06:00
Matthew Flatt
ab477b958c
fix reader graph-notation equivalence
2011-08-18 12:54:52 -06:00
Sam Tobin-Hochstadt
52fb1e3460
Add more elements to the list of things that are events.
2011-08-16 18:10:02 -04:00
Vincent St-Amour
d05f138ed2
Add precision to sequence-fold's doc.
2011-08-16 12:09:39 -04:00
Eli Barzilay
d61eb53686
Lots of documentation formatting.
...
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00