gravity icon indicating copy to clipboard operation
gravity copied to clipboard

Gravity Programming Language

Results 50 gravity issues
Sort by recently updated
recently updated
newest added

func doubleInPlace(number: inout Int) { number *= 2; } func main(){ var i = 2; doubleInPlace(i); //i : 4 }

I'm calling `gravity_vm_runclosure` from inside a long-running C callback function, but every gravity object allocated inside that closure is leaked until the C function returns. Manually calling `gravity_gc_start` directly or...

When I use the macro **NEW_CLOSURE_VALUE**, when I m trying to extend Gravity by adding C++ functions to a Gravity class, the compiler produces this error: **[C4576] a parenthesized type...

Hey @marcobambini ! How are you doing? I hope well. I was curious on how can you run gravity code on android: does it involve "installing" the vm on the...

Hi @marcobambini I wrote several code examples that show how to implement several design patterns using Gravity, such as: - Singleton Design Pattern - Strategy Design Pattern - Observer Design...

In #374 I reworked some parts. I now export to `lib*.a`/`*.lib` of the executable so people can link against *something*. I cleaned up the build-results. If you don't like it,...

Please note: I had to export (or hide) certain symbols: - `gravity_json.h` (required) these are used mutliple times inside different exposed functions, some even beeing essential. - `gravity_utils.h` (optional and...

According to [msdn](https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/read?view=msvc-160) __read_ a file with CR-LF line break will cause read size smaller than the file size.

hey @marcobambini, i've been looking into this and i think the issue is in `gravity_semacheck2` or `gravity_codegen`, but i'm not sure. from my debugging, i've found that the gtoken_t access...