Skip to content

Releases: sjbarag/brs

BRS 0.5.0

05 Mar 02:33
Compare
Choose a tag to compare
BRS 0.5.0 Pre-release
Pre-release

The following control flow constructs are now supported in .brs files:

  • Block if/elseif/else statements
  • Single-line if/elseif/else statements
  • while loops
  • for/to loops

In addition, brs now has end-to-end tests, meaning that a series of real BrightScript files get executed during every test pass. These should make regressions much easier to avoid in the future, and can lead to easy test-case production. Who knows, maybe we'll even get a fuzzer in there one day!

BRS 0.4.0

15 Jan 23:55
6cd68e7
Compare
Choose a tag to compare
BRS 0.4.0 Pre-release
Pre-release

In 0.4.0, brs learned how to create global variables and retrieve their values, and fixed a bug in which mixed-type comparisons and arithmetic weren't supported.

BRS 0.3.0

09 Jan 16:04
Compare
Choose a tag to compare
BRS 0.3.0 Pre-release
Pre-release

In 0.3.0, BRS learns the print statement! Executing a file is actually useful now:

$ cat test.brs
print """The horse says, 'Doctorate denied'."" -- Professor Shpeekenshpell, Futurama S6 E8"

$ brs test.brs
"\"The horse says, 'Doctorate denied'.\" -- Professor Shpeekenshpell, Futurama S6 E8"

There's some obvious printing quirks (namely that I'm lazy and using JSON.stringify to print strings), but those will be fixed in the next release.

BRS 0.2.1

06 Jan 15:01
Compare
Choose a tag to compare
BRS 0.2.1 Pre-release
Pre-release

BRS 0.2.1 actually includes the brs binary in the packaged code. Previous versions didn't include one.

BRS 0.2.0

05 Jan 16:34
Compare
Choose a tag to compare
BRS 0.2.0 Pre-release
Pre-release

BRS 0.2.0 adds an interpreter, meaning the language is finally actually doing something! It supports:

  1. Arithmetic:
    • Addition
    • Subtraction
    • Multiplication
    • Division
    • Integer division
    • Modulo operations
    • Exponentiation
    • Parenthetic grouping
  2. Boolean logic:
    • And/or/not of booleans
  3. Comparisons
    • Less-than, less-than-or-equal, greater-than, greater-than-or-equal, equal, and non-equal

The REPL works pretty well, but because there's no print statement yet executing a file doesn't actually produce anything.

BRS 0.1.0

02 Jan 15:11
407d6b0
Compare
Choose a tag to compare
BRS 0.1.0 Pre-release
Pre-release

Initial release of BRS that lexes and parses simple expressions written in BrightScript.

Is this sort of a name squatting situation? Yeah I guess. But now https://www.npmjs.com/package/brs isn't available.