https://github.com/ethe/shiki
A toy language, slow, simple and useless.
https://github.com/ethe/shiki
Last synced: 11 months ago
JSON representation
A toy language, slow, simple and useless.
- Host: GitHub
- URL: https://github.com/ethe/shiki
- Owner: ethe
- License: mit
- Created: 2016-10-12T09:36:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-17T18:24:19.000Z (over 9 years ago)
- Last Synced: 2025-05-02T08:45:38.911Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 39.1 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shiki (式)
==========================
[](https://travis-ci.org/ethe/shiki) [](https://codecov.io/gh/ethe/shiki)
A toy language, slow, simple and useless.
一门简单的、为了学习如何写语言而写的语言。
## Binding
```
let foo = 1
```
## Function and call
```
let a = 1
func foo n do
return + a n
end
foo 2
```
## Tail call optimization
```
func foo do
return bar
end
func bar do
return foo
end
foo
```