Added ./scripts/play.fun to interactive run thrue all examples in ./examples/. (0.40.6)
This commit is contained in:
parent
587bb76108
commit
5eb5cd7348
10 changed files with 275 additions and 141 deletions
|
|
@ -4,7 +4,7 @@ published: true
|
|||
noToc: false
|
||||
noComments: false
|
||||
noDate: false
|
||||
title: Fun - FAQ
|
||||
title: FAQ
|
||||
subtitle: Frequently asked questions and quick answers.
|
||||
description: Frequently asked questions and quick answers.
|
||||
permalink: /documentation/faq/
|
||||
|
|
@ -23,22 +23,22 @@ 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:
|
||||
<pre>FUN_LIB_DIR=./lib ./build/fun examples/hello.fun
|
||||
</pre>
|
||||
See [../includes/](../includes/).
|
||||
<pre>FUN_LIB_DIR=./lib ./build/fun examples/hello.fun</pre>
|
||||
|
||||
See [Includes](../includes/).
|
||||
|
||||
## How do I start the REPL?
|
||||
|
||||
Run `fun -i` (or run `fun` without a script, depending on version). See [../repl/](../repl/).
|
||||
Run `fun -i` (or run `fun` without a script, depending on version). See [REPL](../repl/).
|
||||
|
||||
## Which build target should I use?
|
||||
|
||||
Use the aggregate `build` target to build `fun`, `fun_test`, and `test_opcodes`. See [../build/](../build/).
|
||||
Use the aggregate `build` target to build `fun`, `fun_test`, and `test_opcodes`. See [Build](../build/).
|
||||
|
||||
## Where are the standard libraries?
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
## Where can I find internals and opcodes?
|
||||
|
||||
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/).
|
||||
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/).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue