Syntax Reference
🚧 Under Construction
This page is actively being written. Content may be incomplete or change.Runestaff is a human-friendly assembler and dissassembler that targets the JVM. It reads .rns source files and produces Java bytecode (.class files).
This section covers the syntax of the Runestaff assembly language.
Sections
Section titled “Sections”| Page | Description |
|---|---|
| Runestaff Types | Primitive types, reference types, arrays, and JVM type descriptors |
| Directives | Assembler directives — .class, .method, .field, .end, etc. |
| Instructions | JVM instruction mnemonics supported by Runestaff |
Basic Structure
Section titled “Basic Structure”A Runestaff source file is made up of a class definition followed by member definition (fields and methods).
TODO
Comments
Section titled “Comments”Single-line comments start with a semicolon (;):
; This is a commentldc 42 ; inline comment