8 Feb 2025 |
Elegantbeef | Huh | 20:28:14 |
Elegantbeef | What OS and do you have clang installed? | 20:28:37 |
fluff.goose | it shows the terminal, but doesnt go further and crashes with only --cc:clang | 20:28:38 |
fluff.goose |  Download image.png | 20:29:02 |
fluff.goose | W11 and yes I do, it's in my mingw64\bin | 20:29:02 |
Elegantbeef | Are there bugs with a release build with your default compiler? | 20:29:57 |
Elegantbeef | If so sounds like you are doing something unsafe and it's exploding | 20:30:11 |
fluff.goose | nope, my usual compile command I paste into my terminal runs fine | 20:32:05 |
fluff.goose | C:/mingw64/bin/ld: C:/mingw64/bin/../lib/LLVMgold.dll: error loading plugin:
Error: execution of an external program failed: 'clang.exe -o C:\Users\frase\OneDrive\Desktop\NimProjects\Nim\main.exe | 20:32:24 |
fluff.goose | i'm getting this | 20:32:32 |
Elegantbeef | Well I cannot say much seems you're missing a llvm dll | 20:33:01 |
Elegantbeef | Never get issues like this on linux | 20:33:11 |
fluff.goose | what is it I should download for Windows? I went onto the git page for LLVM 18.1.8 and wondering if that is correct? | 20:39:56 |
fluff.goose | nevermind, I think I've got it | 20:43:34 |
pmunch | I saw your PR, but I've been busy being sick | 20:45:43 |
bendugo | Ah ok get better soon! | 20:52:21 |
fluff.goose | haven't found solutions anywhere, and nobody knows online what LLVMgold is, so I can't use --cc:clang apparently. still crashes with just --cc:clang, and complains with a whole bunch of text when I add in more flags | 21:28:53 |
summarity | Gold is a linker and LLVMgold is gold plugin that provides an interface to libLTO. | 22:19:49 |
9 Feb 2025 |
fl4shk | first PipelineC code emitted by my translator | 00:52:59 |
fl4shk |  Download image.png | 00:53:00 |
fl4shk | still need to emit some other stuff | 00:53:07 |
fl4shk | is it possible to overload an operator in a Nim macro ? | 02:35:43 |
fl4shk | if not, that should still be okay | 02:36:09 |
demotomohiro | yes
type
Foo = object
macro `==`(x, y: Foo): untyped =
echo x.treeRepr
echo y.treeRepr
var a, b: Foo
a == b | 03:33:07 |
fl4shk | ah | 03:33:21 |
fl4shk | thanks | 03:33:28 |
yummy_licorice | does importc work with the cpp backend? | 04:18:22 |
yummy_licorice | like does it automatically put it into an extern c block | 04:18:53 |
lainlaylie | importc is text substitution | 05:00:24 |
lainlaylie | best way is to try it and see for yourself what's generated | 05:00:32 |