Open chfast opened 9 months ago
Enhance the bytecode utility (from bytecode.hpp.
bytecode
### Tasks - [ ] Rethink syntax (see below) - [ ] Use S-expressions? - [ ] Add support for jump labels - [ ] Add support for user-defined macros - [ ] Add support for user-defined functions
mstore(0, add(mload(0), 1)) + revert(0, msize());
mstore(0, add(mload(0), 1)).revert(0, msize());
{ mstore(0, add(mload(0), 1)); revert(0, msize()); }
bytecode{ mstore(0, add(mload(0), 1)), revert(0, msize()), };
Some inspirations:
Enhance the
bytecode
utility (from bytecode.hpp.Syntax
Concatenation (current)
Dot
Inheritance
Aggregate initialization