Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.34 KB

README.md

File metadata and controls

31 lines (25 loc) · 1.34 KB

Macro-Parser

Have you ever faced the situation in which you have to know the value of a complex macro in C/C++ inside of a project ?
But this macro is defined by so much many other macros and hexadecimal values are used ?
Calculating it manually would take too much time and energy, and you wouldn't be sure of the result.
I have the solution for you: Macro Parser.
Using a few command line you can calculate the value of almost any macro.
This tool is only working on Windows for now, but ports can be easily created.

About the tool

It's a tool I made during my apprenticeship at ST-Microelectronics.
I had to go through very complex macros defined over hundreds of headers.

Features

  • Hexadecimal value conversion
  • Incorrect macro detection
  • Redefined macro detection
  • Customizable options
  • Clear and easy-to-use command line interface
  • Warnings and errors
  • Silent local conditional expression evaluation

How to run for the first time

Go to the release page.
Download the latest stable version.
Double-click on the executable and you're done !

Screenshots

Screenshot1_v2 Screenshot2_v2