From: Per Bothner <per@bothner.com>
To: Duncan Mak <duncanmak@gmail.com>
Cc: kawa mailing list <kawa@sourceware.org>
Subject: Re: gnu.expr.ModuleMethod no more? (+ Emacs SLIME)
Date: Thu, 08 Jun 2017 21:59:00 -0000 [thread overview]
Message-ID: <1c088f4a-5368-723f-c27d-230ec4abe900@bothner.com> (raw)
In-Reply-To: <CABgWrqoMrQ6ew0Rf9g2jXTDeVW9i4SQ7C3r-EK0+Ewn6Uo2J7A@mail.gmail.com>
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/
prev parent reply other threads:[~2017-06-08 21:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-04 20:50 Sudarshan S Chawathe
2017-06-05 0:29 ` Per Bothner
2017-06-05 13:34 ` Per Bothner
2017-06-05 15:01 ` Duncan Mak
2017-06-05 22:53 ` Per Bothner
2017-06-08 21:59 ` Per Bothner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1c088f4a-5368-723f-c27d-230ec4abe900@bothner.com \
--to=per@bothner.com \
--cc=duncanmak@gmail.com \
--cc=kawa@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).