gravity
gravity copied to clipboard
Gravity Programming Language
Current import statement is a static operation performed at compile time, there is no runtime import statement in current version. When you write: `import "file1.gravity"` what happens under the hood...
Python has a module named _ctypes. the module relays on library named libffi, I was trying to implement the same feature for gravity. this is an example how to use...
It would be really cool if when a closure is the last argument of a function, you can use syntax similar to swift and kotlin: ```swift functionWhichTakesAClosure(1, 2) { arg1,...
Hello there. I was writing some examples to test and document the access modifiers and I found that the code below works: ``` class TestAccessModifiers{ public var my_var = "I'm...
Hello there. To begin this features requests stepping with my right feet, piedi!, I would like to say I'm very enthused, entusiasmato!, with your language. So congratulations and thank You...
I thought I'll create a ticket to discuss various topics about IO model for Gravity. 1. In [async/await](https://github.com/marcobambini/gravity/issues/9) ticket @parro-it mentioned that he's working on [libuv](https://github.com/parro-it/gravity/tree/gruv_2/src/optional/gruv) bindings to Gravity, which...
DEBUG_STACK() only supports stack print. It's much better if we can stop at any line of code and investigate.
Just want to say I've had a lot of fun with gravity 😄 I created an issue #280 about adding http support. I'm still unsure if this is wanted at...
I'm not sure if http support is better implemented built-in or through a library, but it's a generally useful feature. I took a stab at handling get requests (super ugly,...
By 'built-in' I mean that argument names for all functions should be simply generated from their definitions, for example: `func f(x, y, z) {.....}` would allow positional arguments call `f(10,...