Skip to content

fred-r/Macro-Parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A C/C++ macro calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%