[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Beginner questions
From: |
Neil Jerram |
Subject: |
Re: Beginner questions |
Date: |
Mon, 19 Nov 2018 09:02:23 +0000 |
User-agent: |
K-9 Mail for Android |
On 18 November 2018 19:33:31 GMT, Catonano <address@hidden> wrote:
>Il giorno lun 29 ott 2018 alle ore 22:58 swedebugia
><address@hidden>
>ha scritto:
>
>> Hi
>>
>> I would like to learn more scheme and I would like to make a small
>CLI
>> program that runs in the terminal and prompts the user for input and
>> evaluates it.
>>
>> Is that possible with guile? In the REPL?
>>
>> Can someone point me in the right direction for succeding with that?
>>
>>
>>
>
> Hi
>
>I am curious: did you manage to put together a prototype of this thing
>prompting a user in the terminal ?
In case it's of interest, I wrote this kind of thing a few years ago: a command
loop for Guile where you can register possible commands, and each command has a
spec like the Emacs 'interactive' form that says what the args are and how to
prompt for them.
The command loop entry point is at
http://git.savannah.nongnu.org/cgit/ossaulib.git/tree/ossau/command-loop.scm
and the dependency modules are all included in that git repo.
Best wishes,
Neil