Skip to content

docs: add appendix for Operators & Symbols (closes #4931) - #7725

Open
wrvnnull wants to merge 2 commits into
FuelLabs:masterfrom
wrvnnull:docs/operators-symbols-appendix
Open

docs: add appendix for Operators & Symbols (closes #4931)#7725
wrvnnull wants to merge 2 commits into
FuelLabs:masterfrom
wrvnnull:docs/operators-symbols-appendix

Conversation

@wrvnnull

Copy link
Copy Markdown

Summary

Resolves #4931 by adding an Appendix: Operators & Symbols to the Sway Book reference section.

The appendix is a quick-reference table of arithmetic, comparison, logical, bitwise, and assignment operators plus common symbolic tokens (::, ->, =>, @, .., etc.), complementing the existing Keywords page.

Changes

  • docs/book/src/reference/appendix_operators_symbols.md - the appendix
  • docs/book/src/reference/index.md - link it
  • docs/book/src/SUMMARY.md - register under Sway Reference

Test plan

  • mdbook-compatible markdown
  • Linked from index + SUMMARY

@wrvnnull
wrvnnull requested review from a team as code owners August 27, 2026 16:39
@fuel-cla-bot

fuel-cla-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown

Thanks for the contribution! Unfortunately we can't verify the commit author(s): wrvnnull <i***@e***.com>. One possible solution is to add that email to your GitHub account. Alternatively you can change your commits to another email and force push the change. After getting your commits associated with your GitHub account, sign the Fuel Labs Contributor License Agreement and this Pull Request will be revalidated.

@cursor

cursor Bot commented Aug 27, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Documentation-only changes to the mdbook; no compiler, runtime, or API behavior is affected.

Overview
Adds a new Appendix: Operators & Symbols reference page with tabular quick-reference for arithmetic, comparison, logical, bitwise, and assignment operators, plus symbolic tokens (::, ->, =>, @, ranges, ?, etc.) and compound literals ([], (), {}).

The page is wired into the Sway Book via Sway Reference in SUMMARY.md and a new bullet on reference/index.md, alongside the existing Keywords appendix.

Reviewed by Cursor Bugbot for commit d14005c. Bugbot is set up for automated code reviews on this repo. Configure here.

Add a quick-reference appendix listing arithmetic, comparison, logical,
bitwise, assignment operators and symbolic tokens, linked from the
Sway Reference index and SUMMARY.
@wrvnnull
wrvnnull force-pushed the docs/operators-symbols-appendix branch 2 times, most recently from 5b57fa2 to a700652 Compare August 27, 2026 16:45
@wrvnnull

Copy link
Copy Markdown
Author

Re-triggering CLA check after signing the Fuel Labs Contributor License Agreement. Thanks!

@wrvnnull
wrvnnull deployed to fuel-sway-bot August 28, 2026 13:48 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add appendix to the Sway book: Operators & Symbols

2 participants