1
0
Fork 0
forked from fun/fun
fun/docs
2026-02-11 17:34:24 +01:00
..
examples.md Some more documentation fun. No code changes. (0.38.11) 2026-02-11 17:34:24 +01:00
handbook.md Handbook update. No code changes. (0.37.57) 2026-01-19 20:45:09 +01:00
includes.md Some more documentation fun about includes. No code changes. (0.38.11) 2026-02-11 03:02:29 +01:00
internals.md More documentation about internals. No code changes (0.38.0) 2026-01-28 16:55:39 +01:00
opcodes.md Added documentation for opcodes to ./docs/opcodes.md. No code changes. (0.37.62) 2026-01-26 13:03:26 +01:00
README.md Some more documentation fun. No code changes. (0.38.11) 2026-02-11 17:34:24 +01:00
repl.md Added REPL documentation to ./docs/. No code changes. (0.37.62) 2026-01-26 03:45:35 +01:00
rust.md Rust doc fixes. No code changes. (0.38.5) 2026-01-29 15:17:46 +01:00
testing.md Some more documentation fun. No code changes. (0.38.11) 2026-02-11 17:34:24 +01:00
troubleshooting.md Some more documentation fun. No code changes. (0.38.11) 2026-02-11 17:34:24 +01:00
types.md Some more documentation fun about types. No code changes. (0.38.11) 2026-02-11 08:46:43 +01:00

Fun Documentation Index

This file serves as an index of the documents in this directory. Links are relative and can be opened directly on Git hosting or locally.

Overview

  • handbook.md — Comprehensive handbook for the Fun language and VM: install/build, configuration flags, usage, and full feature overview.
  • types.md — Core types (numbers, strings, arrays, maps, nil/bool), common operations, patterns, and interop notes.
  • includes.md — Using local vs. system includes, FUN_LIB_DIR, DEFAULT_LIB_DIR, and namespaced includes with as.
  • repl.md — REPL guide: how to build/launch, editing and history, completions, REPLonerror, and tips.
  • opcodes.md — VM opcodes overview grouped by domain with brief behavior/stack notes.
  • internals.md — Implementation details: bytecode format, VM architecture, stacks/frames, parser, and dispatch.
  • rust.md — Writing Rustbacked opcodes and wiring them into the C VM; build/setup notes.
  • examples.md — How to run the examples and the interactive showcase script, with environment tips.
  • testing.md — How to build and run tests/targets with CMake/CTest, and where to add new tests.
  • troubleshooting.md — Common issues and quick fixes for build, includes, and REPL usage.

Tips

  • When building from the repo without installing, set FUN_LIB_DIR to the local ./lib directory so examples and the REPL can locate the stdlib.
  • For a broader project overview and quickstart, see the repository root README.md.