An amalgamation of our favourite programming language traits
See misc/proposal.md for more details
Code samples for common Viper programs may be found under examples/
Viper runs integration tests in order to ensure that nothing's horribly broken.
./runtests.shfor a general overview of LLVM tests./runtests.sh -t astfor tests that specifically check AST generation./runtests.sh -v 1for verbose outputs
- Create a new test case in
test/tests - Create a corresponding output file in
test/testsas well. For example, if your case istesto.vp, your output file for the same would betesto.vp.out - If these steps are correctly implemented, then
runtests.shshould pick your test and the output case up, and compare the two. Empty outputs are permitted, and are represented by an empty.outfile.