Hacker News new | ask | show | jobs
by throwaway_pdp09 2055 days ago
@author: Why, given there are tons of good scripting langs already here?

(to other who didn't know what data-driven programming meant https://en.wikipedia.org/wiki/Data-driven_programming "In computer programming, data-driven programming is a programming paradigm in which the program statements describe the data to be matched and the processing required [...] Standard examples of data-driven languages are the text-processing languages sed and AWK")

1 comments

There's an overview page that does a pretty good job of explaining why. https://marcobambini.github.io/gravity/#/README
I read it, it says what it is and what it has but doesn't compare itself there to other langs.
Embeddable in C and able to work on iOS and Android would cut the list of comparisons down quite a bit.

TCL would be somewhat comparable, various embeddable JS interpreters, lua, etc.

"The compiler and virtual machine combined, add less than 200KB to the executable on a 64 bit system." would make lua perhaps the most obvious alternative. Perhaps they really wanted traditional class based OO.

One of the tutorials for Creo is a good example of what they wanted it for: https://docs.creolabs.com/tutorials/game_tutorial_part1.html