!9IQChSjwSHXPPWTa:lix.systems

Lix

1128 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms315 Servers

Load older messages


SenderMessageTime
20 Mar 2026
@piegames:flausch.socialpiegames(Nix is real and can't hurt you)14:06:14
@piegames:flausch.socialpiegames* (Nix is not real and can't hurt you)14:06:26
@emilazy:matrix.orgemilyyeah I think it probably involved a \ or something in there too. but no REPL to jog my memory right now.14:07:27
@piegames:flausch.socialpiegamesadmittedly some of these are a bit tricky even when a better alternative exists, so we might at least improve the error message to point users in the right direction14:11:19
@piegames:flausch.socialpiegamesI'd so much love to scrap all of this bullshit and redo a proper string syntax, but alas this will have to wait until langver which is soft-blocked on bytecode and Rust14:11:53
@kfears:matrix.orgKFears 🏳️‍⚧️ (they/them)Why is it soft-blocked on bytecode and Rust? Because the current thing is a horrible pain?14:12:43
@piegames:flausch.socialpiegamesthe current deprecations are a best effort attempt at removing a loaded gun from users' hands14:12:54
@piegames:flausch.socialpiegamesbasically, yes. I tried 1.5y ago at https://gerrit.lix.systems/c/lix/+/2359/1 and eventually gave up. Having to create new, versioned, AST nodes with different semantics etc was inacceptably bad, and would have made maintenance in the long term even worse14:14:25
@piegames:flausch.socialpiegamesso better to do it right from the beginning, clean up the codebase, put the correct abstraction layers in place, and then everything is much less unpleasant14:14:59
@kfears:matrix.orgKFears 🏳️‍⚧️ (they/them)Fair enough14:17:02
@kfears:matrix.orgKFears 🏳️‍⚧️ (they/them)We wouldn't attempt the C++ maneuver with a gun pointed to our head, so it's extremely impressive you tried that14:17:44
@whispers:catgirl.cloudwhispers [& it/fae]langver being the ability to experiment with changing the nix language while still being compatible with nix proper? (akin to rust's editions?)14:19:32
@whispers:catgirl.cloudwhispers [& it/fae] * 14:20:09
@k900:0upti.meK900Basically that, yes14:20:19
@piegames:flausch.socialpiegames
In reply to @kfears:matrix.org
We wouldn't attempt the C++ maneuver with a gun pointed to our head, so it's extremely impressive you tried that
"How bad could it be?"
14:32:06
@piegames:flausch.socialpiegamesOTOH I wouldn't be able to know where to go if I hadn't tried and failed that way14:32:35
@patrickdag:matrix.orgPatrick changed their display name from patrickdag to Patrick.14:52:01
@emilazy:matrix.orgemily (FWIW since ''\' is apparently still accepted I'm not sure I know of any issues with the escapes) 15:41:42
@emilazy:matrix.orgemily (though I wouldn't be super surprised if there's something with ''\$ or ''\\) 15:42:08
@aloisw:kde.orgaloiswThe only ones that I know of you can't write any more are when every line starts with at least one space.17:17:47
@emilazy:matrix.orgemily hmm, that's unfortunate. allow ''\<space> too? 18:01:35
@aloisw:kde.orgaloiswThis was specifically rejected in favour of warning the user that it's just not supported any more.18:03:38
@emilazy:matrix.orgemily I'm not sure a string literal syntax that can't be used to form all of the valid strings in the language is a move in a less busted direction… 18:08:36
@emilazy:matrix.orgemily (or what the problem with ''\<space> is, if ''\' is okay) 18:09:16
@piegames:flausch.socialpiegames
In reply to @emilazy:matrix.org
(or what the problem with ''\<space> is, if ''\' is okay)
The latter was unfortunately necessary for escaping a ' at the end of a ''-string, because ''' is already defined to mean ''
18:43:17
@emilazy:matrix.orgemily I think it's necessary before the end in some cases too. (but ''\<space> is also necessary as well, clearly) 18:44:13
@piegames:flausch.socialpiegames It's not strictly necessary, because ${""} exists and is, arguably, no more hacky 20:03:45
@aloisw:kde.orgaloiswWith that you could do single quote at the end, too.20:55:10
@piegames:flausch.socialpiegamesheh21:12:14
@piegames:flausch.socialpiegamesI totally did not think of that21:12:20

Show newer messages


Back to Room ListRoom Version: 10