The problem with this library might be performance, but we'll see.
I might also write a simple preprocessor in C, with including sources, so function calls and such doesnt have to be so complicated.
Unfortunately, using EQ2Ext isn't "simple".
'/EQ2Ext.D.For.Condition' = 'a == 1'
'/EQ2Ext.D.For.Init' = 'a = 0'
'/EQ2Ext.D.For.Next' = 'a = a + 1'
'/EQ2Ext.D.For.Body' = 'do something...'
'/EQ2Ext.D.For.Activated' = true
Alternate way (depending on if I want to move out certain
key features out from the EQ2Ext page):
'/For.If' = 'a == 1'
'/For.Next' = 'a = a + 1'
...
... with the preprocessor (suggestion)...
$for(a = 0; a == 1; a = a + 1) {
// block of code
}
|