lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Am Mi., 19. Juli 2023 um 10:42 Uhr schrieb Marcus Mason <m4gicks@gmail.com>:
> More concretely I've recently been working on a library for limited handling of algebraic effects in lua. The fact I cannot retain a snapshot of the coroutine at a given point means I cannot encode things like non determinism in my system. Essentially anything which needs to backtrack.

... so you mean a sort of "event logging" of any user / calculation /
lua command events?

...(this of course always is somehow tricky / difficult, but at least
with the yielding of Lua you have the Lua state under good time
control... ).