Sitelet https://github.com/Psychpsyo/Galaxy-Engine/blob/main/docs/cdfScript/cdfScriptOverview.md
Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 894 Bytes

File metadata and controls

23 lines (18 loc) · 894 Bytes

CDF Script Overview

CDF Script (stylized: cdfScript) is the scripting language used to describe card behavior.

It is strongly typed, although types for variables and expressions are always inferred so they aren't actually visible when writing the language.

Control Flow

CdfScript is either evaluated as single expressions or as a contiguous script flow

Expressions

Card description files often require standalone cdfScript expressions.
Such expressions are made up of

Language Features

The following is an index of all language features in cdfScript, linking to their explanations: