Re: [racket-users] using a created language in the repl

2017-05-28 Thread Vityou
I think what happens is that when you use the language with the repl it ignores the reader and just looks at the exports from the language (main.rkt). On Thursday, May 25, 2017 at 10:14:58 AM UTC-6, Dmitry Pavlov wrote: > Vityou, > > > > I will give you an example though I myself

Re: [racket-users] using a created language in the repl

2017-05-25 Thread Dmitry Pavlov
Vityou, I will give you an example though I myself sometimes doubt that I did it in the right way. Anyway, here is what I did when I had exactly the same problem: - redefine and reexport #% top-interaction - provide #:language-info to the DrRacket's REPL (I am not sure if racket's REPL needs

Re: [racket-users] using a created language in the repl

2017-05-17 Thread Vityou
I did reprovide all of the #%... forms from racket, and the repl works with base.rkt, it's when I have a reader that the repl doesn't work. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving

Re: [racket-users] using a created language in the repl

2017-05-17 Thread Alex Knauth
> On May 17, 2017, at 8:30 PM, Vityou 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