Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alenvelocity/meowscript
The Purrfect Programming Language
https://github.com/alenvelocity/meowscript
emscripten hacktoberfest interpeter meowscript programming-language rust wasm
Last synced: 2 months ago
JSON representation
The Purrfect Programming Language
- Host: GitHub
- URL: https://github.com/alenvelocity/meowscript
- Owner: AlenVelocity
- Created: 2023-07-19T14:47:12.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-15T07:00:58.000Z (about 1 year ago)
- Last Synced: 2024-11-01T07:51:47.003Z (2 months ago)
- Topics: emscripten, hacktoberfest, interpeter, meowscript, programming-language, rust, wasm
- Language: Rust
- Homepage: https://meow.alen.fyi
- Size: 814 KB
- Stars: 47
- Watchers: 1
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/funding.yml
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Meowscript 🐾
Meowscript is an simple interpurrter inspired buy our feline friendsTry it out [here](https://meowscript.vercel.app/)
## Features
- **Cat inspired keywords**: Meowscript replaces traditional programming keywords with cat-related terms. Like `purrhaps`, `pawction`, `hiss` ect. (Bonus points if you can guess what these ones do)
- **Paw-some syntax**: Meowscript's syntax is not really designed to be easy to read. But it's fun.. I guess
- **Adorable standard library**: Meowscript comes with a standard library filled with cat-themed functions and utilities. From `scratch` to `meow`, the standard library adds makes your coding experience much cuter
## Running LocallyTo get started with Meowscript, follow these steps:
1. **Installation**: Clone the repository
```bash
git clone https://github.com/AlenVelocity/MeowScript
cd MeowScript
```2. **Writing Meowscript Code**: Create a new file with the `.ms` extension and start writing your cueteejnjeejnfkjnwdwnfnqf Meowscript code.
```rust
scratch main = pawction () {
scratch x = 10;
scratch y = 5;purrhaps (x > y) {
meow("Meow! x is greater than y!");
} meowtually {
meow("Meow! x is not greater than y!");
}
};main();
```3. **Running Meowscript Code**: For now you have to build your own binary or use cargo to run MeowScript
```
cargo run run your_file.meow
```> There are 2 'run's 'cause 1st "run" is required by cargo and the 2nd one is for the built binary. This will make much more sense in the future
You can also try the REPL by just running:
```
cargo run
```---
The main purpose of this project was for me to learn/understand rust better so it's not had to see some inconsistencies with my code. Feel free to conttibute and make MeowScript more purrfect