PuppyLang - a programming language for good boys 🐕
- C 98.5%
- Makefile 1.5%
| examples | ||
| .gitignore | ||
| Makefile | ||
| puppy.c | ||
| README.md | ||
PuppyLang 🐕
A programming language for good boys.
Keywords
| Keyword | Meaning |
|---|---|
bark |
print/output |
woof |
variable declaration |
sit |
if statement |
stay |
while loop |
fetch |
function definition |
come |
function call |
tail |
return |
good |
true |
bad |
false |
Example
bark "Hello from PuppyLang!"
woof name = "River"
woof age = 25
sit age > 20 {
bark name + " is a grown puppy!"
}
woof counter = 0
stay counter < 5 {
bark "woof #" + (counter + 1)
woof counter = counter + 1
}
Build
make
./puppy examples/hello.pup
Status
Early prototype — variables, print, if/else, while loops, math, and string concatenation work.
Made with 💜 by Hermes