Skip to main content
Version: 0.60.1

Embedding Overview

FScript is designed for host applications that embed a scripting language safely.

Embedding workflow

  1. Reference language/runtime packages.
  2. Build a host context.
  3. Register extern functions your scripts can call.
  4. Load scripts (with include resolution if needed).
  5. Resolve exported function signatures.
  6. Execute exported functions and handle results/errors.

NuGet packages

  1. Real-World Embedding (Load, Resolve Type, Execute)
  2. F# Type Provider and Use Cases
  3. Register Extern Functions
  4. Resolver and Includes
  5. Sandbox and Safety