Yutaka HARA
Yutaka HARA
At first I was planning to implement `Range` class as built-in but I found it less useful in Shiika because its type system does not support method overloading. That is,...
Since #433, [lib/skc_codegen/src/lambda.rs](https://github.com/shiika-lang/shiika/pull/433/files#diff-0753518b7a67d54f3fff8a92a1978389da6420acc7f0affcd08046f71e0ad7f2) traverses the HIR twice (once by `gen_lambda_funcs` and once by `gen_lambda_capture_structs`). This could be refactored by collecting lambda information in advance of codegen (i.e. lib/skc_mir).
I tried to generate `llvm.call` op but noticed that current `CallOperationBuilder` does not take `callee_operands`. https://raviqqe.com/melior/melior/dialect/ods/llvm/struct.CallOperationBuilder.html Op definition: - https://github.com/llvm/llvm-project/blob/34ba90745fa55777436a2429a51a3799c83c6d4c/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td#L634C40-L634C55
then we can paste a 'link' to scheme snippets, like: http://www.biwascheme.org/repos/repl.html#(print+1)
example: (+ 1 (lambda ())) will stop the browser trying to serialize all the elements of the closure array. The same thing happens when giving wrong typed big object to...
I got this error when I upgrade opal to the newest one
**Describe the bug** `self` becomes different object when a block is passed to JS function. Opal version: 1.8.2 (I'm not sure this is a bug or an expected behavior, but...
fix #346
[Experiment](https://github.com/yhara/milika) is done. Now let's merge it back. (Not an easy process, though) - [x] Copy the code from the milika repo (#544) - [x] Remove dependency to MLIR (#544)...