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: GSoC rambling and the missing SimplePrompter source


On 03/30/2011 02:30 PM, Charles H. Turner wrote:
I am considering the REPL improvements proposal. Recently, I've been
trying to understand how the REPL is implemented so that I may have a
better chance of knowing whether I'll be capable of generally improving
it and making a websocket interface with interactive customisation and
error linkage, Ã la Racket. (The DrRacket, formally DrScheme, IDE) Time
permitting, I'd like to have a crack at the pretty-printer.

Cool - Welcome!


I've played with using a webbrowser as the "display engine" for a REPL.
This can be cool - for one it allows people to play with HTML and
pictures in a REPL, making for a neat way to try out HTML.
There is some semi-bit-rotted code in gnu/kawa/servlet/Repl*.java.
Using the HTML5 websocket interface seems the way to go - it won't
be very portable or stable in the short run (until the websockets
specification is final), but it's probably the way to go long-term.

I've hit a wall, however. I'm trying to learn how the various Prompter
classes work, but the source file for the SimplePrompter class appears
to be missing. The SimplePrompter.class file exists, but not the
SimplePrompter.java file. I have the latest subversion repository from
the Kawa website. Can anyone help me?

The SimplePrompter class is in gnu/expr/Language.java.


I do a lot of find-grep searches:
  grep SimplePrompter `find . -name '*.java'`|less

Another trick:
  javap gnu.expr.SimplePrompter
tells you it was compiled from Language.java.
--
	--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]