Skip to content

BRS 0.11.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@sjbarag sjbarag released this 03 Dec 18:45

brs 0.11.0 is a much smaller release, but includes a much-needed feature that was missing from 0.10.0: the ability to set values in pre-existing arrays and associative arrays! The following is now possible:

a = [1, 2, 3]
a[0] = "one"

b = { foo: "bar" }
b.lorem = [ "ipsum", "dolor", "sit", "amet" ]

Version 0.11.0 also starts exporting some internals for other JavaScript consumers to use! For now that's just the lexer and the internal types, but more will be coming soon 🕛