Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leonardoalt/sol-macros


https://github.com/leonardoalt/sol-macros

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

        

# sol-macros

How to use C macros and the C preprocessor to write Solidity macros and
generics.

## Build

Instead of `forge build`, run `./build.sh`. This runs the C preprocessor on the
Solidity template file, formats it, and runs `forge build`.

## Tests

Run `forge test`.

## Dependencies

Foundry and GCC.