CPP for R-CODE — Setup & Usage
CPP for R-CODE
The preprocessor distributed with Aibnet expands macros and includes before R-CODE checking or compilation.
CPP for R-CODE: versions, requirements & sourcesBased on the linked documentation; not yet tested on Logan’s robot. This is a starting guide, not the complete original manual. Reviewed 2026-11-27.
Setup & usage
- Preprocess to a new file
Use the Aibnet-distributed CPP tool and keep its output separate from the original source.
- Compile the intermediate file
Pass the result to ReCode, retaining line information for meaningful diagnostics.
Starter controls (2)
Developer / scripting
| Input | What happens |
|---|---|
On the computer CPP -B example.r intermediate.r | Expands macros and removes supported comments. |
On the computer RECODE intermediate.r | Checks and compiles the intermediate source. |