> On May 17, 2017, at 8:30 PM, Vityou <zlee...@gmail.com> wrote:
> 
> I made a little lambda-calculus language and it works for everything, except 
> when I try to use it in the repl: racket -I lambda-calculus.  It acts like it 
> worked, but when I try to type an expression it says that all the variables 
> like #%top-interaction don't exist.  I made a pure language and a base (that 
> just adds some stuff to pure) language, and in the main.rkt file, I made a 
> reader submodule that just uses the base language: (module reader 
> syntax/module-reader
>  "base.rkt")
> 
> The repl works with lambda-calculus/base and pure, but not plain 
> lambda-calculus.  Plain lambda-calculus works in the drracket interactions 
> area, so I don't know why it won't work in the repl.

In general it depends on whether you need to change the reader or not. However 
from your reader module it looks like you're using the default reader, so most 
likely just re-providing racket's #%top-interaction from "base.rkt" will work.

Alex Knauth

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to