Skip to content

BRS 0.12.0

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

12 pounds of changes in a 5-pound box!

  • Numerous lexer and parser fixes to expand the set of valid code (brings this closer to RBI)
  • Support for multiple brightscript files on the commandline!
  • A bunch of global functions!
    • Type
    • StrToI
    • File IO functions (only for the tmp: scheme for now, and in an in-memory filesystem)
      • ReadAsciiFile
      • WriteAsciiFile (only for the tmp: scheme for now, and in an in-memory filesystem)
      • ListDir
      • CopyFile
      • MoveFile
      • DeleteFile
      • DeleteDirectory
      • CreateDirectory
      • FormatDrive (just a stub)
    • CreateObject (only "roArray" and "roAssociateArray" are supported so far)
  • Methods on roArray and roAssociativeArray instances! Specifically:
    • The ifArray interface for roArray
    • The ifAssociativeArray interface for roAssociativeArray
  • The main function is now automatically executed!
  • Conditional compilation directives (#if, #const, #error, etc.) are now supported. There's no support for manifest files just yet though!

❤️ Contributors ❤️

  • @strattonbrazil implemented multiple-file support and added all the File IO functions! Thanks Josh!
  • @jweeber implemented StrToI, CreateObject, and all the methods in ifAssociativeArray. Wowzer! Welcome to the project, Jess!

💚 Special Thanks 💚

@hulu (who employs me, @strattonbrazil, and @jweeber) was generous enough to donate a few developer-weeks to this project to accelerate its development. Thank you to everyone involved in letting that happen — we got a ton accomplished!