Skip to content
项目

关于

Vale 编程语言的编译器 - http://vale.dev/

编程语言与运行时

这些数字如何统计

实测星标增长

24小时
+1
7天
+4
15天
+4
1个月
+5

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

NOTE: Vale is archived and no longer being worked on, but its spirit (and code!) lives on in the new Valen programming language, which is Vale with a new memory safety approach plus Rust interop. See The Golden Spike, and Resurrecting the Vale(n) Programming Language. This repo will always remain up for posterity.

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.

探索相关项目

加载中…