Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Latest commit

 

History

History
60 lines (51 loc) · 1.17 KB

File metadata and controls

60 lines (51 loc) · 1.17 KB

Ether

Go Report Card Test

Ether is a programming language written in Go. The language is inspired by the book Writing An Interpreter In Go

Table of contents


Quick start


$ go get github.com/frederic2ec/ether
$ ether

Usage


$ ether
Usage: ether [options] [<filename>]
  -i    enable interactive mode
  -v    display version information

Variable bindings


#=> $variable = "value"

Arithmetic expressions


#=> $a = 10
#=> $b = 5
#=> (a + b) / 2
25

Conditional expressions


#=> $a = 10
#=> $b = 20
#=> $c = if(b > a): 50 } else: 51 }
#=> c
50

License


This work is licensed under the terms of the GPL-3.0 License.