<feed xmlns='http://www.w3.org/2005/Atom'>
<title>moon/zygotec/tests/programs/void_main.zc, branch work/prover</title>
<subtitle> work-in-progress programming language.
</subtitle>
<id>https://git.downsta.ir/moon/zygotec/atom?h=work%2Fprover</id>
<link rel='self' href='https://git.downsta.ir/moon/zygotec/atom?h=work%2Fprover'/>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/'/>
<updated>2026-10-14T10:38:17+00:00</updated>
<entry>
<title>fix std hover, full capture terminator, bare static calls, void main in run-only images</title>
<updated>2026-10-14T10:38:17+00:00</updated>
<author>
<name>zinc</name>
<email>zinc@downsta.ir</email>
</author>
<published>2026-10-14T10:38:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.downsta.ir/moon/zygotec/commit/?id=93340f97dce404a008f489729df144ace53528ab'/>
<id>urn:sha1:93340f97dce404a008f489729df144ace53528ab</id>
<content type='text'>
- hover: a symbol from an embedded library source (tinyvm:std.zc, tinyvm:icon.zc) was
  looked up only in the document; look it up by its qualified name in the library source
  (hover_embedded_sym), and render a method found that way by its line (bs_hover).
- std.capture: allocate one word more than the 256 it holds, so end() terminates inside the buffer.
- a bare call to a static function of the enclosing struct resolves like a bare struct constant
  (mstruct is set for every non-generic struct's methods); the struct's own wins over a global.
- run.zc declares main untyped (fn main();), so a run-only image accepts int, void or untyped main
  with both compilers.
</content>
</entry>
</feed>
