Repository navigation
FerroBASIC 0.1.0 (pre-alpha)
Pre-release
Pre-release
FerroBASIC's first minor release: milestones M0 and M1 are complete. Level 0 programs (one module, the language core, List and Map) can be checked, run with the reference interpreter, built into standalone executables, explored in a REPL, and checked live in an editor through the language server. M2, classes and events, is next.
Tools:
ferro replnow edits lines and keeps a history on interactive terminals. Up and Down recall whole earlier submissions, multiline Subs and blocks included, to edit them; an edited buffer is checked and run as one submission. History holds up to 100 submissions in memory and is never written to disk. Piped input and terminals without editing support keep the plain reader, with the same output and exit codes as before. The keys for each platform are in docs/spec/cli.md.ferro checknames both declarations when a name inProcess_Globalsis declared by twoConsts.
Recorded from B4J:
- 287 conformance tests (B4J 10.70, OpenJDK 19, Windows 10): 281 pass against recordings, in the interpreter and as standalone binaries; 6 are documented deviations; none pending.
Project:
- A logo, in light and dark versions.
- Versions now follow the milestones: the release that completes a milestone raises the minor version.
Details in CHANGELOG.md; known differences from B4J (D1, D3–D7) in docs/deviations.md.
Known limitations:
- Line editing was tested by hand on macOS (Terminal.app) and Windows 10 (Windows Terminal, part of conhost); automated terminal tests run on Linux only. iTerm2 is not tested yet.
- The REPL cannot load a file or interrupt a running program without ending it; the language server gives diagnostics only, and there is no editor extension.
- Classes, other modules, libraries other than jCore,
DateTime,SleepandWait Forarrive at later levels.
Build from source with cargo build --release -p ferro-cli.