Skip to content

cito 2.1.1

Compare
Choose a tag to compare
@pfusik pfusik released this 30 Jan 07:55
· 762 commits to master since this release

See Getting Started.

Changes since 2.1.0:

  • The Ć parser now transpiles to C++20, Java and JavaScript. (#48)
  • The Visual Studio Code extension reports syntax errors, using the parser in Ć. (#64)
  • The JavaScript output is now an ECMAScript module, with export classes and enums.
  • In TypeScript, only public types are now marked export.
  • switch transpiles to Python 3.10+ match instead of a series of elifs.
  • Type-matching switch transpiles to JavaScript and Python.
  • Lowering dynamic object literals (new Foo { Bar = 5, Quux = 42 }) to series of assignments.
  • int.MaxValue, long.MinValue etc.
  • assert false now transpiles to abort() (C/C++) and throw new Error() (JavaScript/TypeScript) .
  • Implemented all boolean logic operators for JavaScript, TypeScript and Swift.
  • expr is Derived newVar transpiles to C++ and JavaScript.
  • double.TryParse transpiles to C++, Java and JavaScript.
  • Several improvements to string operations in C and C++.