view lib/README.md @ 19:073d6fd557dc

adapt C90 for gcc
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 25 Oct 2018 14:40:22 +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.