Language Reference
This section focuses exclusively on the syntax and language constructs of Papyrus. This is not an introduction to the language.
Papyrus doesn't have a formal description like Rust, C++ or Python. Information is scattered throughout various sites, as seen in Additional Resources, and the main goal of this section is to unify all of it and provide a clean definition of the language.
How to read this reference
This reference was heavily inspired by the Rust Reference and copies some of its conventions.
-
Warnings that show unsound behavior in the language or possibly confusing interactions of language features are in a special warning box.
Warning: This is bad!
-
Notation for grammar and lexical structures can be found in the Notation page.