https://github.com/hatoo/nstrm
Streem like language
https://github.com/hatoo/nstrm
Last synced: about 1 month ago
JSON representation
Streem like language
- Host: GitHub
- URL: https://github.com/hatoo/nstrm
- Owner: hatoo
- Created: 2015-09-06T09:55:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-06T09:58:01.000Z (over 9 years ago)
- Last Synced: 2025-01-28T18:46:13.147Z (3 months ago)
- Language: Go
- Size: 152 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Nstrm
##Example
fizzbuzz
```
seq(100) | {x ->
if x % 15 == 0 {
"FizzBuzz"
}
else if x % 3 == 0 {
"Fizz"
}
else if x % 5 == 0 {
"Buzz"
}
else {
x
}
} | STDOUT
```
chat
```
broadcast = chan()
tcp_server(8008) | { s ->
broadcast | s
s | broadcast
} | null
```
There are more examples in _examples directory.
#Dependencieshttps://github.com/pointlander/peg
#Compile
```
$ make
```