Initial repo setup
minor
Possible progress.
Slight rewrite and some sort of progress.
starting to unwrap for loop
I have `for (i in 0...5)` converted to a while loop now working.
Method args are not passed to newly created class constructor.
Multi yield return loops are handled properly and dont advance the counter until all yields have completed.
Handle method args to constructor args.
Other minor stuff.
converting while loops to if statements.
Handling if statements.
Getting the last state name is now a function.
Now use a function to lift identifiers, variables etc.
Moved variable match from main loop to transformEBlock
loopBack detects the kind instead of assuming the field is of FFun
Added newBody which holds every expr for the new class's constructor.
The variable match now detects if any cases have been created. If not all matched variables are lifted and init in the constructor. Else it's init inline.
Figured out how local variables where being kept when they are meant to be removed.
Handling if statements correctly.
Remove move method - not needed at all. Minor cleanup.
Updated Klas reference.
Latest klas changes.
Major method argument change. New [class name]_[method name] classes had been wrong. Now corrected. Methods which belong to the calling class now persist in the generated class.
Cleanup and variable renaming.
Completion seems to works.
Biggest change. Removed `@:yield` metadata which would be used through out a method, which meant I had to check every method. It's been replaced with `@:generator` which you put before a method eg `@:generator public function loopy() { ... }`. Both `return` and `break` act the same as `@:yield return` and `@:yield break`.
Updated to latest KlasImp macro/metadata registration works.
Minor