Menu

dkcpre

Dirk Krause
← Previous ↑ Home → Next

dkcpre — Debugging and tracing preprocessor for C / C++

Description

The dkcpre program processes *.ctr, *.cpt, *.mtr and *.jtr input files and creates *.c, *.cpp, *.m (Objective C) and *.java files.
It also writes *.h files if an appropriate section is found in the source file.

For *.wxc files the program produces *.cpp and *.h files, *.wxc files contain GUI descriptions for programs using the wxWidgets library set.

The program serves the following purposes:

  • Debugging / tracing
    The sources can contain debug instructions in a special notation. These instructions are ignored when producing release output and converted to code writing debug/trace messages when producing debug output.
     
  • State machine code generation
    A state machine can be specified as lookup table, this table is converted into C functions to reset the state machine and to process one input.
     
  • GUI layout code generation
    *.wxc sources can contain a wx-gui section describing a GUI in a simple syntax. C++ source code using the wxWidgets library to build the GUI is generated.

Manual

See the [dkcpre manual] for the full documentation of the program.


← Previous ↑ Home → Next

Related

Wiki: Home
Wiki: dkcpre manual