shiba is a programming language. Aims to be plain like Python, modern like Go/Rust.
Below code works.
import os
fd, errno := os.Open("/home/hidetatz/shiba/main.go")
if errno != 0 {
print("failed to open")
return
}
result, errno := os.Read(fd, 100)
if errno != 0 {
print("failed to read")
return
}
print(result)
For more code example, see tests/.
Installation:
- Download the latest shiba release from GitHub Release
tar zxf ./shibaX.X.X.linux_amd64.tar.gz
./shiba main.sb
./shiba
for REPL./shiba -h
for help
Author: @hidetatz
TODO (@hidetatz):
- error handling
- easy and simple concurrency like Go
- formatter
- package manager