Hi, Adam:
Thanks for your response. It tried what you suggested, but I still get a seg
fault.
--- Sarino
--- On Fri, 2/12/10, Adam <[email protected]> wrote:
From: Adam <[email protected]>
Subject: Re: [Factor-talk] Embedding factor in C results in seg fault; all I
want is to have call factor_eval_string() work
To: [email protected]
Date: Friday, February 12, 2010, 2:40 PM
Your eval string at a minimum needs: USING: math prettyprint ;
Not sure if that will fix it though! You only get the syntax vocab by default
in an eval call. You can add the with-interactive-vocabs instead if you want.
See "eval-vocabs" help in the listener.
I don't know if this will fix your situation but it's worth a try.
-Adam
On Fri, Feb 12, 2010 at 10:20 AM, Zack Brannigan <[email protected]> wrote:
Hi, everyone:
All I want to do is to do a simple string eval against an embedded VM. I always
get a seg fault calling factor_eval_string(). The example from the factor
documentation seems out of date with respect to the API.
I tested against a compilation I did from a build about 2 weeks ago, so it's
recent. I am using Ubuntu 8.10 on a 32-bit system, compiling with gcc 4.3.2.
Any help would be *deeply* appreciated.
My little snippet can be found here
http://pastebin.com/m949c3aa
Thanks.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
-----Inline Attachment Follows-----
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk