A prehistoric programming language for the digital age.
Welcome to DinoLang!
Step back in time to the Mesozoic era of programming! DinoLang is a primal, yet powerful, language designed for simple, direct operations. Forget complex frameworks and modern paradigms; DinoLang gets straight to the point, just like a hungry T-Rex.
Inspired by the raw power of assembly, DinoLang provides direct control over variables and basic arithmetic, making it perfect for understanding fundamental programming concepts without getting lost in abstraction.
Features
Variables (FOSSIL): Declare and assign integer or string values to your data. Think of them as ancient artifacts holding precious numbers or messages.
Arithmetic (GROW, SHRINK, HATCH, SPLIT): Perform basic addition, subtraction, multiplication, and division on integers. These operations are expressed in a prefix notation, reflecting the directness of dinosaur actions.
GROW A B: A + B
SHRINK A B: A - B
HATCH A B: A * B
SPLIT A B: A / B (integer division)
Output (ROAR): Make your program roar! Print the value of variables or expressions (integers or strings) to the jungle output.
Input (HERD): Gather information from the herd! Use HERD variable_name; to prompt the user for input and store it as a string.
Comments (#): Use the hash symbol to add comments to your code, because even dinosaurs needed notes.