cito 2.1.1
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 markedexport
. switch
transpiles to Python 3.10+match
instead of a series ofelif
s.- 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 toabort()
(C/C++) andthrow 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++.