Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 18:44
· 5 commits to main since this release
  • Add support for compile-time for-loops (huff-neo v1.5.0)
    • Syntax: for(var in start..end) and for(var in start..end step N)
    • Loop variable interpolation with <var> syntax
  • Add support for new builtin constants and functions (huff-neo v1.5.0)
    • __NOOP builtin constant that generates no bytecode
    • __ASSERT_PC builtin function for compile-time bytecode position assertions
  • Add hover documentation for all builtin functions
    • Documentation appears when hovering over __FUNC_SIG, __EVENT_HASH, __ERROR, __LEFTPAD, __RIGHTPAD, __codesize, __tablestart, __tablesize, __VERBATIM, __BYTES, __ASSERT_PC, __CODECOPY_DYN_ARG
    • Shows function syntax, return values, descriptions, and examples
  • Add syntax highlighting for macro parameter references (<param>)
  • Add clz opcode (Count Leading Zeros) from Osaka upgrade (huff-neo v1.3.10, EIP-7939)
    • Opcode clz with completion, highlighting, and documentation
  • Add missing opcodes to completion and highlighting:
    • push0, sha3, prevrandao, chainid, basefee, selfbalance
    • blobhash, blobbasefee, tload, tstore, mcopy, revert