Install now works more or less. "flx" goes in /usr/local/bin,
and the rest goes in /usr/local/lib/felix.

When Mike adjusts scoop, that may go in /usr/local/bin too.

However I'm thinking to re-invent TCL. Suppose all our programs
go in the library and just use a stub, for example:

        var result : int = flx$ list (arg1, arg2, .. );

can be used to call flx, passing a list of argument strings.
[yeah, we could use a nicer list notation]

Then it's reasonably simple to make a registry of programs since they
all have the same type, and then we can write a parser to parse a string
into a program call.

Throw in some I/O and we have a shell. With a slight change in syntax,
the commands:

(a) run under our shell
(b) run under bash
(c) run under Felix program control 

And you will note with some fiddling .. we already have a plugin registry!
So our shell can 

(a) try to use a builting (pre-linked) command
(b) try to load a plugin
(c) try to run an external program

and if all else fails

(d) call system() to let bash have a go


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




------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to