ValeLang/Vale

Compiler for the Vale programming language - http://vale.dev/

2,010

stars

1,054

commits

Scala

primary language

May 14, 2024

updated

vale.dev/
compiler
language
programming-language
systems-programming
vale

README

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.

Contributors

Verdagon

998 commits

DestyNova

19 commits

solstice333

10 commits

Ivo-Balbaert

6 commits

ValeLang/Vale

Compiler for the Vale programming language - http://vale.dev/

2,010

stars

1,054

commits

Scala

primary language

May 14, 2024

updated

vale.dev/
compiler
language
programming-language
systems-programming
vale

README

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.

Contributors

Verdagon

998 commits

DestyNova

19 commits

solstice333

10 commits

Ivo-Balbaert

6 commits

Languages

Scala

54.9%

C++

42.1%

C

2.5%