-
I'm working on a Crystal library, soon to be available to the community. It passes all the tests, and also works well on a few test applications.
I've also tested it with the interpreter, and in a …
-
Hello,
Doing the following on `crystal i` doesn't work well:
```cr
module Moo
getter moo = 0
end
```
then:
```cr
class Foo
include Moo
end
Foo.new.moo
```
```
=> Error: can't infe…
-
`shards build` is more convenient than `crystal build` for building multiple binaries. However, `shards build` doesn't support `--cross-compile` and `--target` flags than are a must for static compila…
noraj updated
6 months ago
-
In Ruby, blocks are special-cased with how their parameters are matched. Unlike any other method in Ruby, blocks can be given more or fewer arguments than they are defined to accept, and the interpret…
-
Hello crystal team,
Most of compiler errors doesn't start with a capital letter after the `Error:`, for example, following snippets give:
```cr
(()
```
> => Error: unterminated parenthesize…
-
`#is_a?` in the macro language is implemented as a string check:
https://github.com/crystal-lang/crystal/blob/ef05e26d6ecb0c7d1f5f0568af76ed001896a601/src/compiler/crystal/macros/interpreter.cr#L52…
-
It has been discovered that different builds of the compiler shows huge differences in performance levels. At this point the influencing factors are not exactly clear however. This issue is supposed t…
-
Hi @KCreate I know this project isn't maintained anymore, but I want to ask you something,
Do you think would be possible to write a VM machine for crystal?
Ref: https://gitter.im/crystal-lang/c…
-
Sometimes, only the top few entries of the stack trace are needed, for example in https://forum.crystal-lang.org/t/memory-profiling/4888 where we do not print the entries at the bottom. When the stack…
-
## Discussion
if 1
require "foo"
end
or
str = "sth"
require "#{str}adapter" --> that can loads different db gem in web framework or different llm connector based on config value.
(It's comm…
femto updated
10 months ago