Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivo-balbaert/vale_examples
Working examples in the Vale programming language
https://github.com/ivo-balbaert/vale_examples
Last synced: 11 days ago
JSON representation
Working examples in the Vale programming language
- Host: GitHub
- URL: https://github.com/ivo-balbaert/vale_examples
- Owner: Ivo-Balbaert
- Created: 2021-03-04T11:23:13.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-21T18:04:40.000Z (almost 3 years ago)
- Last Synced: 2024-12-25T05:52:14.471Z (12 days ago)
- Language: Batchfile
- Size: 214 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This site contains working programs written in the [Vale programming language](https://vale.dev/).
![](images/logo.png)
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](https://github.com/Ivo-Balbaert/vscode-vale).
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**:
- the [Vale guide](https://vale.dev/guide/introduction) or the [Vale samples](https://github.com/ValeLang/Vale/tree/master/Valestrom/Samples/test/main/resources), sometimes slightly modified under [Apache License 2.0](https://github.com/ValeLang/Vale/blob/master/LICENSE)- a work in progress to make the [programming idioms](https://www.programming-idioms.org/about#about-block-all-idioms) in Vale
- miscellaneous other example programs and contributions