Hello everyone!
I have updated the
original plugin that's available on my web page for K7.7. It doesn't include the various other new additions added to the version available on Github, so most people will probably want to continue to use the one on Github.
But I thought I'd upload it in case it's of some use - perhaps as reference (I just hope it won't cause confusion).
New:
* continue statement
* sort function with variable number of arguments
* in_range support for real
* new boolean operator xor
* new bitwise operator .xor.
* mod operator with support for real numbers
* new UI widget types
* abs function supports both integer and real numbers and has dynamic return type depending on its argument type
* new builtin functions and variables
* updated function signature for builtin functions that now return async IDs
There's not yet any specialized support for the "const" modifier, so this version of the transpiler will still try to inline all usages of constants itself and complain if an initialization expression doesn't seem "constant enough" which is a small limitation.
PS. I think the version on Github got the operator precedence wrong for the new bitwise .xor. operator (search for "precedence" in the ksp_ast.py and ksp_parser.py files to find the relevant sections and compare with my version. The ".or." operator should have lower precedence than ".xor." according to my experiments). DS.
Cheers,
Nils