rumlang / rum

Functional language, easily extensible and possible (Lua features with LISP dialect and functional) to be embarked on software Go!
https://www.rumlang.org/
MIT License
157 stars 13 forks source link

context isolate on sub package #13

Open avelino opened 7 years ago

avelino commented 7 years ago

example:

(package
  (var a 1)
  (print a)
  (package
    (var a (+ a 1)
    (print a))
  (print a)
)

output:

1
2
1