boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

011-define-mutual.scm (230B)


      1 ; Forward references at top level: `a` calls `b` defined later. Works
      2 ; because env lookup falls through to symtab[idx].global_val at call
      3 ; time, not closure-creation time.
      4 (define (a x) (b x))
      5 (define (b x) x)
      6 (sys-exit (a 31))