---------------------------------------------------------------------- This is the API documentation for the gdtest_ref_explicit library. ---------------------------------------------------------------------- ## Builders Build functions build(target: str) -> None Build the specified target. Parameters ---------- target : str The target to build. Returns ------- None Examples -------- >>> build("main") compile_source(source: str) -> bytes Compile source code into bytes. Parameters ---------- source : str The source code to compile. Returns ------- bytes The compiled bytecode. Examples -------- >>> compile_source("print('hello')") b'...' ## Runners Execution run(cmd: str) -> int Run a shell command and return the exit code. Parameters ---------- cmd : str The command to run. Returns ------- int The exit code of the command. Examples -------- >>> run("echo hello") 0 execute(script: str) -> str Execute a script and return its output. Parameters ---------- script : str The script to execute. Returns ------- str The output of the script execution. Examples -------- >>> execute("print('hi')") 'hi'