Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mnxn/eon
Eon Programming Language
https://github.com/mnxn/eon
Last synced: 19 days ago
JSON representation
Eon Programming Language
- Host: GitHub
- URL: https://github.com/mnxn/eon
- Owner: mnxn
- License: agpl-3.0
- Created: 2023-04-17T21:46:40.000Z (over 1 year ago)
- Default Branch: trunk
- Last Pushed: 2023-10-18T04:59:19.000Z (about 1 year ago)
- Last Synced: 2024-10-28T16:51:40.205Z (2 months ago)
- Language: OCaml
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`