[racket] Reading racket files
On Mon, Jun 11, 2012 at 10:26 AM, Neil Van Dyke <neil at neilvandyke.org>wrote:
> "read-accept-lang" and "read-accept-reader" seem to do most of the work.
>
I have looked for those several times but somehow never found them! Thank
you very much Neil!
Laurent
>
> There is still a few details to attend to. What McFly Tools currently
> does before calling progedit for the simpler case of "info.rkt" files only
> is to identify one of 3 different formats: no module, #lang, and "(module
> ...)", and go from there. ("#lang" seemed to introduce a "#%module-begin"
> that "(module ...)" didn't.)
>
> McFly Tools punts on whether an alternative reader (e.g., "at-reader")
> might be in effect where it makes its edits, although "progedit" does have
> a "#:write-stx" argument with this problem in mind.
>
> Neil V.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120611/77e3b52d/attachment-0001.html>