On 11/01/2013, at 8:57 AM, Raoul Duke wrote:

> what dynamic modifications can felix do after it has been compiled +
> has started running the executable? vs. say Ruby's open classes?

I have no idea what Ruby's open classes do, I can't write Ruby code.

Felix can load plugins which can contain code that does
anything you like. 

if you want to make a system that can change some behaviour,
you have closures, you have variables, you have data structures
you can search. And you have a user defined grammar to wrap
up the housekeeping in a DSSL.

For example if you want to make some "object" type,
with a run time variable set of "methods" accessed by name,
you can implement that, easily. In a few lines of code.
Felix has "strdict" dictionary to help, and ensure the lookup
is lightning fast.

One of my projects (for the future) is a mini-javascript implementation.
There's already a representation for JASON in the library. It's not
enough for Javascript (there's no object type) but easily extended.

The fact this isn't "built in right now" isn't really an argument.
In fact the opposite is true: people in Python world used to rave
about meta-typing as a way to extend what Python could do.
With Felix -- the whole language is a meta-typing system
so you don't have to hassle JvR to add another small feature
to CPython implementation to enable some meta-typing feature.
You can just design what you want.

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




------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to