18 releases (3 stable)

1.1.0 Feb 1, 2024
0.12.1 Feb 1, 2024

#168 in Programming languages

Download history 15/week @ 2023-12-31 26/week @ 2024-01-07 20/week @ 2024-01-28 16/week @ 2024-02-18 11/week @ 2024-02-25 9/week @ 2024-03-10 234/week @ 2024-03-31

243 downloads per month

MIT license

67KB
1.5K SLoC

The Carlo Language

Carlo is a simple interpreted programming language designed to fill the role of an "engineer's calculator".

What's in a Name?

Carlo is named after Blessed Carlo Acutis, an Italian Catholic website designer and the patron of computer programmers. He succumbed to leukemia on October 12, 2006, and was beatified by the Catholic Church on October 10, 2020.

You may read more about Carlo Acutis on Wikipedia.

Package Structure

The complete Carlo language is contained in the carlo workspace. The carlo workspace is composed of a series of Rust crates (packages).

  • carlotk, the Carlo language toolkit, containing the Carlo language parser, CLI argument parser, and other utilities,

  • carlo-help, the Carlo language help utility,

  • carlo-repl, the Carlo language REPL,

  • carlo-run, the Carlo langauge execution subcommand,

  • carlo-latex, the Carlo LaTeX emitter, and

  • carlo-version, the Carlo language version subcommand.

These packages are joined together in the src/main.rs executable, which invokes carlotk::include_subcommands macro to build the full carlo binary.

License

The Carlo Language and all of its constitutive crates are licensed under the MIT license.

Dependencies

~3–13MB
~119K SLoC