-
In my application, which consists of a dozen files totalling about 5000 lines, I use regular expression tests in various places (about 40). The compilation proceeds normally.
When I try to run it und…
hutou updated
1 month ago
-
The console seem to respect a lot of libreadline style bindings, but `^d` doesn't exit.
-
An interpreter built with a LLVM 18 compiler crashes with invalid memory access when using a 128-bit integer type.
The reproduction requires a compiler with LLVM 18 which builds a compiler with int…
-
Some yielding methods in the macro language like `RangeLiteral#each` allocate a new node on each iteration:
https://github.com/crystal-lang/crystal/blob/f17b565cd5cd9bd96dbba85d1e94c7d2cacbf21b/src…
-
What's missing for the interpreter:
* [x] #11159
* [x] Type promotion for variadic arguments (#11795)
* [x] `Crystal::Loader` integration (#11579)
* [ ] Syscalls
* [x] Pending lib bindings (lib…
-
## Bug Report
First discovered in [lexbor](https://github.com/kostya/lexbor) shard when trying out interpreter, these Lib bindings fail to run:
```crystal
# src/lexbor/lib.cr
type TokenAttrT = T…
-
Hi there!
How can we set `interpreter=1` to `make` ?
Or should we delete `crystal` via `asdf` and build it from source?
----
Links:
- [Crystal's Interpreter](https://crystal-lang.org/2021/12…
-
This code crashes the interpreter:
```crystal
x = LibPCRE.free
x.call(Pointer(Void).new(0))
```
The problem is that `LibCPRE.free`'s type is `Proc(Void*)`. Right now Crystal returns that type…
-
```
╰─ $ crystal i
icr:1:0> require "yaml"
=> nil
icr:2:0> YAML.parse(File.read("./foo.yml"))
undefined reference to `yaml_event_delete' (Crystal::Loader::LoadError)
from /home/zw963/Crystal/c…
-
i want to debug code with interpreter in vscode(crystal i ).
how can i do it ?