Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mnxn/eon

Eon Programming Language
https://github.com/mnxn/eon

Last synced: 19 days ago
JSON representation

Eon Programming Language

Awesome Lists containing this project

README

        

# The Eon Programming Language

```
func main(): string = "Hello, World!"
```

## Usage

Run a program:

- `eon `
- `eon run `

Evaluate an expression:

- `eon eval `

Parse a program/expression:

- `eon parse `
- `eon parse-expression `
- `eon check-expression `

## Instructions

Install dependencies with [opam](https://opam.ocaml.org/):

- `opam install . --deps-only`

Build with [dune](https://dune.build/):

- `dune build bin/eon.exe`

Run an example from the [examples](./examples/) directory:

- `dune exec bin/eon.exe examples/hello.eon`