Skip to content

Add deployment, implements, system to reserved words - #1197

Merged
bocchino merged 1 commit into
nasa:mainfrom
djbyrne17:djbyrne17_spec_keywords
Nov 30, 2026
Merged

bocchino merged 1 commit into
nasa:mainfrom
djbyrne17:djbyrne17_spec_keywords

Conversation

@djbyrne17

Copy link
Copy Markdown
Contributor

Fixes #1194.

The "Reserved Words" section of the spec did not list deployment, implements or system.
The lexer reserves all three (keywords in compiler/lib/src/main/scala/syntax/Lexer.scala).
Other sections of the spec use them in the grammar.

Changes:

  • docs/spec/Lexical-Elements.adoc: add the three words to the list, in sort order.
  • docs/fpp-spec.html: regenerated with redo fpp-spec.html in docs/spec, then copied to docs/.
    The diff has only the three words and the "Last updated" line.

Check: the sorted list in the spec is now identical to the sorted keys of the lexer's
keywords table. The three words are already in docs/code-prettify/run_prettify.js, editors/vim/fpp.vim and editors/emacs/fpp-mode.el.

Co-authored by Claude Opus 5.5

@bocchino bocchino left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@bocchino
bocchino merged commit 55fe3cc into nasa:main Nov 30, 2026
14 checks passed
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.

Add missing keywords to spec

2 participants