document current-read-interaction
adjustment by at-exp
i.e., document the change in commit 015986fb4f. original commit: 168e76ac0ef00ca503b60f662807105f7a63d13b
This commit is contained in:
parent
990dc34ae3
commit
220d38c053
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user