Skip to content

NoraCodes/sbic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbic

sbic is the SBrain Interpreter/Compiler. Currently it only interpretes SBrain programs but will eventually be extended to compile and optimize them.

A program and its input are specified in a toml file, like so:

# A simple program that emits its input as its output
source = ",[.>,]"

# Some input
input = [1, 2, 3, 4, 5, 4, 3, 2, 1]

# If you don't provide a maximum runtime, the program can run forever.
max_runtime = 128

To run, you can either cargo run --release <config file>, or cargo build --release and grab the binary from the target directory.

About

A SBrain Interpreter and Compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages