The Zen Programming Language project is actively under development, aiming to deliver a revolutionary, keyword-free programming experience.
The Zen Programming Language project is actively under development, aiming to deliver a revolutionary, keyword-free programming experience.
The core language features of Zen are largely complete, with a strong focus on stability and a robust testing infrastructure.
showcase.zen is fully operational, demonstrating all implemented features../scripts/run_tests.sh script provides easy execution of the comprehensive test suite.The following core features have been fully implemented and are working as designed:
? (all forms)"${expr}" syntax).len(), .substr(), .char_at(), .split(), .to_i32(), .to_i64(), .to_f64(), .trim(), .contains(), .starts_with(), .ends_with(), .index_of())(0..10).loop(), (1..=5).loop())loop() with break/continue)Enum.Variant and .Variant).raise() extracts values correctly)These features have initial implementations but require further development or refinement:
Result/Option work, but complex nested types still need work.The following features are planned for future development:
Ptr<T>, MutPtr<T>, RawPtr<T> (currently partial).module.exports/import functionality.build.zen environment.inline.c() currently has partial functionality).The Zen compiler itself is currently built using a combination of Makefile and Cargo.
make build: Compiles the Zen compiler.make test: Runs the test suite.make lint: Executes the linter.This setup provides a robust and familiar development environment for the compiler's implementation in Rust.
build.zenThe long-term vision for the Zen language includes a self-hosted build system written entirely in Zen. Example build.zen files are already present in the tools/ and examples/ directories to demonstrate this concept. However, the current compiler implementation does not yet support executing these build.zen files. This self-hosted build system is a significant future goal, aligning with Zen's philosophy of being a fully expressive and self-sufficient language.