3 ms·
I love the pipe operator in OCaml! I wrote this line for a compilers class: let _ = apply_effects effs in () in m |> fetch |> decode_execute |> memory_w
by delta_p_delta_x 4y ago
I love the pipe operator in OCaml!
I wrote this line for a compilers class:
let _ = apply_effects effs in ()
in m |> fetch |> decode_execute |> memory_writeback
Actually looks like a RISC pipeline! It looks even better with code ligatures[1].
[1]: https://i.imgur.com/Qwx8CDr.png https://i.imgur.com/Qwx8CDr.png