hpi-swa / vivide

A Squeak/Smalltalk-based programming environment and framework that supports low-effort construction of graphical tools by employing a data-driven perspective and a script-based programming model.
MIT License
58 stars 9 forks source link

Recursion detection in script protocol does not work #301

Open marceltaeumel opened 5 years ago

marceltaeumel commented 5 years ago

We only keep a list of recent steps, yet, the stack is required to distinguish recursion from sequentially repeated references:

script := {
   #foo. "Some existing script with the id #foo."
   #foo. "Same."
} asScript.
self deny: script isRecursive. "fails"