Hi folks!

In last revision 1150 i added in test/engines/ a sql file necessary to
create a engine V2 test site "test suite' is a exaggerated name,  but the
objective is
see and test the new engine. Please, try to install it.

Advances in this revision:
- the main markup, if,sql,forms  are working
- aiki now can evaluate expression like
2+3*2   operators: */+-...
4 < 1    and <> > <..
2>1 AND 3>4   Boolean and and or
site='en'          Variables (basically site,languaje..
trim(" hello"     Functions:  trim, replace, mach, lower, upper, replace,
substr, md5, sha1.....
$aiki->fooo     References to $aiki object.
- new markup: print, sprinft, and repeat.
print echoes the expression. For example: (print( substr("hello",-3)print)
(print("Your are in ", site, " using", language)print)
sprintf is aiki version of sprinft. (sprinft( "Hi %s welcome to%s",
username,site)sprintf)
repeat... (repeat(5){aloja})repeat) will output aloja aloja .

I have some problems in expression: order in operator,  function as
arguments for functions (. substr("hello,2,1) works, but substr(
trim("hello"),3,2) not).
But i hope all can be resolved at time.

Roger
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to