All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Support loops (while/until/break/next)
- Removed const/let support
- Removed support for global variables (dropped from Crystal)
- Properly transpile functions defined outside a class
0.3.0 - 2015-08-27
- Version flag (-v) to CLI
- Examples in markdown (also acts as tests)
- Internal: Removed a lot of specs now covered by markdown examples
- Strict flag that was broken in CLI
0.2.0 - 2015-08-19
- Transpile proc var assignment to function definitions
- Transpile global variables
- Transpile
self
tothis
- Transpile type aliases
- Transpile
is_a?
toinstanceof
- Transpile vars; bool, number and string literals explicitly
- Transpile
case/when
toswitch/case
- Transpile
rescue
tocatch
- Strict mode - Enabled by default, CLI will not
allow use of fallback transpilation, but throw an exception. Disable by
passing
--no-strict
to the CLI.
- Transpile
p
toconsole.log
- Transpile class structures (constructors, instance variables etc.)
- Transpile variable assignment (using let and const)
- Transpile nil
- Transpile symbols
- Transpile if, unless
- Transpile typed arrays
- Transpile hash to object