Skip to content

FerroBASIC 0.0.3 (pre-alpha)

Pre-release
Pre-release

Choose a tag to compare

@FeliceMente FeliceMente released this 24 Oct 09:27
· 383 commits to main since this release

Projects, licence notices and CI for Level 0 (one code module, the language core, List, Map, StringBuilder and Type records).

Projects:

  • A B4J console project (.b4j), or the folder that holds it, is an input of ferro check, run and bundle. Anything Level 0 cannot run (a UI app, another library, module or file) is an error at its line of the project file, instead of being silently ignored.
  • ferro bundle MyApp writes the program into the project's folder (MyApp/MyApp), wherever it runs from; a single module's program still goes in the current folder.
  • A class module is an error that says so.

Licences:

  • ferro licenses prints FerroBASIC's licence and the notices of the third-party code inside ferro and every bundled program. Include them when you distribute a program: ferro licenses > NOTICES.txt.

Testing and documentation:

  • CI on Linux, Windows, macOS (Apple Silicon and Intel) and a static Linux build; ferro run and ferro bundle are now tested on Windows.
  • New conformance tests for String, StringBuilder, List and Map members, maths, Bit, characters, integers, seeded Rnd and exit codes.
  • docs/language-support.md lists what is supported today and what is not yet.

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

Known limitations:

  • Changes through a stale SubList view raise the wrong exception (#21).
  • Const, Is, Wait For and inline Java get a generic syntax error instead of a precise one (#32); Const is not supported yet (#33).

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