Modern Programming
Made Simple
Kode is a lightweight interpreted language with clean C-like syntax, dynamic typing, and functional capabilities.
fn app() {
print "Hello, Kode!";
}Key Features
Designed with simplicity and readability in mind, Kode brings modern programming concepts in an accessible format.
Familiar Syntax
C-style syntax that feels natural to most programmers from any background.
Dynamic Typing
Flexible variable handling without strict type declarations for rapid development.
First-Class Functions
Support for closures and function passing for functional programming patterns.
Bytecode Compilation
Compile to .kdc bytecode for faster execution and distribution.
Interactive REPL
Experiment with code in real-time with a built-in interactive shell.
Module System
Import and use code from other files with a simple module system.
Code Examples
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(); // 2Get Started With Kode
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
Documentation
Comprehensive resources to help you learn and master Kode.
Development Roadmap
The future direction and development goals for the Kode programming language.
Short-Term Goals
v0.1.xCompleted
- Bytecode Compilation
- REPL Improvements
- Closures and Arrays
- Error Handling
- Module System
In Progress
- Standard Library Implementation
- Documentation Completion
- Testing Framework
Mid-Term Goals
v0.3.xIn Progress
- Native Code Generation
- Static Type Checking
- Standard Library Implementation
- Enhanced Loops
- Tracebacks
- Debugging Support
- Performance Optimizations
- String Interpolation
- VS Code Extension
Long-Term Goals
v1.0+In Progress
- Package/Module System
- Package Manager
- Asynchronous Programming
- Advanced Data Structures
- Function Overloading
- Pattern Matching
- JIT Compilation
- Foreign Function Interface
- Meta-programming
- Object System