shithub: sl

ref: 24a71723ffbe92ccbdc088a078d776fb869b52ca
dir: /tools/disenv.sl/

View raw version
#!/usr/bin/env sl
(for-each (lambda (e)
           (let ((v (top-level-value e)))
                (when (and (fn? v)
                           (not (builtin? v)))
                      (print e)
                      (newline)
                      (fn-disasm v)
                      (newline))))
          (environment))