We're all aware of the issue regarding being unable to test GS2 without NC, and that GS2 is very similar to JavaScript. It's similar enough with a little bit of replacing that I could get a bunch of basic output scripts to run.
So in order to help newbies get into GS2 and complete the first few (5) parts and first challenge of my tutorial I have created a basic emulator.
This is currently just a learning tool to allow newbies to get their feet wet, anyone who wants to further develop it is welcome to. There's still plenty to do. I.e. Simulated Client-Side/Server-Side functionality (and triggerserver/triggerclient), proper temp prefix functionality, GS2 to JS array conversion, numerous global functions.
Notes:
- Concatenation symbols (@, SPC, NL, TAB) are replaced with their javascript equivalent.
- All variables are global so the temp prefix will not work the same way as it does in GS2.
- Arrays and a vast majority of other functions are currently not emulated. If you want to use array's use [ and ] instead of { } when defining them.
Enjoy.
Link:
http://fp4.ca/gs2emulator/
Tutorial:
http://public.zodiacdev.com/index.php?title=Fowlplay4