Skip to content

Simple and small programming language with built-in support for threading.

License

Notifications You must be signed in to change notification settings

zanderlewis/solitude

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solitude

Simple programming language that supports threading.

Table of Contents

Installation

git clone https://github.com/zanderlewis/solitude.git
cd solitude

Usage

cargo run <filename>

Example

var x=5
The value of x is: $x

Syntax

Solitude has very simple syntax. Here is a complete list:

Variables

var x=5

Print

Hello World

var x=5
$x

If

if x>5
x is greater than 5
fi

Functions

func greet
Hello!
cnuf

call greet

Comments

. I am a comment

User Input

. The \x20 is a space character
input x -> Enter a number for x:\x20
$x

Threading

!!
call func1
call func2
??

Features

  • Simple syntax
  • Easy to learn
  • Small codebase
  • Fast
  • Built-in threading
  • Written in Rust

License

Solitude is licensed under the Apache-2.0 license. Please see the LICENSE file for more information.

About

Simple and small programming language with built-in support for threading.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages