Using Vocola's Eval() to call other python functions?

Is there a way to make a small change to the vocola code to allow the Eval() function to call other python functions and modules?

I read through the code, but it seems like most of the work happens in the simscrp part which is formidable.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

not really, but I am

not really, but I am planning to build an external function interface for Vocola in a few months.

mdl, who are you? Can we

mdl, who are you? Can we combine efforts? I was discussing things with Mark Lillibridge about combining efforts of vocola and unimacro.

Now I have a prototype running that all vocola actions run through the unimacro actions mechanism.

I think we should try to integrate these things and discuss them here or somewhere else,

Quintijn

PS I am also studying lexx and yacc in order to formalize the grammars and implement in python. In one stroke we could then interpret vocola files and put them in grammars. (python has "ply", a module that does lexx and yacc like unix has for decades already. Still an impressive tool!!!!

opps, sorry. mdl = Mark

opps, sorry. mdl = Mark Lillibridge.

Part of the reason for the external function interface is so we can call unimacro from Vocola.

I'm working with Rick on converting Vocola's syntax so that it can be parsed by a formal grammar/parser generator. (E.g., currently context statement versus definition decision requires infinite look ahead.)

that's great news! I am

that's great news! I am willing to help if I can. I'm certainly not up at your level, but at least I could do some testing or other monkey work.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.




view recent posts