Skip to content

[KtLime] Use lexical scoping or stableized dynamic scoping #12

@duangsuse

Description

@duangsuse

replace macro-filling "expander" in KtLime

  • binding variable id shadow
(((# (a)
    (# (a) a)) 1) 2)

; expected: 2
; actual: 1
  • use lexical scoping
(-> a 199)

(-> get-a (# () a))

(println a) ; 199

(-> print-a (# (a)
  (println (get-a))))

(print-a 233) ; 233

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdesignmentDesignment errors for GeekApkv1♭GeekApk first version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions