From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: Beginner questions Date: Mon, 19 Nov 2018 09:02:23 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1542618053 10487 195.159.176.226 (19 Nov 2018 09:00:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2018 09:00:53 +0000 (UTC) User-Agent: K-9 Mail for Android Cc: Guile User To: guile-user@gnu.org, Catonano , swedebugia Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Nov 19 10:00:49 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOfQG-0002bW-6d for guile-user@m.gmane.org; Mon, 19 Nov 2018 10:00:48 +0100 Original-Received: from localhost ([::1]:54842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOfSM-0005jl-Nl for guile-user@m.gmane.org; Mon, 19 Nov 2018 04:02:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOfRz-0005jV-2e for guile-user@gnu.org; Mon, 19 Nov 2018 04:02:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOfRu-0007iN-4m for guile-user@gnu.org; Mon, 19 Nov 2018 04:02:35 -0500 Original-Received: from ossau.homelinux.net ([18.217.239.99]:56278 helo=ip-172-31-40-63.us-east-2.compute.internal) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOfRt-0007hs-Mv for guile-user@gnu.org; Mon, 19 Nov 2018 04:02:30 -0500 Original-Received: from [10.161.180.60] (92.40.248.46.threembb.co.uk [92.40.248.46]) by ip-172-31-40-63.us-east-2.compute.internal (Postfix) with ESMTPSA id 3B396C0E9A; Mon, 19 Nov 2018 09:02:28 +0000 (UTC) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 18.217.239.99 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15008 Archived-At: On 18 November 2018 19:33:31 GMT, Catonano wrote: >Il giorno lun 29 ott 2018 alle ore 22:58 swedebugia > >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=2E >> >> 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 co= mmand loop for Guile where you can register possible commands, and each com= mand has a spec like the Emacs 'interactive' form that says what the args a= re and how to prompt for them=2E The command loop entry point is at http://git=2Esavannah=2Enongnu=2Eorg/cg= it/ossaulib=2Egit/tree/ossau/command-loop=2Escm and the dependency modules = are all included in that git repo=2E Best wishes, Neil