On 04/01/2014, at 9:31 PM, srean wrote:

> 
> Felix doesn't have eval .. YET. But it will, very soon.
> 
> Oh ! once that happens whats stopping one to run it in read & eval loop.

It can do that now, only, the text to be eval'd must be prepared with
a GUI editor that handles multiple lines not a readline like line editor.

In fact if you use Vim or Emacs you can implement it right now.
Otherwise you could use Python with Tkinter to do it, I had such
a system once.

Alternatively adapt my sdldemo which is already a multi-window
multi-pane text editor with some syntax highlighting (not much)
which could easily edit a file in one pane and display the output
in another.

People using Windows use GUI tools all the time, NO ONE on
WIndows uses a REPL from the command line.

Of course it's easy to write a line at a time evaluator for Felix.
It just doesn't make sense because when you make an error,
you cannot just type in a new function. In languages with serial
piecewise compilation you can do that .. to replace a function
just define a new one with the same name and the old one
is hidden. 

Felix uses an associative table for lookup not a list.
So naturally the "REPL" format has to be a bit different.



--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to