Violet

LLM Quick Reference

On this page

Ultra-comprehensive, token-efficient reference for Large Language Models to write Violet Lua scripts.

The full reference is maintained as a single plain-text file for easy copy-paste into LLM contexts:

View llm-reference.txt

Usage

  • For system prompts: Copy the contents of llm-reference.txt into your LLM context
  • For RAG systems: Feed the raw text into your embedding pipeline
  • Token count: ~3K tokens, fits in any modern LLM context window

Working from an older copy

The reference is rewritten in place whenever the Lua API changes, so a copy pasted into a model weeks ago may describe functions that have since changed or been removed.

Browse the version history to see every past version, pick the one your model is working from, and get a single diff to bring it up to date.