I now understand at least one benefit of Foundry. Because all of your tests and scripts are in Solidity, it actually helps you learn a lot more of the details of the language and how the EVM works.
💯 less context switching between languages gives me so much more focus. feels like my brain moves closer to the EVM
You might like this: https://github.com/maurelian/solidity-sandbox It’s meant to facilitate the kind of experimentation you describe.
downside: there are a lot of transactions I need to convert to Typescript ultimately, and this requires me doing some work twice.
but also... the tests are soooo fast :D Having a fast implementation -> validation cycle is something I missed the whole time I was using a typescript testing harness.