kyleect / locks

A toy language branched from Lox to learn language implementation and tooling. Forked from loxcraft
https://kyleect.github.io/locks/#/docs
MIT License
0 stars 0 forks source link

Numbers: Truthy/falsy values #63

Open kyleect opened 10 months ago

kyleect commented 10 months ago

Expected

if (0) {
  print "Zero is truthy";
} else {
  print "Zero is falsy"; // out: Zero is fasly
}

Actual

if (0) {
  print "Zero is truthy"; // out: Zero is truthy
} else {
  print "Zero is falsy";
}