A helping paw

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 & sources
Based 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

  1. 1
    Preprocess to a new file

    Use the Aibnet-distributed CPP tool and keep its output separate from the original source.

  2. 2
    Compile the intermediate file

    Pass the result to ReCode, retaining line information for meaningful diagnostics.

Starter controls (2)

Developer / scripting

InputWhat 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.

Image credits