/Vale_Examples

Working examples in the Vale programming language

Primary LanguageBatchfile

This site contains working programs written in the Vale programming language.

It has mainly an educational purpose: to help people learn the Vale language by showing correct syntax and working programs.

The programs compile and run in the current version 0.1.2 (2021 May 7). They will be kept uptodate which each new Vale version.

The programs are stored in folders according to their specific Vale characteristics. Each folder contains a .md file with more explanations on each program.

Using VSCode as your editor, here is a simple syntax highlighter.

To compile a program: python pathto/valec.py build program.vale

To run a program: main (on Windows) or ./a.out (on Linux)

The output of a program is shown in comments after: // =>

All improvements or contributions welcome!

Sources: