Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@nishtahir nishtahir released this 17 Jun 18:36
· 20 commits to master since this release

Changelog

Wist 2.0 aimed to improve the performance of its parser, decouple the AST from ANTLRs internal AST, introduce a code formatting solution as well as expand the rule set.

  • Port parse to C++ and WebAssembly using Emscripten
  • Introduce experimental code formatter with wist-fmt
  • Fix parse error on inline array definitions
  • Fix wist --init does not resolve path correctly
  • -c flag now uses designated config file instead of copying it into pwd
  • Fix parse error on trailing comma
  • Fix incorrect, misleading errors in sub declarations
  • Add LongInteger data type
  • Exclude unnecessary files using .npmignore
  • Fix parse error on anonymous function parameter
  • Fix parse error on dim statement
  • Fix wist failing to resolve wist-recommended.json. Wist can now run correctly without a .wist-rc.json file 🎉
  • Documentation is now generated from annotations in rules
  • Add rule to enforce ; for string concatenation in print statements
  • Add rule to prevent type declaration for argument types
  • Add rule to prevent use of ? in print statements
  • Add rule to prevent use of invalid associative array keys