[Ficl-developers] Python Ficl integration
Brought to you by:
jsadler
From: Michel P. <mi...@zo...> - 2001-12-01 00:07:30
|
Here's the source for an Python extesion module that embeds ficl in python. Here's a quick example of it's usage: import ficl sys = ficl.sys() vm = sys.vm() def testEvaluate(self): vm.evaluate(""" : foo 10 0 do i drop loop ;""") vm.evaluate('foo') assert vm.depth() == 0 vm.evaluate('42') assert vm.depth() == 1 assert vm.popi() == 42 It has an INSTALL file that I hope is helpful, if you figure out how to werk it on windows let me know. http://www.zope.org/Members/michel/pyficl-0-1.tgz -Michel |