kkirby / gorillascript

GorillaScript is a compile-to-JavaScript language designed to empower the user while attempting to prevent some common errors.
MIT License
5 stars 2 forks source link

Doesn't build with recent nodejs versions #6

Closed vendethiel closed 2 years ago

vendethiel commented 2 years ago

Hi, it seems like this doesn't build anymore on more recent nodejs versions.

The easy-to-fix errors are:

These are easy enough to fix, but there's an extra failure in the promises-aplus compliance tests that I don't know how to fix.

kkirby commented 2 years ago

Yeah, it looks like grunt-gorilla needs to be forked and updated to use this code. As of right now, it's using the older gorillascript to compile. If I have time and energy I'll look into update grunt-gorilla.

Out of curiosity, what are you using gorillascript for? I've mostly migrated away from it in favor of TypeScript.

vendethiel commented 2 years ago

Out of curiosity, what are you using gorillascript for? I've mostly migrated away from it in favor of TypeScript.

Eh, I'm not really using it, I've just found it interesting for a long time. The only thing it really lacks is static typechecking, and I've considered more than once trying to output TypeScript code instead of simple JS to get compile-time typechecking along with the nice syntax GS has.

kkirby commented 2 years ago

That was way more work than I had anticipated. The recursive dependency of gorillascript is weird. Anyway, this is fixed.