Crate pax_compiler

source ·
Expand description

The Pax Compiler Library

pax-compiler is a collection of utilities to facilitate compiling Pax templates into Rust code.

This library is structured into several modules, each providing different functionality:

  • building: Core structures and functions related to building management.
  • utilities: Helper functions and common routines used across the library.





  • For the specified file path or current working directory, first compile Pax project, then run it with a patched build of the chassis appropriate for the specified platform See: pax-compiler-sequence-diagram.png
  • Clean all .pax temp files
  • Executes a shell command to run the feature-flagged parser at the specified path Returns an output object containing bytestreams of stdout/stderr as well as an exit code