Skip to content

0.5.0 - More Newspeak

Compare
Choose a tag to compare
@smarr smarr released this 07 Aug 14:40
· 975 commits to dev since this release

The main focus of this release is to improve compliance with the Newspeak
specification. Specifically, we added various language features to the parser
to be able to parse the Newspeak benchmarks and main repository with only minor
changes.

Newspeak Compatibility Improvements

  • Implement Newspeak setter send syntax and remove old assignment syntax #7, PR #170

  • Added support for Newspeak's full numeral syntax. This includes notation for
    a radix and the exponent notation. Examples: 16rFFFF, 2r10.11, 3.7e3 PR #172

  • Added support for object literals. Because of parsing issues, we currently
    use the keyword objL to identify literals. Otherwise, they are mostly
    compliant the Newspeak specification.
    #86, PR #112

  • Add support for message cascades #18, PR #176, PR #178

  • Add Newspeak type annotation support and local variable initializer expressions PR #175

  • Add array literals PR #173

  • Change standard file extension to .ns PR #181

  • Various improvements in PR #178

    • Support single quotes in strings as escape sequence
    • Support literal characters
    • Parse simultaneous slot definitions, but don't handle them yet.
    • Support methods named class

Changes for Development Setup

  • Added automatic formatting for Java code PR #131

  • Added automatic formatting of TypeScript code PR #167

General Maintenance

  • Fix handling of multiple stepping threads in Truffle PR #168

  • Ensure eager primitives get correct parent node set, and minor cleanup PR #171

  • Avoid block splitting when not necessary PR #177

  • Model promise BPs solely with onResolver and onResolution PR #169

  • Fix turn stepping operations, and introduce better actor testing framework PR #179

  • Update Truffle to latest version (>0.26) PR #163

  • Add missing @TruffleBoundaries for SubstrateVM PR #165

  • Simplify Object Model and add StorageAccessor PR #164