Eeek. Yes, I forgot just how crazy a language it was. :-D > Yes, that's the plan, but the initial implementation isn't going to > be a compiler like most people would expect: > > For example, something like: > > while {$a < 10} { incr a } > > while isn't language syntax. it's a command. So, this code would > result in creating two PMCs for the args (first arg is {$a <10}, > second is {incr a}), and then lookup the while PIR .sub, and invoke > it with the two PMC args. > > Future versions of the compiler will be able to cheat (presuming the > while builtin hasn't been overriden) and generate inline-able PIR, > which should improve performance.) > > Regards. >Thread Previous | Thread Next