File: README.md

package info (click to toggle)
moarvm 2020.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 18,652 kB
  • sloc: ansic: 268,178; perl: 8,186; python: 1,316; makefile: 768; sh: 287
file content (11 lines) | stat: -rw-r--r-- 491 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
## MAST Libraries (written in NQP)

MAST stands for Moar Abstract Syntax Tree, and is akin to the other NQP
backends' VM-specific AST systems (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.