📜
PaperScript Docs
  • Welcome to PaperScript
  • Quick Start Guide
  • Syntax Reference
  • Feature Matrix
  • Feature Deep Dive
  • VSCode Extension
  • The Preprocessor
  • The project.yaml File
  • PaperScript CLI
    • Installing
    • Usage
  • Fallout 4 Support
  • Proposals
    • Naive Optimizations
  • Miscellaneous
    • Complete Example Scripts
Powered by GitBook
On this page
Edit on GitHub
Export as PDF

Feature Matrix

PreviousSyntax ReferenceNextFeature Deep Dive

Last updated 2 days ago

Feature
Status
Description
Proposed Syntax

Full Properties (v1.0.2-alpha.1)

Currently, only auto properties are supported. We need to also add support for defining full properties with a getter and a setter.

AutoReadOnly Properties (v1.0.2-alpha.1)

Add support for AutoReadOnly

Conditional Properties (v1.0.2-alpha.1)

Add support for Conditional

Various Naive Optimizations

See

Script Flags (v1.0.2-alpha.1)

Hidden / Conditional

hidden script ... conditional script ...

Variable Flags (v1.0.2-alpha.1)

Conditional

conditional someBool: Bool = true

Function Flags (v1.0.2-alpha.1)

Native, Global

native def abc()... global def abc()...

Ternary Operator (?:)

Add support for the ternary operator

num: Int = condition? val1 : val2

String Formatting

Add support for string formatting (probably for V2)

"{} {}".format(val1, val2)

property PlayerREF: Actor {
    get { // ... }
    set { // ... }
}
auto readonly property PlayerREF: Actor
auto conditional property PlayerREF: Actor
Naive Optimizations