guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: REPL reader of multi-language


From: Ludovic Courtès
Subject: Re: REPL reader of multi-language
Date: Fri, 30 May 2014 21:08:58 +0200
User-agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)

Nala Ginrut <address@hidden> skribis:

> So here's my problem, there's only one reader slot defined in each
> language type ,say, in (system base language). I have to implement just
> one reader to fit them all:
> 1. If I provide the interactive reader in Guile, the reader becomes
> inefficient. Because each time users input `Enter', the source code
> typed so far will be detected in lalr-parser, and exception would be
> caught when the line doesn't complete a chunk, then the REPL returns
> continue prompt, say '...'.
>
> 2. If I provide compiler reader, people have to type semicolon or ctrl+d
> to see the result.

Commit 65fa60 adjusted the REPL for multi-language support.  In
particular that works fine with both Scheme/elisp and ECMAScript.

What exactly is missing for Lua to be usable at the REPL?

Ludo’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]