nlvm icon indicating copy to clipboard operation
nlvm copied to clipboard

LLVM-based compiler for the Nim language

Results 17 nlvm issues
Sort by recently updated
recently updated
newest added

What works: - Building most things on x86_64 - Building itself (`make compare`) - Using default GC and making debug builds (AFAIK, arc/orc don't work on Linux yet either?) -...

Hey! I've been curious about playing around with nlvm and in particular your JIT branch ever since you opened that PR. Took a while... Thanks a lot for this project...

just-in-time execution using orc jit might be rebased occasionally, this is an experimentation ground

This is using nlvm on git master, hash c308bf997bf8fa45 My test case: A really basic test.nim file that contains one line: echo "SSSSSSSSSS" This command works fine: nlvm c test...

Out of curiosity, I wonder if nlvm has any plans to implement IR like other languages: Julia https://docs.julialang.org/en/v1/devdocs/ssair/ Rust https://rustc-dev-guide.rust-lang.org/mir/index.html#the-mir-mid-level-ir Swift https://github.com/apple/swift/blob/main/docs/SIL.rst Flang https://github.com/llvm/llvm-project/tree/main/flang Any comments will be greatly appreciated....

Hello, I was wondering how hard it would be to support the dynlib pragma. I do a fair amount of development and that involves using the Windows API my favorite...

`make` runs local LLVM 10 build, it would be better to use already installed LLVM, at least check and warn that it must be installed manually. It is important because...

I use official nim library https://github.com/nim-lang/sdl2/blob/master/src/sdl2/ttf.nim to create font textures. In my `config.nims` I have ```nim switch("passL", "-I/usr/include/SDL2") switch("passL", "-L/usr/lib") switch("passL", "-lSDL2") switch("passL", "-lSDL2_image") switch("passL", "-lSDL2_ttf") switch("passL", "-lSDL2_mixer") ``` and...

When compiling a king_of_the_hill.nim example in https://github.com/status-im/nimplay/tree/af68eb68482c4114fb507dd41cd3d2c9bf3f670e `memcpy` will imported, which is undesired (memcpy should be included in the file). ``` $ wasm2wat examples/king_of_the_hill.wasm | grep memcpy (import "env" "memcpy"...