commit 220d38c05362986534865abff3572cccd7dd395c
parent 990dc34ae32aa24b47816a68dc80b5fa5dfdd3f5
Author: Matthew Flatt <mflatt@racket-lang.org>
Date: Mon, 3 Nov 2014 12:49:45 -0700
document `current-read-interaction` adjustment by `at-exp`
i.e., document the change in commit 015986fb4f.
original commit: 168e76ac0ef00ca503b60f662807105f7a63d13b
Diffstat:
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/pkgs/scribble-pkgs/scribble-doc/scribblings/scribble/reader-internals.scrbl b/pkgs/scribble-pkgs/scribble-doc/scribblings/scribble/reader-internals.scrbl
@@ -145,7 +145,8 @@ is an example of this.
@section[#:tag "at-exp-lang"]{Adding @"@"-expressions to a Language}
@defmodulelang[at-exp]{The @racketmodname[at-exp] language installs
-@seclink["reader"]{@"@"-reader} support in the readtable, and then chains to the reader of
+@seclink["reader"]{@"@"-reader} support in the readtable used to read
+a module, and then chains to the reader of
another language that is specified immediately after
@racketmodname[at-exp].}
@@ -160,6 +161,15 @@ at-exp racket/base
reports @racket["Hello, friend."].
+In addition to configuring the reader for a module body,
+@racketmodname[at-exp] attaches a run-time configuration annotation to
+the module, so that it if it used as the main module, the
+@racket[current-read-interaction] parameter is adjusted to use the
+@seclink["reader"]{@"@"-reader} readtable extension.
+
+@history[#:changed "1.2" @elem{Added @racket[current-read-interaction]
+ run-time configuration.}]
+
@;--------------------------------------------------------------------
@section{Interface}