MaddLang Silver Standard

This document specifies the silver profile, which is interpreted in memory and intentionally excludes file access.

1. File Roles

2. Required Runtime Behavior

3. Source Rules

4. Compile-Time Directives

Silver supports the same preprocessor directives as gold.

DirectiveMeaning
$(name: value)Set a compile-time value.
$(define: name = value)Define an expanded alias.
$(if expr)Start a conditional block.
$(else)Switch to the alternate branch.
$(endif)Close the conditional block.

5. Silver Condition Rules

6. Silver Runtime Restrictions

7. Common Runtime Model

8. Expression Precedence

Silver uses the same precedence model as gold for arithmetic expressions.

9. Function Parameters

10. Example

$(std: silver)
$(if std == silver)
string message = "silver runtime"
print(message)
$(endif)

Silver is a portable, interpreted profile. Its implementation should favor correctness and stable runtime behavior over source-to-bytecode persistence.