00:54
notgull has quit [Ping timeout: 255 seconds]
00:56
notgull has joined #amaranth-lang
01:07
notgull has quit [Ping timeout: 245 seconds]
01:08
notgull has joined #amaranth-lang
02:25
<
cr1901 >
Is it possible to convert an amaranth constant to an int (I'm trying to be cute and use amaranth Const as a bit-slicing "library")?
02:26
adamgreig[m] has joined #amaranth-lang
02:26
<
adamgreig[m] >
does .value work for you?
02:27
<
cr1901 >
Cat object has no attribute value
02:27
<
adamgreig[m] >
ah, Consts do but maybe not Cats
03:01
skipwich has quit [Quit: DISCONNECT]
03:03
skipwich has joined #amaranth-lang
03:57
Degi_ has joined #amaranth-lang
03:58
Degi has quit [Ping timeout: 258 seconds]
03:58
Degi_ is now known as Degi
05:04
jjsuperpower has quit [Ping timeout: 258 seconds]
05:21
ravenslofty[m] has quit [Quit: Idle timeout reached: 172800s]
05:26
<
whitequark[cis] >
cr1901: you can, one sec
05:27
<
whitequark[cis] >
we had an RFC about that!
05:28
<
cr1901 >
Is this from Const to int?
05:29
<
cr1901 >
I see int to Const, but I was looking for the reverse so I didn't have to bit shift some stuff manually lol
05:37
<
whitequark[cis] >
from Cat of Const to int
05:39
<
cr1901 >
Ahhh, sorry. I wanted to index a Python list (to initialize a sparse list which gets passed to init= in Memory) using Amaranth Cat() and bit-slicing.
05:40
<
whitequark[cis] >
oh, yeah, bit-slicing is not supported in RFC 4
05:54
<
_whitenotifier-f >
[amaranth-lang/amaranth] wanda-phi 00699f7 - lib.enum: allow using functional syntax for enum creation.
05:54
<
_whitenotifier-f >
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 88ab97a - Deploying to main from @ amaranth-lang/amaranth@00699f7c41a97cf8373a15e0b28e29361e017812 🚀
08:17
Lord_Nightmare has quit [Remote host closed the connection]
08:17
Lord_Nightmare has joined #amaranth-lang
10:13
vup has quit [Quit: vup]
12:16
nelgau has quit [Ping timeout: 255 seconds]
13:05
nelgau has joined #amaranth-lang
14:31
sauce has quit [Ping timeout: 255 seconds]
14:32
sauce has joined #amaranth-lang
14:41
frgo_ has joined #amaranth-lang
14:45
frgo has quit [Ping timeout: 255 seconds]
14:46
frgo_ has quit [Ping timeout: 260 seconds]
15:42
frgo has joined #amaranth-lang
15:47
frgo has quit [Ping timeout: 255 seconds]
15:54
frgo has joined #amaranth-lang
16:04
frgo has quit [Remote host closed the connection]
16:05
frgo has joined #amaranth-lang
16:55
notgull has quit [Ping timeout: 255 seconds]
16:58
notgull has joined #amaranth-lang
17:50
mcc111[m] has quit [Quit: Idle timeout reached: 172800s]
18:02
frgo has quit [Quit: Leaving...]
18:07
frgo has joined #amaranth-lang
23:20
lf has quit [Ping timeout: 258 seconds]
23:21
lf has joined #amaranth-lang