- intermediate bytecode interpretation
Note
For more information about project you can check the docs for documentation about xvr, and you can check the sample code from code directory
Note
For Windows using (mingw32 & Cygwin), For linux or Unix already support compiler
Build interpreter
# make the interpreter
make inter
# the compilation output
# can check on the /out directory
# including external librarymake test
make inter
proc say_hello(name: string): string {
return "wello " + name;
}
import compound;
proc even(k, v) {
return v % 2 == 0;
}
var data: [int] = [1, 2, 3, 4, 5, 6, 7, 8];
print(data.filter(even));
You can check on tutorial for explore some tutorials.
- Neovim Syntax highlighting for XvrLang: xvrlang-treesitter
- Vscode Syntax highlighting for XvrLang: xvrlang-vscode