INITIUM (Getting Started)

§ I

Project-Based Workflow

Veritas v1.5.0 adopts a project-centric workflow managed via the veritas.toml manifest. Use the CLI to scaffold new projects:

veritas new orbit_sim

This creates a directory structure with src/main.ver, tests/, and a veritas.toml configuration file.

§ II

The SI Units Library

Engineering accuracy starts with units. Include the standard library at the top of your program:

This is the program 'physics'.

Include 'units.ver'.

Create 'radius' as a double<meter> with value 10.0.

End of the program 'physics'.

§ III

Compilation & Execution

Build and run your project with a single command:

veritas run

The compiler will first perform dimensional analysis, then transpile to C, and finally compile the binary using your configured C compiler.