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.

Modules§

design_server
helpers

Structs§

CreateContext
RunContext

Enums§

RunTarget

Functions§

perform_build
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
perform_clean
Clean all .pax temp files
perform_create
perform_eject
Ejects the interface files for the specified target platform Interface files will then be used to build the project
run_parser_binary
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