2026-04-10 23:27:55 +02:00
---
layout: page
published: true
2026-04-11 00:18:36 +02:00
noToc: false
2026-04-10 23:27:55 +02:00
noComments: false
noDate: false
title: Fun - FAQ
subtitle: Frequently asked questions and quick answers.
description: Frequently asked questions and quick answers.
permalink: /documentation/faq/
lang: en
tags:
2026-04-11 00:18:36 +02:00
- answers
- asked
- faq
- frequently
- questions
- quick
2026-04-10 23:27:55 +02:00
---
Answers to common questions.
## I built Fun but includes aren't found
2026-04-11 02:38:47 +02:00
2026-04-10 23:27:55 +02:00
Set `FUN_LIB_DIR` to the repository's `./lib` directory when running without installation:
2026-04-11 02:38:47 +02:00
<pre>FUN_LIB_DIR=./lib ./build/fun examples/hello.fun
</pre>
See [includes/ ](../includes/ ).
2026-04-10 23:27:55 +02:00
## How do I start the REPL?
2026-04-11 02:38:47 +02:00
Run `fun -i` (or run `fun` without a script, depending on version). See [repl/ ](../repl/ ).
2026-04-10 23:27:55 +02:00
## Which build target should I use?
2026-04-11 02:38:47 +02:00
Use the aggregate `build` target to build `fun` , `fun_test` , and `test_opcodes` . See [build/ ](../build/ ).
2026-04-10 23:27:55 +02:00
## Where are the standard libraries?
2026-04-11 02:38:47 +02:00
Under [https://git.xw3.org/fun/fun/src/branch/main/lib ](https://git.xw3.org/fun/fun/src/branch/main/lib ){:class="git"}. See [stdlib/ ](../stdlib/ ) for an overview.
2026-04-10 23:27:55 +02:00
## Where can I find internals and opcodes?
2026-04-11 02:38:47 +02:00
Browse [https://git.xw3.org/fun/fun/src/branch/main/src/vm ](https://git.xw3.org/fun/fun/src/branch/main/src/vm/ ) and [internals/ ](../internals/ ) / [opcodes/ ](../opcodes/ ).