alandipert / gherkin

a functional programming language and interpreter written in GNU Bash 4
https://tailrecursion.com/~alan/Lisp/GherkinHistory.html
BSD 3-Clause "New" or "Revised" License
522 stars 31 forks source link

Arrays are not GC'd #30

Open quoll opened 11 years ago

quoll commented 11 years ago

Arrays were merged with the known issue that they are not made available for CG.

That said, the "mark" function does identify arrays, and ensures that anything in a reachable array will be marked to prevent collection of those elements. Just need to mark arrays themselves, and unset those arrays that are not in use.

quoll commented 10 years ago

Have this done. Needs proper testing. More importantly, we need to address #36 before I'll consider closing this issue.