Skip to content

FerroBASIC 0.0.2 (pre-alpha)

Pre-release
Pre-release

Choose a tag to compare

@FeliceMente FeliceMente released this 20 Oct 06:21
· 411 commits to main since this release

Hardening and Java exactness for Level 0 (one code module, the language core, List, Map, StringBuilder and Type records).

Command line:

  • ferro build is now ferro bundle (build is reserved for whole projects).
  • ferro version and ferro help show the version and platform.
  • ferro bundle now works on macOS (Apple Silicon, and Intel through Rosetta).
  • ferro never overwrites its input and no longer crashes on invalid bytes, pipes or closed output.

Behaviour:

  • Deep nesting, deep or large data, and running out of memory give clear errors instead of crashes.
  • Numbers print with Java's exact digits, NumberFormat included; ASin, ACos, ATan and ATan2 match Java bit for bit.
  • Multi-dimensional arrays are arrays of rows, as in Java; Select on an Object, GetKeyAt, Bit.ParseInt, IsNumber and AddAll now behave as in B4J.
  • FerroBASIC is now MIT-licensed.

Details in CHANGELOG.md; known differences from B4J in docs/deviations.md.

Known limitations:

  • ferro bundle is untested on Windows.
  • There is no CI yet.
  • Changes through a stale SubList view raise the wrong exception (#21).

Build from source with cargo build --release -p ferro-cli.