spltui-0.2.0 is not a library.
Paijorot Language (FULLY AI WRITTEN)
Paijorot is a simple interpreted programming language implemented in Rust. It's designed as a hobby project with unique "brainrot" syntax. (FULLY AI WRITTEN)
Features
- Dynamic typing
- Fixed indentations
- Memory safety (following Rust's standards)
- Simple syntax inspired by modern internet slang
- Support for variables, functions, loops, and user input
Syntax Overview
Print Statements
yap "Hello World"; // Equivalent to Rust's println!()
Variable Declaration
ts x pmo 42; // Equivalent to "let x = 42;" in Rust
Array Declaration
gyat numbers {1, 2, 3, 4, 5}; // Declare an array
Function Declaration
hawk add(a, b) tuah a + b; // Define a function that returns a + b
Loops
// Infinite loop (until break)
goon
// code here
sybau; // break
edge
// For loop (20 iterations)
goon(20)
// code here
edge
User Input
ts user_input pmo yeet; // Read user input into variable
Example Program
yap "Hello, world!";
ts x pmo 10;
ts y pmo 5;
hawk add(a, b) tuah a + b;
yap "The sum is:";
yap add(x, y);
yap "Enter your name:";
ts name pmo yeet;
yap "Hello, ";
yap name;
goon(3)
yap "Loop iteration";
edge
Running Paijorot Programs
-
Install the interpreter:
cargo install paijorot -
Run a Paijorot program:
paijorot example.paijorot
Language Reference
Keywords
yap- Print to standard outputts- Declare a variablepmo- Assign a valuegyatorgyatt- Declare an arrayhawk- Define a functiontuah- Return a valuegoon- Begin an infinite loopgoon(n)- Begin a loop for n iterationsedge- End a loop blockyeet- Read user inputsybau- Break out of the current loop
Operators
+- Addition-- Subtraction*- Multiplication/- Division
Enjoy programming with Paijorot!