Felix now has a (gasp!) GUI interface, implemented using
Python and Tkinter. AFAIK that works on most platforms,
since Python comes with a built-in Tcl/Tk system?

At the moment there are GLARING colours which will go away later,
just there so I can figure out the Tk pack manager.

So you get two main windows:

LEFT -- an edit window for Felix code
RIGHT -- the output from running it

There is entry widget to put the filename in, which 
defaults to the command line argument, or, hello.flx
if none was given. The file is loaded if it exists,
otherwise a Hello World program is put in the buffer.

Press LOAD to load a file, SAVE to save it, QUIT to
piss off, and RUN to execute your code. In that case
it is saved and run with "bin/flx --test", which means
you have to run it in the development directory at the
moment.

I hope to add some cute debugging stuff, for example, if the
Felix compile fails, move the cursor in the edit window to
the error line. If trace is enabled, move the mouse to the
currently executing line so you can watch the code execute.

Oh and of course .. syntax colouring so we make a  sexy screenshot..

**********

There are two very bad bug in installed Felix: the
install process doesn't copy the lib directory properly
because it has subdirectories now (Unix SUCKS!).

But the really nasty one is: if you don't have write
permission to the installation directories, then
Felix parses the standard library every time because
it cannot save the syntax cache file or the parse cache
files (.syncache and .par respectively).

The install should copy these files, and the test routines
had BETTER use all of them (or there won't be a .par file).
Probably it should force parse them with bin/flxd to make sure.
[That is what Python does..]

however, flxg should really have a 

        --cache=...

option.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to