Created
August 10, 2016 15:49
-
-
Save zoffixznet/e84f64befeb3ba80dbfe92cc71df9571 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./nqp-m training/compiler-basic --target=mast training/code | |
MAST::Frame name<>, cuuid<18> | |
Local types: 0<str>, 1<obj>, | |
Outer: <none> | |
Instructions: | |
[0] MAST::Op checkarity | |
MAST::IVal value<0>, size<16>, signed<1> | |
MAST::IVal value<0>, size<16>, signed<1> | |
[1] MAST::Op paramnamesused | |
[2] MAST::Annotated: file: training/code, line: 1, instructions: | |
MAST::Op const_s | |
MAST::Local index<0> | |
MAST::SVal value<Hello world> | |
MAST::Op say | |
MAST::Local index<0> | |
[3] MAST::Op return_s | |
MAST::Local index<0> | |
$ cat training/code | ./nqp-m training/compiler-basic --target=mast | |
MAST::Frame name<>, cuuid<18> | |
Local types: 0<str>, 1<obj>, | |
Outer: <none> | |
Instructions: | |
[0] MAST::Op checkarity | |
MAST::IVal value<0>, size<16>, signed<1> | |
MAST::IVal value<0>, size<16>, signed<1> | |
[1] MAST::Op paramnamesused | |
[2] MAST::Annotated: file: training/compiler-basic, line: 1, instructions: | |
MAST::Op const_s | |
MAST::Local index<0> | |
MAST::SVal value<Hello world> | |
MAST::Op say | |
MAST::Local index<0> | |
[3] MAST::Op return_s | |
MAST::Local index<0> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment