<_whitenotifier-9>
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 79befef - Deploying to main from @ amaranth-lang/amaranth@9686da290c6144cd8bf7575de38e22eb122388a1 🚀
<_whitenotifier-9>
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] f7d9196 - Deploying to main from @ amaranth-lang/amaranth@eefca8323028a0616d2b50019d119fcf7dd3d200 🚀
<Wanda[cis]>
SwitchValue is essentially the "backend" AST node used to represent Choice when it is lowered
<Wanda[cis]>
(Choice is not actually supported yet, as the RFC is still pending some discussion, but the underlying primitive was considered useful enough that we already added the backend node and refactored some stuff to use it, such as Array and Mux)
<RobTaylor[m]>
<Wanda[cis]> "SwitchValue is essentially the..." <- Thank you!
<RobTaylor[m]>
Will Switch(Statement) continue to exist?
<Wanda[cis]>
it will; it is orthogonal to Choice or SwitchValue, and has capabilities that cannot be realized through them (such as being able to conditionally assign a signal, or to do conditionals over Display statements)
SpaceCoaster has quit [Quit: Bye]
SpaceCoaster has joined #amaranth-lang
dyniec has joined #amaranth-lang
<RobTaylor[m]>
<Wanda[cis]> "it will; it is orthogonal to ..." <- Makes sense, thank you
<whitequark[cis]>
Choice is essentially a more general version of Array
<whitequark[cis]>
Array is kind of a weird hack Migen had, it has a lot of utility, but it's not really a solid language construct that can be composed with other features
lonjil[m] has quit [Quit: Idle timeout reached: 172800s]
zyp[m] has quit [Quit: Idle timeout reached: 172800s]
Hoernchen has quit [Quit: meh.]
Hoernchen has joined #amaranth-lang
notgull has joined #amaranth-lang
jfng[m] has quit [Quit: Idle timeout reached: 172800s]