[plt-scheme] Re: how to specify the language "PLAI Scheme" in PLT Scheme in Emacs

From: Arjun Guha (arjun.guha at gmail.com)
Date: Thu Mar 5 06:04:34 EST 2009

Ack, my bad.  I'll look into the plai problem further.

Arjun

On Wed, Mar 4, 2009 at 22:58, Eli Barzilay <eli at barzilay.org> wrote:
> On Mar  4, Arjun Guha wrote:
>> $ ./mzscheme
>> Welcome to MzScheme v4.1.4 [3m], Copyright (c) 2004-2009 PLT Scheme Inc.
>> > #lang typed-scheme
>>
>> (two minutes later, nothing)
>>
>> This may be a bug / unintended use case.  However, "mzscheme -i -l
>> plai" should work fine.
>
> `#lang' starts the reader for the specified language, which will read
> a *whole* file and return a module expression.  When you use it on the
> repl it will sit and do nothing because the reader is waiting to see
> the end of the file.  For example, from a unix repl, you can enter:
>
>  > #lang scheme
>  1
>  2
>  3
>  <<<hit ctrl+d>>>
>  >
>
> After that you can (require 'page) to require that module.  (`page' is
> the default name for #lang-read modules that don't come from a file.)
>
> --
>          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                  http://www.barzilay.org/                 Maze is Life!
>


Posted on the users mailing list.