Is it a dream?

Started by pjot, January 20, 2006, 02:00:16 PM

Previous topic - Next topic

pjot

To demonstrate the power of GTK and newLISP.



http://www.turtle.dds.nl/newlisp/ide.jpg">



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">//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

Fanda

#1
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

#2
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

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



Lutz

HPW

#4
QuoteA 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">http://mini.net/tcl/4134
Hans-Peter

Dmi

#5
Btw, you can grab indenting code from my newlisp console

http://en.feautec.pp.ru/SiteNews/NewlispConsole">//http://en.feautec.pp.ru/SiteNews/NewlispConsole
WBR, Dmi

pjot

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



http://www.turtle.dds.nl/newlisp/ide-w32.jpg">



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