https://github.com/marcopacini/maki
Yet another program language with a name inspired by my cat
https://github.com/marcopacini/maki
golang maki programming-language
Last synced: 3 months ago
JSON representation
Yet another program language with a name inspired by my cat
- Host: GitHub
- URL: https://github.com/marcopacini/maki
- Owner: marcopacini
- License: mit
- Created: 2019-12-11T09:54:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-18T13:20:57.000Z (over 4 years ago)
- Last Synced: 2025-05-31T22:06:27.658Z (8 months ago)
- Topics: golang, maki, programming-language
- Language: Go
- Homepage:
- Size: 146 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Maki
maki-lang or just Maki is a programming language built for **fun** completely written in Go. It is not **absolutely**
production ready and ~~probably~~ will never be.
```
fun hello(name) {
print "Meowww, " + name + "!"
}
hello("World") // print Meowww, World!
```
Maki ~~was written~~ is being written keeping in mind that is should be easy to read. So the implementation choices
are very affected by KISS principle.
## Run
###### Build
```
go build
```
###### REPL
```
./maki
```
###### File
```
./maki program.maki
```
## To Do
- foreach syntax
- Closure
- Class
- Module
#### Nice to have
- `switch` statement
- `break` statement
- `continue` statement
## Credits
This project owe much indeed to @munificient's book: Crafting Interpreters. In fact Maki is deeply inspired by Lox.