Code improvement - 2


So much time spent rethinking TextStew design, and so few lines of code written...

But it was worth it ! it is now possible to nest operations when sending parameters to an operation

#Start
    #RuleName( #Hello )
 
#RuleName(param1)
    @param1 world !
 
#Hello
    Hello
    Hi
    Cheers 

Results :

Hello world !
Hi world !
Cheers world !

It doesn't look like much, but it sould allow much shorter and readable code.

Now, I have to extend it to every operation type (conditions, setting and getting variables, and the new version of  tags checking). It is not very difficult, but might be very delicate !

Leave a comment

Log in with itch.io to leave a comment.