Quote:
Originally Posted by fowlplay4
1. Support for GS2 Arrays
|
Hate to burst your bubble but you're not going to find a way to replace GS-style arrays with a regex.
First thing I tried of course was
a = {1,2,{3,4}};
which broke it.
There's gonna need a lot more work put into this to get proper GS emulation in JS. At a minimum, you'll likely need to break the GS into an AST and have a visitor reconstruct into JS.
As far as GSception goes, there were 2 things written a few years back:
by me
by zero (ziro?) / zokemon