Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Abstract syntax tree
- rtstatement *s1 = new rtstatement;
- s1->append(new rtstring("io"), NULL);
- s1->append(new rtstring("print"), NULL);
- rtcall *c1 = new rtcall;
- c1->append(new rtstring("Hello World!!!"), NULL);
- s1->append(c1, NULL);
- //Runtime
- rtscope *natives = nativeModule();
- s1->execute(natives);
Add Comment
Please, Sign In to add comment