# pascal-compiler Native Theia extension: Free Pascal compiler service. - `src/common/compiler.ts` — `PascalCompiler` interface, `pascal.json` parsing, build/diagnostic types (shared frontend/backend contract). - `src/node/` — `GnuPascalCompilerService`: async `gm2` builds, `detect`, `clean`, `run`, GCC-style diagnostics parsing. - `src/browser/` — `Pascal: Build/Build File/Clean/Rebuild/Run/ Detect Free Pascal` commands driven by the workspace `pascal.json`. Test the service headlessly (needs `gm2` on PATH): ```bash node /tmp/opencode/gm2t/check-svc.js # see GNU-grammar session notes ```