This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gnu.expr.ModuleMethod no more? (+ Emacs SLIME)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]