nilang 0.4.1

A scripting language interpreter for Advent of Code
Documentation
OPT=true
%%%%

print("is something wrong?");

if read == "no" {
  print("Good.");
  return;
}

print("can you do something about it?");

if read == "no" {
  print("Don't worry about it.");
} else {
  print("Do something about it");
}

%%%%

=== FN 0 START ===
LOC  1, 0
OUT  1
READ 2
LOC  1, 1
EQ   1, 2, 1
JNT  4, 1
LOC  1, 2
OUT  1
RTN  0
LOC  0, 3
OUT  0
READ 1
LOC  0, 1
EQ   0, 1, 0
JNT  5, 0
LOC  0, 4
OUT  0
LDN  0
RTN  0
LOC  0, 5
OUT  0
LDN  0
RTN  0
=== END ===