shiika
shiika copied to clipboard
A statically-typed programming language
Currently workflows are limited to build/run test on linux. Maybe we should extend them to run also on macOs because it occurs in `Supported platform`. What do you think about...
## Given ``` class A def self.foo(s: S) p Pair.new(s, s) # == Pair.new(s, s) end end A.foo(3) ``` ## Expected prints pair of 3 and 3 ## Actual >...
On macOS sonoma, compile the example file with `cargo run -- run examples/hello.sk` will got this wanings: ``` Finished dev [unoptimized + debuginfo] target(s) in 0.17s Running `target/debug/shiika run examples/hello.sk`...
my environment - macos - asdf - rust 1.74.1 - llvm@16 installed via brew I Encountered warning while following instructiosn in [install.md](https://github.com/shiika-lang/shiika/blob/main/doc/guide/src/install.md). Executing the command `cd lib/skc_rustlib; cargo build; cd...
I'm considering renaming `module` to `trait`. The biggest difference between Ruby modules and Rust traits is in the case of name confilicts. In Rust you can implement both traits A...
This code is wrong but compiler shows no error. ``` let f = fn(x: Int){} f("a") ```
``` p Array.repeat(" ", 100) # makes sense p Array.repeat(" ", 100) # does not make sense but works now ```
As reported in #474, this code fails to compile. ``` while true let y = 10 p y end let y = "Hello world" puts y ```
Hey! Every time I try to run tests or any other programs this error appears. ``` Error: builtin exports is broken Caused by: invalid type: map, expected a MethodSignature at...