A feline-friendly esoteric programming language where every command sounds like a cat! Perfect for learning programming concepts in a fun, approachable way.
- ๐ฑ Cat-themed commands: Every instruction sounds like a cat sound or behavior
- ๐ Educational: Great for learning programming concepts like loops, memory management, and algorithms
- ๐ฎ Interactive: Try it online in the web playground
- ๐ง Easy to install: Simple pip installation
- ๐ Well documented: Comprehensive documentation and examples
pip install meowlang# Run a .meow file
meow hello.meow
# Execute code directly
meow -c "meow meow meow purr"from meowlang import MeowInterpreter
interpreter = MeowInterpreter()
result = interpreter.run('meow meow meow purr')
print(result) # Output: 3| Command | Description | Brainfuck Equivalent |
|---|---|---|
meow |
Increment current cell | + |
hiss |
Decrement current cell | - |
purr |
Output current cell | . |
mew |
Input to current cell | , |
left |
Move pointer left | < |
right |
Move pointer right | > |
yowl |
Start loop | [ |
paw |
End loop | ] |
nap |
No operation | N/A |
๐พ |
Comment | N/A |
| Command | Description |
|---|---|
scratch |
Set current cell to 0 |
lick |
Multiply current cell by 2 |
stretch |
Set current cell to absolute value |
zoomies |
Square the current cell |
groom |
Sort memory array |
sleep |
Sleep for memory value milliseconds |
chase |
Generate random number (0-9) |
chase <min> <max> |
Generate random number in range |
pounce <line> |
Jump to line number |
knead |
Add current and next cell |
scratchout |
Subtract next from current cell |
pounceon |
Multiply current and next cell |
hairball |
Integer divide current by next cell |
pawprint |
Modulo current by next cell |
catnip |
Power: current to the power of next |
hissfit |
Negate current cell |
puffup |
Increment next cell |
shrinktail |
Decrement next cell |
scaredycat |
Set next cell to 0 |
๐พ Hello World in MeowLang
meow meow meow meow meow meow meow meow meow meow ๐พ Set cell 0 to 10
yowl ๐พ Start loop
meow meow meow meow meow meow meow meow meow meow ๐พ Add 10 to cell 0
right ๐พ Move to cell 1
meow meow meow meow meow meow meow meow meow meow ๐พ Set cell 1 to 10
left ๐พ Back to cell 0
hiss ๐พ Decrement cell 0
paw ๐พ End loop
right ๐พ Move to cell 1
purr ๐พ Output cell 1 (should be 10)
๐พ Add two numbers
mew ๐พ Get first number
right ๐พ Move to next cell
mew ๐พ Get second number
left ๐พ Back to first cell
knead ๐พ Add cells together
left ๐พ Move to result cell
purr ๐พ Output result
๐พ Generate Fibonacci numbers
meow meow meow meow meow meow meow meow meow meow ๐พ Set counter to 10
yowl ๐พ Start loop
right ๐พ Move to next cell
meow meow meow meow meow meow meow meow meow meow ๐พ Set to 10
right ๐พ Move to next cell
meow meow meow meow meow meow meow meow meow meow ๐พ Set to 10
left left ๐พ Back to counter
hiss ๐พ Decrement counter
paw ๐พ End loop
right ๐พ Move to first number
purr ๐พ Output first number
right ๐พ Move to second number
purr ๐พ Output second number
Try MeowLang online at the web playground!
git clone https://github.com/jaytirthjoshi/meow.git
cd meow
pip install -e .
pip install -e ".[dev,web]"pytestcd demo
python app.pyThen visit http://localhost:5000
meow/
โโโ meowlang/ # Main package
โ โโโ __init__.py
โ โโโ interpreter.py # Core interpreter
โโโ demo/ # Web demo
โ โโโ app.py # Flask server
โ โโโ templates/ # HTML templates
โ โโโ static/ # CSS/JS assets
โโโ examples/ # Example programs
โโโ tests/ # Test files
โโโ setup.py # Package configuration
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by Brainfuck and other esoteric programming languages
- Built with โค๏ธ and lots of cat puns
- Special thanks to all the cats who provided inspiration
๐ฑ MeowLang - Where programming meets purrfection! ๐ฑ