Guest User

Untitled

a guest
Apr 26th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. How we run through `foo ↼ 123`
  2.  
  3. - `foo` is dereferenced in `locals namespace`; no such name exists, so the
  4. `namespace` returns an `undefined`, with `the.undefined scope` attached to
  5. `locals`, and `the.undefined name` attached to the missing name
  6. - `↼` is dereferenced in `the.undefined namespace`; it dereferences to a
  7. function
  8. - `the.undefined ↼ infix?` is `true`, so we look ahead and deal with `123`
  9. - `123` is a literal, so we don’t have to do anything with it
  10. - We call `the.undefined ↼(123)`
  11. - The implementation of `↼` does something akin to
  12. `my scope __set(my name, 123)`
Add Comment
Please, Sign In to add comment