|
|
1.1 ! root 1: procedure ldag(stree,done) ! 2: local a ! 3: /done := table() # start table ! 4: # return list if done ! 5: if a := \done[stree] then return a ! 6: stree ? # build like a tree ! 7: if a := [tab(upto('('))] then { ! 8: move(1) ! 9: while put(a,ldag(tab(bal(',)')),done)) do ! 10: move(1) ! 11: } ! 12: else a := [tab(0)] ! 13: return done[stree] := a # put in table ! 14: end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.