Table of Contents

Class Pl0Compiler

Namespace
Pl0.Core
Assembly
Pl0.Core.dll

Compiles PL/0 source text into P-Code instructions and diagnostics.

public sealed class Pl0Compiler
Inheritance
Pl0Compiler
Inherited Members

Methods

Compile(string, CompilerOptions?)

Compiles a PL/0 source string using the provided options.

public CompilationResult Compile(string source, CompilerOptions? options = null)

Parameters

source string

PL/0 source code to compile.

options CompilerOptions

Optional compiler options; defaults are used when null.

Returns

CompilationResult

The compilation result containing instructions and diagnostics.