Added field access expressions
Pre-release
Pre-release
·
55 commits
to master
since this release
One of the biggest issues with accessing fields inside objects was the lack of access expressions for them.
Now, by using the unbounded access operator ::
you can reference a field (Either method or other value...).
Bound reference :
will cause a syntax error for now, in the future can be used to bind methods (Proposal pending).
;; Example:
(+ 1 some-obj::some-number)
Changelog
- Added unbounded access expression for fields
a::b::c
. - Fixed runtime errors related to
list
methods. - Now
range
produces alist
instead of an anonymous iterable object. - Import now can import non-binding packages (Anonymous import) like
(import "some-pkg")
- Embed runtime will produce now a
do ... end
block instead of an IIFE. - Better error reporting (Less clutter and internal traces).