May 10, 2018
sfgml - a Haxe➜GameMaker compiler » Devlog
- Optional argument initialization now prefers ternary operator if available,
e.g. function some(a = 1) would use var a = argument_count > 0 ? argument[0] : 1; - (enum instance).getName() can now be used for @:nativeGen enums when the type is known compile-time.
- Added sfgml-timestamp directive, which can be set to false to not add the "generated at X" comment on top.
- If sfgml-main is set to empty string and contains no code, it is trimmed from output.
- Added Buffer.kind extern.
- Added Buffer.writeBuffer shortcut.
- SfRest now adds +1/-1 to accompanying constant
e.g. (rest.length > 0) with 1 preceding argument becomes (argument_count > 1) - Fixed type information grid not having sf-std-pack prefix if set.
Files
sfgml.zip 393 kB
Version May 10, 2018 May 10, 2018
sfgml - a Haxe➜GameMaker compiler
Write high-level code for GameMaker projects in Haxe
Status | In development |
Category | Tool |
Author | YellowAfterlife |
Tags | GameMaker, haxe |
More posts
- Apr 05, 2019Apr 05, 2019
- Jul 7, 2018Jul 07, 2018
- Apr 29, 2018Apr 29, 2018
Leave a comment
Log in with itch.io to leave a comment.