ether

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL