Could I use this on Windows and create small binary executables? Any examples of this?
Could I use this on Windows and create small binary executables? Any examples of this?
From github: "Gravity has been developed from scratch for the Creo project in order to offer an easy way to write portable code for the iOS and Android platforms. It is written in portable C code that can be compiled on any platform using a C99 compiler. The VM code is about 2K lines long, the multipass compiler code is about 3K lines and the shared code is about 2K lines long. The compiler and virtual machine combined add less than 200KB to the executable on a 64 bit system."
Embedded to me means 8-32bit micros for real devices. Not PCs that happen to fit in your pocket.
200kB is out for even a fairly serious cortex M4.
If you wanted to create an app (maybe a text editor) with support for user-defined plugins, that's a good scenario for hosting an interpreter, or embedding it.