Origin Language (.org)
The Simple Divine Programming Language for VS Code.
Features
- ✨ Syntax highlighting for
.org files
- 📝 Code snippets for quick coding
- 🎨 Beautiful color themes
- ⚡ Fast and lightweight
Quick Start
- Create a new file with
.org extension
- Start coding!
# hello.org
use God
fn main() {
say "Hello, World!"
}
Syntax Overview
Variables
let name = "Origin" # mutable
const PI = 3.14159 # constant
Functions
fn greet(name) {
say "Hello, " + name
}
Loops
for i in 1..10 {
say i
}
repeat 5 {
say "Hello!"
}
Classes
class Person {
fn new(name) {
this.name = name
}
fn greet() {
say "Hi, I'm " + this.name
}
}
Packages
| Package |
Description |
God |
Core runtime |
Math |
Math functions |
File |
File operations |
Net |
Networking |
Time |
Date/Time |
Json |
JSON handling |
Commands
Origin: Run File - Run current .org file
Origin: New File - Create new Origin file
Installation
# From VSIX
code --install-extension origin-lang-2.0.0.vsix
# From Marketplace
ext install your-publisher.origin-lang
License
MIT
| |