Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
/ ether Public archive

A modern lightweight programming language written in GO

License

Notifications You must be signed in to change notification settings

frederic2ec/ether

Repository files navigation

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.

About

A modern lightweight programming language written in GO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages