Remove legacy JVM-specific file system, shell, and related implementations; migrate to platform-agnostic and common main modules.

This commit is contained in:
2025-08-14 16:04:13 +02:00
parent 63f9a1f928
commit c7552c2a95
133 changed files with 981 additions and 898 deletions

View File

@@ -0,0 +1,23 @@
package mtmc.asm.instructions
import mtmc.asm.Assembler
import mtmc.tokenizer.MTMCToken
class ErrorInstruction(
labels: List<MTMCToken>,
instruction: MTMCToken,
error: String
) : Instruction(
InstructionType.ERROR,
labels,
instruction
) {
init {
addError(instruction, error)
}
override fun genCode(output: ByteArray, assembler: Assembler) {
// do nothing
}
}