Skip to content
/ shiba Public

shiba is a programming language plain like Python, modern like Go/Rust.

Notifications You must be signed in to change notification settings

hidetatz/shiba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. Download the latest shiba release from GitHub Release
  2. tar zxf ./shibaX.X.X.linux_amd64.tar.gz
  3. ./shiba main.sb
  4. ./shiba for REPL
  5. ./shiba -h for help

Author: @hidetatz

TODO (@hidetatz):

  • error handling
  • easy and simple concurrency like Go
  • formatter
  • package manager

About

shiba is a programming language plain like Python, modern like Go/Rust.

Resources

Stars

Watchers

Forks