Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.01 KB

File metadata and controls

31 lines (23 loc) · 1.01 KB

AGENTS.md

This is a preview-stage fastc-core package. The implementation ships inside the fastC v1.0 compiler's built-in prelude — every fastC program can use <module>::* today without installing anything.

This repository becomes installable via fastc add once stage 1.7's vendor-consumption flow ships. Until then, treat the README as the canonical API reference and consume from the prelude.

For agents

  • fastc explain <file>.fc --output-format=json gives you every fn's signature, capabilities, contracts, and doc comments.
  • fastc compile --caps-output=- foo.fc prints the per-function capability surface.
  • The API documented in README.md is the same surface available via the prelude in any fastC v1.0 build.

What NOT to do

  • Don't fabricate Cap* tokens — the compiler rejects them outside mod caps.
  • Don't try to fastc add this repo yet — the consumption flow isn't wired. Use the prelude version.
  • Don't expect API changes — the surface is final for v1.

License

MIT.