Kode is a lightweight interpreted language with clean C-like syntax, dynamic typing, and functional capabilities.
fn app() { print "Hello, Kode!"; }
Designed with simplicity and readability in mind, Kode brings modern programming concepts in an accessible format.
C-style syntax that feels natural to most programmers from any background.
Flexible variable handling without strict type declarations for rapid development.
Support for closures and function passing for functional programming patterns.
Compile to .kdc bytecode for faster execution and distribution.
Experiment with code in real-time with a built-in interactive shell.
Import and use code from other files with a simple module system.
See how clean and intuitive Kode syntax is with these examples.
fn factorial(n) { if (n <= 1) { return 1; } else { return n * factorial(n - 1); } } fn main() { print factorial(5); // 120 }
fn createCounter() { let count = 0; return fn() { count = count + 1; return count; }; } let counter = createCounter(); print counter(); // 1 print counter(); // 2
Follow these steps to install and run your first Kode program.
# Clone repository git clone https://github.com/cyberkutti-iedc/kode cd kode # Build with Cargo cargo build --release # Run a sample program ./target/release/kode run examples/hello.kode # Start REPL ./target/release/kode repl
Comprehensive resources to help you learn and master Kode.
The future direction and development goals for the Kode programming language.