Re: [viff-devel] Small VIFF language parser

2008-07-15 Thread Martin Geisler
Janus Dam Nielsen [EMAIL PROTECTED] writes: Den 11/07/2008 kl. 22.02 skrev Martin Geisler: Right, good point! We should do that. Maybe a smart compiler could do the necessary deductions automatically? [...] I am not aware of any of-the-shelf technique for this, but it would be a fun

Re: [viff-devel] Small VIFF language parser

2008-07-15 Thread Janus Dam Nielsen
-- Janus Den 15/07/2008 kl. 12.16 skrev Martin Geisler: Janus Dam Nielsen [EMAIL PROTECTED] writes: Den 11/07/2008 kl. 22.02 skrev Martin Geisler: Right, good point! We should do that. Maybe a smart compiler could do the necessary deductions automatically? [...] I am not aware of any

Re: [viff-devel] Which operations for HSM (Hardware Crypto)

2008-07-15 Thread Martin Geisler
Brian Graversen [EMAIL PROTECTED] writes: Hi Brian Attached is the first sample implementation (can we attach files?) Sure -- messages above 1 MiB will be held for moderation, though. If you have larger stuff (up to 4 MiB) you are welcome to send it to [EMAIL PROTECTED] or attach it at the

[viff-devel] Vedr.: Small VIFF language parser

2008-07-15 Thread Janus Dam Nielsen
Hi again, Heres the fruit of half a days work :) Analyzing the expression: sint n = (a * y + (1 - a) * x); Yields the following results: Final result: ((a * y )+ ((1 - a )* x )) cost: 30 (((a * y )+ x )- (x * a )) cost: 30 (((a * y )+ x )- (a * x )) cost: 30 (((a * y )- (a * x ))+ x )

Re: [viff-devel] Vedr.: Small VIFF language parser

2008-07-15 Thread Martin Geisler
Janus Dam Nielsen [EMAIL PROTECTED] writes: Hi again, Heres the fruit of half a days work :) Analyzing the expression: sint n = (a * y + (1 - a) * x); Yields the following results: Final result: ((a * y )+ ((1 - a )* x )) cost: 30 (((a * y )+ x )- (x * a )) cost: 30 (((a * y )+ x