This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Translators again
Ian Bicking <bickiia@earlham.edu> writes:
> On Wed, Feb 09, 2000 at 06:14:24PM +0100, Jost Boekemeier wrote:
> > Ian Bicking <bickiia@earlham.edu> writes:
> > > It seems as though the REPL may not be implemented in a standard way
> > > in many applications. That is, RPL are somewhat application-specific,
> > > only the E really relates to Guile or the language.
> >
> > Isn't it possible for a foreign language implementor to
> > implement a language specific eval?
>
> I guess your implementation seems too tricky to me. It's much
> easier for people to understand APIs that don't rename anything.
It's just that you have more than one environment to
play with. In the tcl environment you can define eval-string,
in the scheme R5RS environment you must define eval with
two arguments etc.
[defining eval-string as:]
> (eval-string <some-input> #:language <some-language>)
In which module/environment?
Jost