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