aver-lang 0.17.0

VM and transpiler for Aver, a statically-typed language designed for AI-assisted development
Documentation
1
2
3
4
5
6
7
8
9
;; Reset $heap_ptr back to a previously-saved boundary mark. Used by
;; the per-call frame compaction: caller saves heap_ptr on entry, on
;; return we drop everything allocated since.

(func $rt_truncate (param $mark i32)
  local.get $mark
  global.set $heap_ptr
)
(export "rt_truncate" (func $rt_truncate))