# Macroforge Documentation

_TypeScript Macros - Rust-Powered Code Generation_

---

## Table of Contents

### Getting Started

- [Installation](#installation)
- [First Macro](#first-macro)

### Core Concepts

- [How Macros Work](#how-macros-work)
- [The Derive System](#the-derive-system)
- [Architecture](#architecture)

### Built-in Macros

- [Overview](#overview)
- [Debug](#debug)
- [Clone](#clone)
- [Default](#default)
- [Hash](#hash)
- [Ord](#ord)
- [PartialEq](#partialeq)
- [PartialOrd](#partialord)
- [Serialize](#serialize)
- [Deserialize](#deserialize)

### Custom Macros

- [Overview](#overview)
- [Rust Setup](#rust-setup)
- [ts_macro_derive](#ts-macro-derive)
- [Template Syntax](#template-syntax)

### Integration

- [Overview](#overview)
- [CLI](#cli)
- [TypeScript Plugin](#typescript-plugin)
- [Vite Plugin](#vite-plugin)
- [Configuration](#configuration)

### Language Servers

- [Overview](#overview)
- [Svelte](#svelte)
- [Zed Extensions](#zed-extensions)

### API Reference

- [Overview](#overview)
- [expandSync()](#expandsync)
- [transformSync()](#transformsync)
- [NativePlugin](#nativeplugin)
- [PositionMapper](#positionmapper)

---

# Getting Started

---

---

# Core Concepts

---

---

---

# Built-in Macros

---

---

---

---

---

---

---

---

---

---

# Custom Macros

---

---

---

---

# Integration

---

---

---

---

---

# Language Servers

---

---

---

# API Reference

---

---

---

---

---
