https://github.com/jrincayc/ucblogo-code
Raw File
Tip revision: 21ce9707d32d35f71bcba10c45742e8214881ea8 authored by Barak A. Pearlmutter on 13 January 2022, 14:54:59 UTC
update-alternatives instead of mere links for /usr/bin/logo
Tip revision: 21ce970
iseq
;;; -*- logo -*-

to iseq :a :b
if not (:a > :b) [output iseq1 :a :b]
output map [[x] -1 * :x] iseq1 (-1 * :a) (-1 * :b)
end

to iseq1 :a :b
if :a > :b [output []]
output fput :a iseq1 :a + 1 :b
end

bury [iseq iseq1]
back to top