The ViviFire Programming Language
ViviFire is a brand new open-source programming language with modern features and a familiar syntax. It offers object-oriented programming with genericity and traits, modularity, units of measure, and more.
Currently, ViviFire is at an alpha stage of development. The language is still evolving, and may change dramatically before it's done. If you are interested in how a language is created, join us and help make it great!
ViviFire is released under the MIT license.
Example programs
Hello World
Program Hello
Require ViviFire.IO
PrintLine "Hello, world!"
Generic Function
Program Generic
Require ViviFire.Units
Function add[T](a As T, b As T) As T
Return a + b
End
Var x = add(2, 3) ' 5
Var y = add(2!, 3!) ' 5.0
Var z = add(2cm, 3mm) ' 0.023 meters
Examples in the manual
Downloads and repository
- 61KB – Updated 22 January 2023
- Parser demo and example code.
- Requires Windows 7 SP2 or later. Have a problem?
Download ViviFire source code (ZIP)
- 74KB – Updated 22 January 2023
- Source code for the compiler, mostly in C++.