Hi,
Andy Wingo skribis:
> Guile's REPL does do that, yes. I think that Noah's proposal was to pun
> the ,language command so that in a file, instead of
>
>#!lang r5rs
>(eval '(+ 1 2) (scheme-report-environment 5))
>
> you could have
>
>,language r5rs
>(eval '(+ 1 2) (scheme-rep
20 minutes ago, Andy Wingo wrote:
> Guile's REPL does do that, yes. I think that Noah's proposal was to pun
> the ,language command so that in a file, instead of
>
>#!lang r5rs
>(eval '(+ 1 2) (scheme-report-environment 5))
>
> you could have
>
>,language r5rs
>(eval '(+ 1 2) (
On Sat 07 Jan 2012 02:56, Eli Barzilay writes:
> FWIW, that's true -- and a reason that I plan to change what xrepl
> (our command-line thing which I added to Racket recently) so that it
> intercepts any line that starts with a "," which means that it would
> work no matter what the actual langua
An hour and a half ago, e...@barzilay.org wrote:
>
> On Tue 06 Dec 2011 01:36, Noah Lavine writes:
>
> > And about the directives, what should they be? ',language' is what
> > we used to use at the REPL, and I was about to write an email
> > arguing for that, until I realized that there is one b
On Tue 06 Dec 2011 01:36, Noah Lavine writes:
>> I guess in general I'd prefer something like Racket's #!lang directives,
>> though I'm not opposed to this approach. Dunno!
>
> How about using language directives when available, and trying to
> guess the language when not?
I'm fine with this, F
> I guess in general I'd prefer something like Racket's #!lang directives,
> though I'm not opposed to this approach. Dunno!
How about using language directives when available, and trying to
guess the language when not?
And about the directives, what should they be? ',language' is what we
used t
Hello June!
On Sun 12 Jun 2011 03:24, BT Templeton writes:
> What is `*current-language*' supposed to be used for?
It is supposed to be a default language for the compiler and other
things that are interested in languages.
> I see that it's
> set by `(@ (ice-9 eval-string)
BT Templeton writes:
> What is `*current-language*' supposed to be used for? I see that it's
> set by `(@ (ice-9 eval-string) read-and-eval)' and by `(@ (system base
> compile) read-and-compile)', but not by the REPL. So calling
> `primitive-load-path' on
What is `*current-language*' supposed to be used for? I see that it's
set by `(@ (ice-9 eval-string) read-and-eval)' and by `(@ (system base
compile) read-and-compile)', but not by the REPL. So calling
`primitive-load-path' on a Scheme file from a REPL for another langua