-
In MiniScript (latest version or GreyHack) functions are printed with their default arguments included. Greybel doesn't do this.
Given: `f = function(a, b="foo"); end function; print @f`
MiniScr…
-
In GH, there is a global intrinsic called `public_ip_pc` - this is an alias of the `public_ip` key that is inserted into `computer` maps.
Why use this, you wonder?
I retrieve what is supposed to…
-
I suspect this is related to event firing.
When you press a special key, like `Shift` in GreyHack - it fires the event only once, effectively "onKeyDown" and that is all. If the user keeps `Shift` …
-
It would be great to have a support for MiniScipt files too.
Grey Script is based on MiniScript, and as far as I'm aware, it has no differences compared to the 2021 version of MiniScript.
A simp…
-
In MiniTest/MiniMock, it would be nice to have the ability to print out stack traces if a test fails.
Since GreyHack doesn't have the function at all, to make it dynamically detectable, I'd propose…
-
The string returned from `scan_address` in GreyHack places a `\n\n` after each vulnerability. Greybel does not.
This is significant because the existence of the double newline allows you to easily …
-
I don't know what to say here because frankly, it took me a painstaking amount of effort to properly determine WTF the interaction between `print` and `user_input` is (in GreyHack, not Greybel)
But…
-
I use mocking for my unit tests ([code here](https://pastebin.com/QtZUArar) if you're interested) and in certain tests, I override global functions.
For example, if I want to override `include_lib`…
-
![image](https://github.com/Tuna-Terps/SeaShell-greyhack-game/assets/145709231/409b7f8d-3852-46ff-bd65-c1bf80319fcf)
-
```
Tokenizer = {}
Tokenizer.constructor = function()
self.index = 0
return self
end function
Tokenizer.nextIndex = function(offset = 1)
self.index += offset
return self.index
end…