/dove

The interpreter for a fast, minimal, and elegant programming language 🕊️.

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Dove logo

A fast, minimal, and elegant programming language. 🕊️

This is the main source code repository for the Dove Programming Language (try it online). It contains the interpreter and standard library.

Contents 📦

  1. Hello World
  2. Documentation
  3. Usage
    1. Online Playground
    2. Linux
    3. Windows
  4. License

Hello World 👋 🌎

Dove:

for name in ("foo", "bar") {
    print "Hello! " + name
}

Output:

"Hello! foo"
"Hello! bar"

Documentation 📝

Take a look at the Dove docs → https://dove-lang.github.io/docs/

Usage 🏃

To start using Dove, please follow these steps:

Online Playground

Visit → https://dove-lang.com/playground.

Linux

  1. Install the Dove interpreter binary → v0.1.2
  2. Navigate to the file directory.
cd [DIRECTORY]
  1. Run the REPL, or run a dove file directly.
# Run REPL
dove

# Run file
dove example.dove

Windows

  1. Install the Dove interpreter binary → v0.1.2

  2. Navigate to the file directory.

cd [DIRECTORY]
  1. Run the REPL, or run a dove file directly.
# Run REPL
dove.exe

# Run file
dove.exe example.dove

License

GPL-3.0 © Eric Hua, Peter Ke