1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-30 05:42:26 +03:00
juvix/tests/Reg/positive/test005.jvr
Łukasz Czajka ed15e57d8a
JuvixReg parser and pretty printer (#2617)
* Closes #2578 
* Implements JuvixReg parser and pretty printer.
* Adds the `juvix dev reg read file.jvr` command.
* Adds the `reg` target to the `compile` commands.
* Adds tests for the JuvixReg parser.
2024-02-09 12:19:29 +01:00

22 lines
267 B
Plaintext

function main() : *;
function main() : * {
tmp[0] = 1;
trace tmp[0];
tmp[1] = 2;
trace tmp[1];
trace tmp[1];
tmp[2] = "seven";
trace tmp[2];
nop;
nop;
nop;
tmp[0] = unit;
trace tmp[0];
nop;
tmp[0] = void;
trace tmp[0];
ret tmp[0];
}