Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twisterghost/taiga
A toy programming language written in Crystal
https://github.com/twisterghost/taiga
Last synced: 4 days ago
JSON representation
A toy programming language written in Crystal
- Host: GitHub
- URL: https://github.com/twisterghost/taiga
- Owner: twisterghost
- License: mit
- Created: 2017-10-24T03:12:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-26T19:40:36.000Z (almost 7 years ago)
- Last Synced: 2024-11-11T11:53:16.472Z (2 months ago)
- Language: Crystal
- Homepage:
- Size: 520 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![](https://s3-us-west-2.amazonaws.com/mjb-personal/logo.jpg)
# Taiga Lang
Taiga is an experimental programming language that forces code to be thought of as simply as possible.
Taiga is functional in nature, with an iterative style syntax. In every expression, the variable `_` will contain the previously computed value, creating streams of values through lines.
Each line can only contain one command followed by its arguments.
```taiga
rout fib n
eq n 1
if _ return 1eq n 0
if _ return 0sub n 1
fib _
let past1 _sub n 2
fib _
let past2 _add past1 past2
endroutfib 10
print _
# Prints 55