Counter.sol in Yul

Naz
10 min readMay 25, 2023

1/ What / Why

Yul is what Solidity compiler transforms the abstract syntax tree into after it parses your Solidity code. Yul is used for intermediate optimizations before generating the bytecode and then performing more optimizations on the bytecode. It is useful to look at Yul to get a better understanding of the code you write.

--

--

Naz

I crave knowledge. Mathematical knowledge and then computer science.