nim-works/cps
View on GitHub ↗ ★ 218 Nim
Continuation-Passing Style for Nim 🔗
9 mentions on Hacker News by 8 people: 2 stories, 7 comments · first 2021-10-19 · latest 2026-07-29
20082026
-
…Java got its virtual threads very recently); you can just[1] implement a CPS transform as a macro: https://github.com/nim-works/cps/blob/master/docs/cps.svg [1] Yeah, I know, this word is extremely overworked in that sentence. Sorry,…
comment by klibertp · 2026-07-29 · in Lisp moving Forth moving Lisp -
▲ 7
Nim CPS: compile-time continuationsstory by disruptek · 2024-02-14 · 3 comments
-
This'll get you closer: https://github.com/nim-works/cps Sorry, I was in a hurry.
comment by disruptek · 2024-02-14 · in Nim CPS: compile-time continuations -
…compile-time) You can also implement Continuation-Passing-Style transformation at compile-time: - https://github.com/nim-works/cps Or a neural network DSL or for a self-contained example, einsum: - https://github.com/mratsim/Arraymancer/blo…
comment by mratsim · 2023-12-04 · in D Programming Language -
There has been a more-or-less working CPS implementation for Nim for a few years now: https://github.com/nim-works/cps https://github.com/nim-works/cps/tree/master/docs Nobody seems to care though, as it has gained no traction at all and…
comment by zevv · 2023-10-01 · in NIR: Nim Intermediate Representation -
▲ 22
CPS – Also Known as Continuation-Passing Style – For Nimstory by auxym · 2022-02-05 · 0 comments
-
I think the CPS attempt in Nim could do this https://github.com/nim-works/cps
comment by henrydark · 2022-01-05 · in In Defense of Async: Function Colors Are Rusty