Refs & state #24
Labels
No Label
accepted
bug
clj
documentation
enhancement
errors
infrastructure
later
next
now
optimization
proposal
question
research
semantics
syntax
ux
vm
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: twc/ludus#24
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The object that
run
returns should not be a bespoke object that's managed and exported by the postlude, but actually a dump of all the refs in the executed Ludus code. Easy peasy: the result of a script is not only the result, but also the state of its stateful parts upon exiting.One design issue that's not so easy-peasy: refs would now need globally unique names.
That's probably good enough for Computer Class, which probably won't use refs except under the hood.
Possible solutions include:
(In the latter case, naming conflicts would of course be checked.)
I'm actually leaning towards one of the first two.
This is mostly an issue for #31 and #23. Maybe work locally with those two, and then make a decision here.
Everything stays hardcoded for Computer Class; fix this for 0.1.0.
This is now irrelevant; the actor model supersedes this.