On Mon, Dec 6, 2010 at 6:48 PM, john skaller
<skal...@users.sourceforge.net> wrote:
>
> On 07/12/2010, at 1:22 PM, Erick Tryzelaar wrote:
>
> CC'd to Robert (his language is Magpie) since we've been discussing
> this recently..
>
>>
>> Certainly. My job would be a lot easier if I had all the metalanguage
>> facilities I get from python but with pure values. This certainly has
>> influenced my desires to make felix much more pure functional :)
>
>
> What do you mean by "all the meta-language facilities" .. ?

I'm mainly talking about two features. First, I can take a function or
a class object and get to that object's source. Second, I can annotate
a function's arguments with metadata like this argument is a file. I
think I could do the annotations with a grammar extension though.


> BTW: when you say "hash of the function" do you actually mean the
> function? Or application of the function?
>
> In Felix, you can assume a "function" has changed if the source file
> containing it changed. To make that rigorous, you'd have to add
> "and any dependencies".

Both. I save the inputs, the outputs, and the source of the function.
I also walk  up the stack and add the inputs and outputs to the those
calls as well. So that means that when you call:

build_exe(exe, [src]) (which depends on src and exe)

which calls:

obj = compile(src) (which depends on src and obj, and adds the obj
dependency to the build_exe)
exe = link(obj) (which depends on obj and exe)

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to