1
0
Fork 0
forked from fun/fun
fun/web/documentation/faq/faq.md

1.2 KiB

layout published noToc noComments noDate title subtitle description permalink lang tags
page true false false false FAQ Frequently asked questions and quick answers. Frequently asked questions and quick answers. /documentation/faq/ en
answers
asked
faq
frequently
questions
quick

Answers to common questions.

I built Fun but includes aren't found

Set FUN_LIB_DIR to the repository's ./lib directory when running without installation:

FUN_LIB_DIR=./lib ./build/fun examples/hello.fun

See Includes.

How do I start the REPL?

Run fun -i (or run fun without a script, depending on version). See REPL.

Which build target should I use?

Use the aggregate build target to build fun, fun_test, and test_opcodes. See Build.

Where are the standard libraries?

Under https://git.xw3.org/fun/fun/src/branch/main/lib{:class="git"}. See stdlib for an overview.

Where can I find internals and opcodes?

Browse https://git.xw3.org/fun/fun/src/branch/main/src/vm and Internals / Opcodes.