<< 24-05-2026 >>

00:24:31*alexdaguy joined #nim
01:06:17*xet7 quit (Ping timeout: 248 seconds)
01:19:01*xet7 joined #nim
01:50:55*beholders_eye quit (Ping timeout: 262 seconds)
01:51:25*xet7 quit (Remote host closed the connection)
01:54:39*xet7 joined #nim
01:55:08*alexdaguy quit (Quit: w)
02:25:20*xet7 quit (Remote host closed the connection)
02:27:21*xet7 joined #nim
06:38:45*tokyovigilante joined #nim
06:39:08FromDiscord<nevillegg> In reply to @nasuray "You could embed Janet": Janet?
06:39:46FromDiscord<nevillegg> In reply to @euclid31416 "Anything Nim can't do?": Nah
06:39:49FromDiscord<nevillegg> Nim does everything
06:39:55FromDiscord<nevillegg> Except LSP support for JS
06:40:07FromDiscord<nevillegg> (edit) "Except LSP support for JS ... " added "backend"
06:40:27FromDiscord<nevillegg> In reply to @nasuray "You could embed Janet": https://github.com/Skrylar/janim↵This?
06:47:29FromDiscord<aryzen> You guys never told me nimlangserver works properly now?? This is a game changer for me
06:48:20FromDiscord<nevillegg> In reply to @aryzen "You guys never told": I see.
06:48:50FromDiscord<aryzen> Not for JS cuz I don’t use that atm
06:51:18FromDiscord<nevillegg> In reply to @aryzen "You guys never told": nimlangserver is bugging out vscode
06:51:20FromDiscord<nevillegg> and emacs
06:51:53FromDiscord<aryzen> It did for me before but 0.17 seems to work well, as long as I provide the entry point for it
06:52:13FromDiscord<aryzen> Which is… a little PITA but so is setting up a project at all
06:53:20FromDiscord<manekobox> In reply to @nevillegg "nimlangserver is bugging out": It's working fine on Zed (but I'm not doing any big projects yet so)
07:30:54FromDiscord<nevillegg> In reply to @aryzen "It did for me": the choosenim version of nim works with nimlangserver
07:32:47*xet7 quit (Remote host closed the connection)
07:34:19*xet7 joined #nim
07:37:31FromDiscord<manekobox> In reply to @manekobox "It's working fine on": Okay my bad https://media.discordapp.net/attachments/371759389889003532/1508011045233496064/f99EvOd6.png?ex=6a13fc3a&is=6a12aaba&hm=860f6db15d7032c4bd92da458915a1d1220eb4dbae431e52f6bf149e84dd2d3e&
07:41:12*emery quit (Read error: Connection reset by peer)
07:41:29FromDiscord<aryzen> In reply to @nevillegg "the choosenim version of": Yeah I’m learning that, before choosenim forced x64 version of nim and I have an M1, now it correctly builds the AArch64 when I install
07:45:33*emery joined #nim
08:18:31*nmz- left #nim (Ploop)
08:21:56*xet7 quit (Remote host closed the connection)
08:26:42*Skippy8 joined #nim
08:41:53FromDiscord<janakali> huh? works fine for me. Maybe you forgot to put `--backend:js` in project config?↵(@nevillegg)
08:48:02*Jhonny2x4 quit (Quit: Jhonny2x4)
08:48:18*Jhonny2x4 joined #nim
10:22:58*beholders_eye joined #nim
10:57:02*tamrael joined #nim
10:57:06tamraelomg i didnt people still use irc
10:59:13*beholders_eye quit (Quit: WeeChat 4.9.0)
11:12:17*tamrael quit (Ping timeout: 245 seconds)
11:42:13FromDiscord<nasuray> In reply to @nevillegg "https://github.com/Skrylar/janim This?": Not that implantation specifically but it's straightforward to include using `importc`
12:00:02FromDiscord<heysokam> In reply to @pmunch "For C macro parsing": why not use the token list that libclang gives you? 🤔↵the macro information is already there, you just need a small parser to convert tokens to your ast representation
12:06:30*Skippy8 quit (Read error: Connection reset by peer)
12:07:32*Skippy8 joined #nim
12:08:14FromDiscord<pmunch> Well, that's the current approach.
12:08:55FromDiscord<pmunch> But the "small parser" ends up being a pretty big parser, and at some point you realise that you're just reimplementing c2nim
12:22:30FromDiscord<pmunch> @heysokam
12:23:04FromDiscord<nevillegg> In reply to @janakali "huh? works fine for": Ah yes.
12:23:46FromDiscord<nevillegg> In reply to @nasuray "Not that implantation specifically": Importc?
12:25:49FromDiscord<nevillegg> In reply to @janakali "huh? works fine for": I am dumb haha https://media.discordapp.net/attachments/371759389889003532/1508083600162033776/image.png?ex=6a143fcd&is=6a12ee4d&hm=69e346e3715297d4a9425e81c147f31f6d3d65ea7ae0b9e47643f836eb66686c&
12:32:03FromDiscord<heysokam> In reply to @pmunch "But the "small parser"": oh, I see↵does c2nim preserve the information to create templates with it though? Last time I checked, I couldn't find it 🤔↵_(this was years ago, and I was looking for full translation a the time, not just declarations, so I might be conflating memories)_
12:33:10FromDiscord<heysokam> I can see your "big parser" point, though. I'm sure there are tons of edge cases ⚰️😅
13:29:11*xet7 joined #nim
13:32:06*Skippy8 quit (Ping timeout: 252 seconds)
13:33:58*xet7 quit (Remote host closed the connection)
14:43:45FromDiscord<tar> what else???↵(<@709044657232936960_tamrael=5b=49=52=43=5d>)
14:46:56FromDiscord<tamrael> aol instant messenger?
14:48:12*beholders_eye joined #nim
15:47:21FromDiscord<pmunch> In reply to @heysokam "oh, I see does": Not quite sure what you mean. It seems to output either a const or a template for #define statements
15:50:45FromDiscord<heysokam> In reply to @pmunch "Not quite sure what": I was thinking of using it as a library. But I guess you could use the output code too, didn't think about it that way
15:51:28FromDiscord<pmunch> Oh, didn't consider using it as a library. I guess that could work pretty well.
15:51:50FromDiscord<pmunch> Now I'm running c2nim and running the output through parseStmt
16:00:28FromDiscord<pmunch> Hmm, it's probably easier to parse the Nim output than to traverse the c2nim representation though..
16:02:08FromDiscord<pmunch> Aah, slight problem.. At the moment I'm running this on the Futhark side, which is a macro
16:02:23tarzeauthat FromDiscord bridge is annoying, tamrael: does this highlight? maybe icq?
16:02:58FromDiscord<pmunch> And c2nim outputs PNodes, which IIRC can't be used on compile time
16:03:23FromDiscord<pmunch> In reply to @tarzeau "that FromDiscord bridge is": I think you have to add an @ before a nick if you want to send a highlight from IRC
16:03:38tarzeau@tamrael: ping?
16:03:56FromDiscord<pmunch> Hmm, nope. Maybe without the trailing colon?
16:04:19FromDiscord<pmunch> I swear there was a way to do it
16:04:25tarzeau@tamrael Windoze not found: (C)heer, (P)arty or (D)ance?
16:05:12FromDiscord<pmunch> Still nothing. Try tamrael_daddykev, that seems to be their actual Discord nick
16:05:38tarzeaugiving up on anything not IRC.
16:05:53*tarzeau slaps @pmunch around with a large trout.
16:59:33FromDiscord<nasuray> In reply to @nevillegg "Importc?": https://nim-lang.github.io/Nim/backends.html#interfacing-nim-code-calling-the-backend
17:34:55FromDiscord<pmunch> In reply to @tarzeau "slaps <@392962235737047041> around with": Well, that one worked..