From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18338 invoked by alias); 31 Aug 2017 18:02:34 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 18327 invoked by uid 89); 31 Aug 2017 18:02:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:9a19, phone, HContent-Transfer-Encoding:8bit X-HELO: aibo.runbox.com Received: from dns3.teletopia.net (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 31 Aug 2017 18:02:23 +0000 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dnTnI-0003VH-Ql; Thu, 31 Aug 2017 20:02:20 +0200 Received: from 70-36-239-209.dsl.dynamic.fusionbroadband.com ([70.36.239.209] helo=localhost.localdomain) by mailfront10.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1dnTnH-0007is-Fi; Thu, 31 Aug 2017 20:02:19 +0200 Subject: Re: repl for android From: Per Bothner To: Sonny To , Kawa mailing list References: <4ab41d4d-616d-c2ad-9079-2edea143d4d0@bothner.com> Message-ID: <2c5c9bf7-9a19-b8e3-625c-03af72a9db00@bothner.com> Date: Thu, 31 Aug 2017 18:02:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <4ab41d4d-616d-c2ad-9079-2edea143d4d0@bothner.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-q3/txt/msg00026.txt.bz2 On 08/31/2017 09:31 AM, Per Bothner wrote: > On 08/31/2017 08:43 AM, Sonny To wrote: >> One thing I like about Clojure for Android is the repl.  Is there a >> repl for android where I can attach from emacs and eval some code and >> dynamically construct a UI? > > Kawa does includes a telnet server. You could start it on the phone with: >   java kawa.repl --port PORTNUM > where PORTNUM is the listening port.  (If you use 0, an available port is used.) Oops - that should have been java kawa.repl --server PORTNUM The ---port flag used used to start a http server, while the --server flag is used to start a telnet server. -- --Per Bothner per@bothner.com http://per.bothner.com/