Skip to content

Instantly share code, notes, and snippets.

@okram
Last active November 27, 2019 16:10
Show Gist options
  • Save okram/745b1bca39d4e0535134946e6fc992c5 to your computer and use it in GitHub Desktop.
Save okram/745b1bca39d4e0535134946e6fc992c5 to your computer and use it in GitHub Desktop.
mmlang> 5 > 10
==>false
mmlang> int > 10
==>bool <= [gt,10]
mmlang> > 10
==>[gt,10]
mmlang> [is,>10]
==>[is,[gt,10]]
// comma separating opcode from args is currently optional in the parser
mmlang> int[is > 10]
==>int[is,[gt,10]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment