1
0
Fork 0
forked from fun/fun

Web content update. (0.41.8)

This commit is contained in:
Johannes Findeisen 2026-05-08 01:32:14 +02:00
commit 9698074279
9 changed files with 42 additions and 58 deletions

View file

@ -48,7 +48,7 @@ PROJECT_NAME = "Fun API Documentation"
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = 0.41.7
PROJECT_NUMBER = 0.41.8
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewers a
@ -1026,7 +1026,8 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.
INPUT = src
INPUT = src \
README.md
# This tag can be used to specify the character encoding of the source files
# that Doxygen parses. Internally Doxygen uses the UTF-8 encoding. Doxygen uses
@ -1130,7 +1131,7 @@ RECURSIVE = YES
# Note that relative paths are relative to the directory from which Doxygen is
# run.
EXCLUDE = src/vm/
EXCLUDE =
# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
# directories that are symbolic links (a Unix file system feature) are excluded
@ -1241,7 +1242,7 @@ FILTER_SOURCE_PATTERNS =
# (index.html). This can be useful if you have a project on for instance GitHub
# and want to reuse the introduction page also for the Doxygen output.
USE_MDFILE_AS_MAINPAGE =
USE_MDFILE_AS_MAINPAGE = README.md
# If the IMPLICIT_DIR_DOCS tag is set to YES, any README.md file found in sub-
# directories of the project's root, is used as the documentation for that sub-

View file

@ -1,6 +1,6 @@
<header class="site-header">
<div class="wrapper">
<a class="site-title" href="/"><img src="/images/fun.png" alt="{{ site.title }}" style="border-radius: 12px; margin: 9px 0 18px 0" title="Fun"></a>
<a class="site-title" href="/"><img src="/images/fun.png" alt="{{ site.title }}" style="border-radius: 12px; margin: 0 0 0 -6px; padding: 0;" title="Fun"></a>
<nav class="site-nav" style="border-radius:8px;">
<a href="#" class="menu-icon"><span>&#8801;</span></a>
<div class="trigger">
@ -11,7 +11,7 @@
<li><a class="page-link" href="/community/" style="text-decoration:none;" title="Community">Community</a></li>
<li><a class="page-link" href="/contact/" style="text-decoration:none;" title="Contact">Contact</a></li>
<li><a class="page-link" href="/documentation/" style="text-decoration:none;" title="Documentation">Documentation</a></li>
<li><a class="page-link" href="/documentation/faq/" style="text-decoration:none;" title="FAQ">FAQ</a></li>
<li><a class="page-link" href="/faq/" style="text-decoration:none;" title="FAQ">FAQ</a></li>
<li><a class="page-link" href="/download/" style="text-decoration:none;" title="Download">Download</a></li>
<!--
https://www.w3schools.com/howto/howto_js_toggle_dark_mode.asp

View file

@ -1,44 +0,0 @@
---
layout: page
published: true
noToc: false
noComments: false
noDate: false
title: FAQ
subtitle: Frequently asked questions and quick answers.
description: Frequently asked questions and quick answers.
permalink: /documentation/faq/
lang: en
tags:
- 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:
<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/).
## Which build target should I use?
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.
## 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/).

View file

@ -102,7 +102,7 @@ This document provides an overview of the available VM opcodes implemented under
## Bitwise (uint32)
- OP_BAND: Bitwise AND; pops b, a; pushes a & b.
- OP_BOR: Bitwise OR; pops b, a; pushes a | b.
- OP_BOR: Bitwise OR; pops b, a; pushes a \| b.
- OP_BXOR: Bitwise XOR; pops b, a; pushes a ^ b.
- OP_BNOT: Bitwise NOT; pops a; pushes ~a.
- OP_SHL: Logical left shift; pops shift, value; pushes value << shift.
@ -112,7 +112,7 @@ This document provides an overview of the available VM opcodes implemented under
## Math
- OP_ABS: Absolute value; pops x; pushes |x|.
- OP_ABS: Absolute value; pops x; pushes \|x\|.
- OP_CEIL: Ceiling; pops x; pushes ceil(x).
- OP_FLOOR: Floor; pops x; pushes floor(x).
- OP_ROUND: Round; pops x; pushes round(x).

View file

@ -1,17 +1,44 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: FAQ
subtitle: Frequently Asked Questions
description: Frequently Asked Questions (FAQ)
subtitle: Frequently asked questions and quick answers.
description: Frequently asked questions and quick answers.
permalink: /faq/
lang: en
tags:
- answers
- asked
- faq
- about
- frequently
- questions
- quick
---
## Why Fun?
Answers to common questions.
Because of fun... ;)
## 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](/documentation/includes/).
## How do I start the REPL?
Run `fun -i` (or run `fun` without a script, depending on version). See [REPL](/documentation/repl/).
## Which build target should I use?
Use the aggregate `build` target to build `fun`, `fun_test`, and `test_opcodes`. See [Build](/documentation/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](/documentation/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](/documentation/internals/) / [Opcodes](/documentation/opcodes/).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before After
Before After