Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 666 Bytes

README.md

File metadata and controls

40 lines (23 loc) · 666 Bytes

The Eon Programming Language

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

Usage

Run a program:

  • eon <filename>
  • eon run <filename>

Evaluate an expression:

  • eon eval <filename>

Parse a program/expression:

  • eon parse <filename>
  • eon parse-expression <filename

Typecheck a program/expression:

  • eon check <filename>
  • eon check-expression <filename>

Instructions

Install dependencies with opam:

  • opam install . --deps-only

Build with dune:

  • dune build bin/eon.exe

Run an example from the examples directory:

  • dune exec bin/eon.exe examples/hello.eon