From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12137 invoked by alias); 8 Jun 2017 21:59:19 -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 12121 invoked by uid 89); 8 Jun 2017 21:59:18 -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=pl, St, Pl, st X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Jun 2017 21:59:16 +0000 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dJ5SX-0004R5-DI; Thu, 08 Jun 2017 23:59:17 +0200 Received: from 70-36-239-209.dsl.dynamic.fusionbroadband.com ([70.36.239.209] helo=localhost.localdomain) by mailfront11.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1dJ5SU-0004Wr-0E; Thu, 08 Jun 2017 23:59:14 +0200 Subject: Re: gnu.expr.ModuleMethod no more? (+ Emacs SLIME) To: Duncan Mak Cc: kawa mailing list References: <22244.1496609440@vereq.eip10.org> <1961b4d4-87e1-f45f-9383-f3602a9ed3ba@bothner.com> From: Per Bothner Message-ID: <1c088f4a-5368-723f-c27d-230ec4abe900@bothner.com> Date: Thu, 08 Jun 2017 21:59:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00100.txt.bz2 On 06/05/2017 08:01 AM, Duncan Mak wrote: > Adding support for ranges on top of positions seems like an obvious > choice, but I'd also like to write more Scheme code than Java, do you > know of any other tasks that would help get this feature bootstrapped? I've checked in support for source-code ranges. When line number are included the output from ---debug-print-expr or --debug-print-expr you should now see end positions as well as start positions: $ bin/kawa --debug-print-expr #|kawa:1|# (+ (* 3 4) #|.....2|# 10) [Module:atInteractiveLevel-2 (Module/atInteractiveLevel-2/2/ () (Apply line:1:1-2:6 (Ref/4/Declaration[applyToArgs/2]) (Ref/3/+/Declaration[$Pl/3]) (Apply line:1:4-11 (Ref/6/Declaration[applyToArgs/2]) (Ref/5/*/Declaration[$St/5]) (Quote 3) (Quote 4)) (Quote 10)))] 22 -- --Per Bothner per@bothner.com http://per.bothner.com/