About this project

Dorpn is a statically-typed, compiled programming language that aims to combine Python-like readability with native execution speed. Its syntax uses indentation-based blocks, `tag` for variable declarations, `Const` for constants, `func` for functions, and `loop`/`keep` for iteration. Types are inferred automatically, so annotations are optional. The compiler targets native binaries through C and GCC, and from v0.4.0 also supports a JavaScript target via `-js` or `--Javs`. The JS target is intended for rapid iteration, with the README citing millisecond-scale compilation, while native compilation is described as taking roughly 0.45 seconds. The project claims no VM, garbage collector, or JIT warm-up, and lists cold startup around 0.7 ms with base memory of 2–4 MB for small programs and 20–50 MB for larger ones. These figures are presented as approximate and subject to change. Other documented features include ANSI terminal color output through escape sequences and a `printOut()` built-in that writes to stdout without a newline. The README points to a Docs folder for full syntax and built-in function references. The compiler source is not yet public; it is planned for release at v1.0 or when the language becomes self-hosted, and compiled binaries are available on the Releases page. Support is offered through GitHub issues and a Discord server.