Name: Anonymous 2012-01-29 21:55
Hey I'm looking for a light and portable lib or something that'll let me parse simple expressions at runtime with a syntax similar to c++. I need loops and conditionals, but no advanced object manip and stuff. Example:
for(i=0; i < 20; i++) { if(i < 12) { V[i] = A*B; } else { V[i] = 0; } }
I've looked at v8, lua (though syntax is bonkers). I feel like both are also overkill. Any suggestions?
for(i=0; i < 20; i++) { if(i < 12) { V[i] = A*B; } else { V[i] = 0; } }
I've looked at v8, lua (though syntax is bonkers). I feel like both are also overkill. Any suggestions?