Skip to content

ValeLang/Vale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6fb9832 · May 14, 2024
Apr 26, 2023
Mar 15, 2024
Mar 15, 2024
May 14, 2024
Mar 15, 2024
Jun 19, 2023
Apr 8, 2024
Mar 15, 2024
Jul 13, 2023
Apr 22, 2023
Jun 28, 2020
Aug 29, 2023
Jul 9, 2020
May 14, 2024
Apr 13, 2022
Nov 22, 2022
Sep 29, 2022

Repository files navigation

Vale

Vale is a programming language that's aims to be not only fast and memory-safe, but also easy and flexible.

See http://vale.dev/ for more information on the language, and see our treasure trove of working examples, grouped by functionality.

Building a Vale Program

  1. Download the latest binary from https://github.com/ValeLang/Vale/releases
  2. Unzip it into, for example, ~/Vale, and cd into it.
  3. Make a file hello.vale containing some vale code, like exported func main() { println("Hello world!"); }
  4. Compile a program: ./valec build mymod=hello.vale --output_dir target
  5. Run the program: target/main, and you should see the output Hello world!

Learning Vale

See the Guide for how to use Vale.

Building the compiler itself

For instructions for building the compiler itself, see Building the Compiler.

For an overview of the project structure, see Compiler Overview.

Editor plugins

Thank you to all of our sponsors!

Notes

Vale started in January 2013, and back then we called it "VLang", though there's now another language with that name. We then called it GelLLVM, in honor of Gel, the first language to offer constraint references. Since then, we've settled on the name "Vale". Note that Vale and Vala are two different languages.