1. 1. Introduction
    1. 1.1. What is main?
    2. 1.2. Filenames
    3. 1.3. What problems does this cause?
  2. 2. What's different about WebAssembly?
    1. 2.1. Is WebAssembly Assembly?
    2. 2.2. WebAssembly has a static type system
    3. 2.3. Types
    4. 2.4. Signatures
    5. 2.5. Command-line usage
    6. 2.6. Putting it all together
  3. 3. Compatibility with existing code
    1. 3.1. Option A: Out of the box
    2. 3.2. Option B: Provide a witx description
    3. 3.3. Option C: Typed Main in the source language
    4. 3.4. Nameless
  4. 4. Wrap up
    1. 4.1. Current status
    2. 4.2. Typed Main uses in WASI

Typed Main for WASI

Introduction