Hi Ambrus,

I also tried to wrestle with the new interface in jep.c until I just gave up. 

I hope "somebody" can make a C++ interface. Hint, hint, hint. :P

r/Alex

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zsbán Ambrus
Sent: Tuesday, September 16, 2008 4:23 PM
To: General forum
Subject: Re: [Jgeneral] programming environment for jconsole

On Tue, Sep 16, 2008 at 03:32, bill lam <[EMAIL PROTECTED]> wrote:
> Now J is the only program that require java runtime inside my computer
> and I would like to get rid of java. Suppose I only use jconsole and
> don't need functions provided by J IDE except pacman, project and
> debug available. Any idea how feasible that will be?

You could write a library for J that uses another GUI widget kit.
There are basically three ways for this today.  One is to use the
foreign call interface (15!:) to call stuff.  Second is to write a
master program which is like j itself that it calls the j interpreter
library, runs a program, and answers window (11!:) requests in a new
way.  (This used to be easier back when we had the j socket protocol.
In j602, you instead have to figure out how the library interface
works.  The documentation and examples aren't really enough for this,
so you basically have to guess.  I have figured out part of the
interface in the jep.c program in
http://www.math.bme.hu/~ambrus/pu/jevalbot.tgz, but there are some
assumptions I use, and I specifically couldn't figure out how J passes
you noun data, and you may need that to handle window requests.)  The
third way is to do most of the work in a non-J program that handles
the gui and all stuff, but do the numerical calculations and whatever
J is the best for in a separate J program.

Ambrus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to