Compiler
The Callisto compiler of the 13th month, and other language extras
[Website](https://callisto.mesyeti.uk/) | [Docs](https://callisto.mesyeti.uk/docs) | [Awesome List](https://github.com/callisto-lang/awesome-callisto) | [Discord](https://discord.com/invite/QHAtc4GWq7) The project is written primarily in D, distributed under the MIT License license, first published in 2024. Key topics include: compiler, concatenative, concatenative-language, concatenative-programming-language, programming-language.
The Callisto Programming Language
Website |
Docs |
Awesome List |
Discord
Callisto is a stack-based imperative programming language with stack safety enforced
by the compiler (which is optional).
It also has a subset called CallistoScript made to compile to scripting languages like
Lua, while keeping its low level features (like direct access to memory).
Supported targets
- x86 real mode - MS-DOS, bare metal
- x86_64 - Linux, macOS, FreeBSD (partial)
- ARM64 - Linux, macOS
- Uxn - Varvara
- Lua
Build
dub build --compiler=ldc
The compiler executable will be called cac
[!WARNING]
Compilation may freeze due to a bug in the Digital Mars D compiler. If this happens,
compile with this command:dub build --compiler=ldc.If that doesn't work, then run with
--compiler=ldc2instead.
Run example programs
Make sure you get the standard library
git submodule update --remote
Then compile example programs like this
cac examples/exampleNameHere.cal -i std
The output executable will be called out. Any example programs that require extra flags
for compilation will have a compile command in a comment at the top of the source file.
IRC Channel
Join #callisto-lang on irc.libera.chat.
Contributors
Showing top 7 contributors by commit count.
