Is it a dream?

For the Compleat Fan
Locked
pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Is it a dream?

Post by pjot »

To demonstrate the power of GTK and newLISP.

Image

No editor and no debugger yet, this is an ongoing project. Runs both on Linux and Win32. Some facts:

- Asynchronous GUI updates
- Anti-aliased fonts
- All colors are configurable
- Memorizes settings
- GUI designed with Glade
- Optionally survives (exit) of client program
- Revealed a bug in GTK-server and also libGlade
- Programmed in 2 days and 5 evenings

Sourcecode is here:

http://www.turtle.dds.nl/newlisp/ide.lsp

Needs GTK-server 2.0.9 with which the IDE will work out-of-the-box.

Enjoy,
Peter
Last edited by pjot on Sat Jan 21, 2006 2:35 pm, edited 2 times in total.

Fanda
Posts: 253
Joined: Tue Aug 02, 2005 6:40 am
Contact:

Post by Fanda »

It looks very good!

I know only Tk, so I am happy with the current version of newlisp-tk, but if GTK makes a better programming environment, I am gonna have to switch :)

I know that there is a lot of work being done on Tk - new version 8.5 should be coming out and it should have all kinds of "cool features" ;-)

Fanda

PS: For screenshots try using PNG instead of JPEG - it saves the space and looks even better ;-)

pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Post by pjot »

Thanx, as you can see I had trouble choosing nice colors :-)

It started as a TCL/TK clone. I really did not like the fonts of newlisp-tk, and the fact that there was no syntax highlighting. Norman came up with the idea to leave the GUI open, even after the client program exits (option in the "Options" menu; the TK version exits in this situation).

Also I was disappointed to find out that newlisp-tk was written in TCL. A GUI for newLISP should be written in newLISP, of course.

Peter

PS made another screenshot, looks better maybe.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

A IDE in GTK and with syntax highlighting? I am all for it, geat idea!

Lutz

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

A IDE ...... with syntax highlighting?
Maybe you may try the ctext-widget instead of standard text-widget for newLISP.tcl to get it in TK!

http://mini.net/tcl/4134
Hans-Peter

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

Btw, you can grab indenting code from my newlisp console
http://en.feautec.pp.ru/SiteNews/NewlispConsole
WBR, Dmi

pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Post by pjot »

Glad you like it. For those who don't believe it runs without modification on windows ;-)

Image

Sorry for the bad picture, and the ugly colors, but it was taken on WindowsNT4.0 running in QEMU. It also runs on OpenBSD, and I expect it runs on MacOSX and higher also....

Peter

Locked