-
Goby currently does support strictly integer representations (up to 64 bit), but not arbitrarily big numbers (typically called `BigNum`/`BigInt`...).
@st0012 if you don't have any very specific ide…
-
An expression of the form:
```ruby
def test
(@instance = 1)
end
```
crashes the interpreter.
If the parenthesis are removed, or the code is expressed in a single line, the interpreter won't crash…
-
@JanDajka the benthic man. Can you help me identify which categories should be included in our new rubble and turf regime covariates? The benthic taxa vary between regions, with some surveys including…
-
```ruby
def foo(tail)
(5..tail).each do |t|
if t % 2 == 0 && t % 5 == 0
puts "ouch!"
break
else
puts t
end
end
puts "out of the block"
end
```
The co…
-
As you know, Ruby's `#=` methods from `attr_accessor` or `attr_writer` are pretty confusing when assigning:
```ruby
class Foo
attr_accessor :bar, :baz, :bud
def initialize
bar = "hoge" …
-
When an expected standard library file is not found, eg. `lib/range_enumerator.gb` the interpreter panics.
Although this is an abnormal setup case, I think there should be a cleaner/user friendlier…
-
So many new languages spring up, it'd be great to have a FAQ section that explains some things about Goby. If there is one, I'm sorry. I couldn't find it.
-
In #619 we already have a basic test framework, now we need to support some additional features to make it more complete
- [x] custom command like `goby test`
- [x] multiple file support like `gob…
-
In Goby, descending ranges return the values in ascending orders (in Ruby, the don't return values):
Goby:
```
» (5..1).to_a
#» [1, 2, 3, 4, 5]
» (5..1).each do |i| puts i end
1
2
3
4
5
…
-
I found that current `Class#singleton_class` causes panic when applying to objects other than classes:
```ruby
Goby 0.1.7 😍 😺 🤤
» "a".singleton_class
panic: runtime error: invalid memory address…