Skip to content

docs: document 14 new string/list built-ins in reference and spec#65

Merged
escapeboy merged 1 commit into
masterfrom
post1/builtins-docs-63
Apr 30, 2026
Merged

docs: document 14 new string/list built-ins in reference and spec#65
escapeboy merged 1 commit into
masterfrom
post1/builtins-docs-63

Conversation

@escapeboy
Copy link
Copy Markdown
Owner

Summary

  • Adds the 14 built-ins from feat(lang): more string and list built-ins (14 new operations) #63 (opcodes 0x8C–0x99) to the Built-in functions table in docs/reference/ax-language.md: 7 string operations (contains, starts_with, ends_with, to_upper, to_lower, trim, join) and 7 list operations (len, is_empty, head, tail, append, concat, reverse).
  • Adds a new §5a Standard built-in functions section to docs/spec/ax-language-1.0.md with formal type signatures and semantics for all 18 built-ins (4 original + 14 new), grouped as String operations and List operations.
  • Updates the import section in ax-language.md to note that the compiler strips fn main() -> Int stubs from inlined library sources (confirmed in tooling/src/import_resolver.rs).

Test plan

🤖 Generated with Claude Code

@escapeboy escapeboy merged commit 2cf07ce into master Apr 30, 2026
0 of 4 checks passed
@escapeboy escapeboy deleted the post1/builtins-docs-63 branch May 17, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant