Mercurial > hg > Members > anatofuz > MoarVM
view lib/README.md @ 64:da6d6597bd69 default tip
rollback
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 15 Feb 2019 20:51:54 +0900 |
parents | 2cf249471370 |
children |
line wrap: on
line source
## MAST Libraries (written in NQP) MAST stands for Moar Abstract Syntax Tree, and is akin to the other NQP backends' VM-specific AST systems (PIRT for Parrot VM and JAST for JVM). Nodes.nqp contains the NQP classes that define the AST nodes, which map closely to the various components of MoarVM's bytecode format. Ops.nqp is generated by tools/update_ops.p6 from src/core/oplist. For the bootstrap, it is concatenated with the other MAST-related NQP files to be compiled to a single .moarvm bytecode library.