Syntax Reference

BigC uses a unique "Grammar" to separate actions, destinations, and values.

1. Variables

In BigC, variables are created simply by assigning a value to a name. You do not need to declare types.

Assignment

Rules


2. String Interpolation

Use the $ symbol to inject variables into text.

Variable Interpolation (The Warp)

Standard assignment (Name = "Val") creates literal strings. To inject variables into a new variable, use get warp.


3. The Type System (Automatic Coercion)

BigC is designed to be "Textbook Simple," so it handles most type conversions automatically.

String to Number

When you use a string variable in a math operation (get, if, etc.), the engine automatically attempts to parse it as a number.

Example:

X = "10"
Y = 5
get X Y + & set as {Result}
# Result is 15

Implicit Conversion Hacks

While BigC doesn't require explicit "cast" commands, you can force a type change using these patterns:


4. The Grammar Symbols

& (The Connector)

The & symbol is the bridge between a Cause and an Effect. It allows you to chain multiple commands or conditions on a single line.

{} (The Container)

Wraps an output variable name. This tells the engine: "Put the result inside this box."

@ (The Target)

Points to a destination, such as a physical file, a Data Map, or a search source.