{"library":"transpiler-solidity","type":"library","category":null,"description":"A Node.js-based transpiler that adds GCC-like macro and helper functions to Solidity assembly code, enabling cleaner pointer arithmetic, struct attribute access, byte offsets, and data packing/unpacking directly in inline assembly blocks. Current stable version is 1.1.2. Development appears low-activity, with no recent releases after v1.1.0. It differentiates by providing C-style macros (#define TRANSPILE) that expand to optimized Solidity assembly, reducing manual storage slot calculations. Requires gcc and Node.js. Not widely adopted, and likely only useful for advanced Ethereum developers working with low-level storage optimizations.","language":"javascript","status":"active","version":"1.1.2","tags":["javascript","transpiler","solidity","assmbly","ethereum"],"last_verified":"Fri May 01","install":[{"cmd":"npm install transpiler-solidity","imports":["import transpilerSolidity from 'transpiler-solidity'","// Used in .sol files with #define TRANSPILE, not a JS import","Place #define TRANSPILE at top of .sol file to enable macro processing"]},{"cmd":"yarn add transpiler-solidity","imports":[]},{"cmd":"pnpm add transpiler-solidity","imports":[]}],"homepage":null,"github":"https://github.com/sambacha/transpiler-solidity","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/transpiler-solidity","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}