Provisional API: This reference documents current compiler behavior. Compatibility is not yet promised.
src/editor.x
One-request semantic editor adapter.
Functions
| Function | Summary |
|---|---|
editor_request | Serves one private editor request after process environment initialization. |
Functions
editor_request
int editor_request(int argc, char **argv)
Serves one private editor request after process environment initialization.
Metadata precedes ordinary compiler arguments after --; source snapshots
and the JSON response use separate files. Returns zero for a written
response and two for a failed request or unsupported configuration.
Source: src/editor.x:157
Design notes
Uses the ordinary compiler frontend and a separate response file so macro output cannot corrupt editor results. Each process owns one request.