Re: [racket-users] changing REPL Language in TryRacket

2015-03-28 Thread Alexander D. Knauth
On Mar 28, 2015, at 8:02 AM, Alexander D. Knauth wrote: > Oh. > > I forgot that try-racket didn’t call current-print within the sandbox. > > In that case maybe you could, in addition, change this line: > https://github.com/jarcane/try-racket/blob/master/main.rkt#L75 > To something like > [e

Re: [racket-users] changing REPL Language in TryRacket

2015-03-28 Thread Chrakhan Barzanji
> > no! still does not! > result: > > (quote (1 2 3 4)) > ###(mcons > 1 (mcons 2 (mcons 3 (mcons 4 '() > > '(1 2 3 4) > (mcons 1 (mcons 2 (mcons 3 (mcons 4 '() > > i want: > > '(1 2 3 4) > (1 2 3 4) > > > changed: > > (define (make-ev) > (parameterize ([sandbox-output

Re: [racket-users] changing REPL Language in TryRacket

2015-03-27 Thread Alexander D. Knauth
On Mar 27, 2015, at 8:51 PM, Alexander D. Knauth wrote: > Does changing it do this do what you want? > (make-evaluator '(special r5rs) '(require r5rs/init) And I forgot, also add a [current-print write] to the parameterize form? > On Mar 27, 2015, at 8:26 PM, Chrakhan wrote: > >> I tried alr

Re: [racket-users] changing REPL Language in TryRacket

2015-03-27 Thread Alexander D. Knauth
Does changing it do this do what you want? (make-evaluator '(special r5rs) '(require r5rs/init) On Mar 27, 2015, at 8:26 PM, Chrakhan wrote: > I tried already to change the line but what i want to see is when i write '(1 > 2 3) in the REPL i want to get (1 2 3) and not '(1 2 3) or (mcons 1( mco

Re: [racket-users] changing REPL Language in TryRacket

2015-03-27 Thread Chrakhan
I tried already to change the line but what i want to see is when i write '(1 2 3) in the REPL i want to get (1 2 3) and not '(1 2 3) or (mcons 1( mcons 2... Just like DrRacket in r5rs language do! Any idea what to do? Sent from my iPhone > On 28 Mar 2015, at 00:44, Alexander D. Knauth wrote

Re: [racket-users] changing REPL Language in TryRacket

2015-03-27 Thread Alexander D. Knauth
Does this changing this line to `(make-evaluator ‘(special r5rs)` do what you want? https://github.com/jarcane/try-racket/blob/master/main.rkt#L53 On Mar 27, 2015, at 6:44 PM, Chrakhan Barzanji wrote: > hi, > as you may know in TryRacket the language of the REPL is set on racket/base! > I me

[racket-users] changing REPL Language in TryRacket

2015-03-27 Thread Chrakhan Barzanji
hi, as you may know in TryRacket the language of the REPL is set on racket/base! I mean the Racket interpreter, but i want to change ist to r5rs! could you tell, how to do this! I can run main.rkt locally using localhost, just telll me wher i can tell main.rkt to change me the interpreter language!