Skip to content

Library API and, optionally, Maven Central #40

Description

@paulhoadley

The README suggests using PAL as a compiler-course target; a course's own test suite would want to run programs in-process rather than shelling out.

After #25 and #35:

  • Public API: Program Loader.load(Reader source, String name), ExitStatus Machine.run(Program, InputStream, PrintStream, PrintStream), plus read access to the final stack for assertions.
  • Decide on a module descriptor (module net.logicsquad.pal); it is a single package, so this is cheap.
  • Optionally publish to Maven Central under net.logicsquad:pal and show the dependency snippet in the README.

Effort: L. Priority: P3. From the September 2026 project review (T26).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions