1
0
Fork 0
forked from fun/fun

Fixed tons of stuff in ./web/documentation/*. No code changes. (0.40.5)

This commit is contained in:
Johannes Findeisen 2026-04-11 00:18:36 +02:00
commit e7e1343a83
134 changed files with 730 additions and 1928 deletions

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - Arrays in Fun title: Fun - Arrays in Fun
@ -10,21 +10,16 @@ description: Working with arrays, creation, indexing/slicing, iteration patterns
permalink: /documentation/arrays/ permalink: /documentation/arrays/
lang: en lang: en
tags: tags:
- documentation - arrays
- handbook - creation
- installation - helpers
- usage - idioms
- introduction - indexing
- help - iteration
- guide - patterns
- howto - slicing
- docs
- specifications
- specs
- repl
--- ---
# Arrays in Fun
This guide focuses on arrays: creation, indexing, mutation, iteration, slicing, and common gotchas. It complements the quick overview in types.md with a deeper, exampledriven treatment. This guide focuses on arrays: creation, indexing, mutation, iteration, slicing, and common gotchas. It complements the quick overview in types.md with a deeper, exampledriven treatment.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - Async I/O ("asyncio") in Fun title: Fun - Async I/O ("asyncio") in Fun
@ -10,21 +10,19 @@ description: Async I/O primitives and patterns, non-blocking sockets, fd polling
permalink: /documentation/asyncio/ permalink: /documentation/asyncio/
lang: en lang: en
tags: tags:
- documentation - async
- handbook - asyncio
- installation - best
- usage - blocking
- introduction - examples
- help - non
- guide - patterns
- howto - polling
- docs - practices
- specifications - primitives
- specs - sockets
- repl
--- ---
# Async I/O ("asyncio") in Fun
This guide explains the new asynchronous I/O primitives in Fun and how to use them to build non-blocking network and file descriptor workflows. It covers the core concepts, available helpers, common patterns, and runnable examples from the repository. This guide explains the new asynchronous I/O primitives in Fun and how to use them to build non-blocking network and file descriptor workflows. It covers the core concepts, available helpers, common patterns, and runnable examples from the repository.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - Building Fun title: Fun - Building Fun
@ -10,21 +10,19 @@ description: How to build Fun with CMake, available targets, and build options (
permalink: /documentation/build/ permalink: /documentation/build/
lang: en lang: en
tags: tags:
- documentation - available
- handbook - build
- installation - building
- usage - cmake
- introduction - fun_debug
- help - fun_use_musl
- guide - fun_with_cpp
- howto - fun_with_openssl
- docs - fun_with_rust
- specifications - options
- specs - targets
- repl
--- ---
# Building Fun
This guide describes how to build Fun from source using CMake and the available build options. This guide describes how to build Fun from source using CMake and the available build options.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - Bytecode Format (Overview) title: Fun - Bytecode Format (Overview)
@ -10,21 +10,15 @@ description: Reference for the bytecode format (split out from internals for con
permalink: /documentation/bytecode-format/ permalink: /documentation/bytecode-format/
lang: en lang: en
tags: tags:
- documentation - bytecode
- handbook - convenience
- installation - format
- usage - internals
- introduction - out
- help - reference
- guide - split
- howto
- docs
- specifications
- specs
- repl
--- ---
# Bytecode Format (Overview)
This document summarizes the Fun bytecode format. For deep VM details, see [internals.md](./internals/). This document summarizes the Fun bytecode format. For deep VM details, see [internals.md](./internals/).

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - Fun CLI title: Fun - Fun CLI
@ -10,21 +10,19 @@ description: Command-line usage of the `fun` executable, synopsis, options, exit
permalink: /documentation/cli/ permalink: /documentation/cli/
lang: en lang: en
tags: tags:
- documentation - cli
- handbook - codes
- installation - command
- usage - executable
- introduction - exit
- help - includes
- guide - library
- howto - line
- docs - options
- specifications - paths
- specs - synopsis
- repl
--- ---
# Fun CLI
Reference for the `fun` command-line interface. Reference for the `fun` command-line interface.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - Contributing to Fun title: Fun - Contributing to Fun
@ -10,44 +10,43 @@ description: How to contribute, project structure, coding style, running tests,
permalink: /documentation/contributing/ permalink: /documentation/contributing/
lang: en lang: en
tags: tags:
- documentation - coding
- handbook - contribute
- installation - contributing
- usage - guidelines
- introduction - project
- help - running
- guide - structure
- howto - style
- docs - tests
- specifications
- specs
- repl
--- ---
# Contributing to Fun
Thanks for your interest in contributing! This guide covers the basics to get you productive quickly. Thanks for your interest in contributing! This guide covers the basics to get you productive quickly.
## Getting started ## Getting started
- Clone the repo and build (see [build.md](./build/)). - Clone the repo and build (see [build/](../build/)).
- Run tests locally (see [testing.md](./testing/)). - Run tests locally (see [testing/](../testing/)).
- Explore examples (see [examples.md](./examples/)). - Explore examples (see [examples/](../examples/)).
## Project structure ## Project structure
- `src/` - C core, VM, and opcode implementations ([src/vm](../src/vm/)). - `src/` - C core, VM, and opcode implementations ([https://git.xw3.org/fun/fun/src/branch/main/src/](https://git.xw3.org/fun/fun/src/branch/main/src/){:class="git"}).
- `lib/` - Standard library written in Fun. - `lib/` - Standard library written in Fun.
- `web/` - Website and documentation ([https://git.xw3.org/fun/fun/src/branch/main/web/](https://git.xw3.org/fun/fun/src/branch/main/web/){:class="git"}).
- `examples/` - Example programs and showcases. - `examples/` - Example programs and showcases.
- `documentation/` - Documentation.
- `spec/` - Language specification drafts. - `spec/` - Language specification drafts.
- `cmake/` - CMake configuration and modules.
- `scripts/` - Utility scripts for development.
- `make` - Helper script for building (wraps CMake).
## Code style ## Code style
- C: C99, two-space indent, no tabs. Keep functions short and focused. - C: C99, two-space indent, no tabs. Keep functions short and focused.
- Fun: two-space indent, snake_case for functions, PascalCase for classes/constructors. - Fun: two-space indent, snake_case for functions, PascalCase for classes/constructors.
- Prefer clear names over abbreviations. See [style-guide.md](./style-guide/). - Prefer clear names over abbreviations. See [style-guide/](../style-guide/).
## Development workflow ## Development workflow
1. Create a small, focused branch. 1. Create a small, focused branch.
2. Add/adjust tests for behavior changes (see [writing-tests.md](./writing-tests/)). 2. Add/adjust tests for behavior changes (see [writing-tests](../writing-tests/)).
3. Update docs if user-visible behavior changes. 3. Update docs if user-visible behavior changes.
4. Submit a PR with a clear description and rationale. 4. Submit a PR with a clear description and rationale.
@ -63,4 +62,4 @@ Please include:
- `fun --version` output - `fun --version` output
## Code of Conduct ## Code of Conduct
Be respectful and inclusive. See [CODE_OF_CONDUCT.md](../CODE_OF_CONDUCT/) in the repository root. Be respectful and inclusive. See [https://git.xw3.org/fun/fun/src/branch/main/CODE_OF_CONDUCT.md](https://git.xw3.org/fun/fun/src/branch/main/CODE_OF_CONDUCT.md){:class="git"} in the repository root.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - Documentation title: Fun - Documentation
@ -10,28 +10,19 @@ description: The Fun Documentation Index
permalink: /documentation/ permalink: /documentation/
lang: en lang: en
tags: tags:
- documentation - index
- handbook - language
- installation - programming
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# 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. 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.
## Basics ## Basics
- [handbook.md](./handbook.md) - Comprehensive handbook for the Fun language and VM: install/build, configuration flags, usage, and full feature overview. - [handbook/](./handbook/) - Comprehensive handbook for the Fun language and VM: install/build, configuration flags, usage, and full feature overview.
- [Fun REPL Guide](./repl.md) - REPL guide: how to build/launch, editing and history, completions, REPL-on-error, and tips. - [Fun REPL Guide](./repl/) - REPL guide: how to build/launch, editing and history, completions, REPL-on-error, and tips.
- [Specification v0.4](https://git.xw3.org/fun/fun/src/branch/main/spec/v0.4.md){:class="git"}
- [Specification v0.3](https://git.xw3.org/fun/fun/src/branch/main/spec/v0.3.md){:class="git"} - [Specification v0.3](https://git.xw3.org/fun/fun/src/branch/main/spec/v0.3.md){:class="git"}
- [Specification v0.2](https://git.xw3.org/fun/fun/src/branch/main/spec/v0.2.md){:class="git"} - [Specification v0.2](https://git.xw3.org/fun/fun/src/branch/main/spec/v0.2.md){:class="git"}
- [Specification v0.1](https://git.xw3.org/fun/fun/src/branch/main/spec/v0.1.md){:class="git"} - [Specification v0.1](https://git.xw3.org/fun/fun/src/branch/main/spec/v0.1.md){:class="git"}
@ -42,53 +33,53 @@ The examples directory contains demonstrations of most Fun features, from basic
## Overview ## Overview
- [types.md](./types.md) - Core types (numbers, strings, arrays, maps, nil/bool), common operations, patterns, and interop notes. - [types/](./types/) - Core types (numbers, strings, arrays, maps, nil/bool), common operations, patterns, and interop notes.
- [numbers.md](./numbers.md) - Working with integers and floats: arithmetic, conversions, clamping, bitwise ops, and patterns. - [numbers/](./numbers/) - Working with integers and floats: arithmetic, conversions, clamping, bitwise ops, and patterns.
- [strings.md](./strings.md) - Working with strings: literals/escaping, concatenation, substr/find, split, and conversions. - [strings/](./strings/) - Working with strings: literals/escaping, concatenation, substr/find, split, and conversions.
- [arrays.md](./arrays.md) - Working with arrays: creation, indexing/slicing, iteration patterns, helpers, and idioms. - [arrays/](./arrays/) - Working with arrays: creation, indexing/slicing, iteration patterns, helpers, and idioms.
- [maps.md](./maps.md) - Working with maps: construction, lookup/update, merging, iteration, and common patterns. - [maps/](./maps/) - Working with maps: construction, lookup/update, merging, iteration, and common patterns.
- [includes.md](./includes.md) - Using local vs. system includes, FUN_LIB_DIR, DEFAULT_LIB_DIR, and namespaced includes with `as`. - [includes/](./includes/) - Using local vs. system includes, FUN_LIB_DIR, DEFAULT_LIB_DIR, and namespaced includes with `as`.
- [opcodes.md](./opcodes.md) - VM opcodes overview grouped by domain with brief behavior/stack notes. - [opcodes/](./opcodes/) - VM opcodes overview grouped by domain with brief behavior/stack notes.
- [internals.md](./internals.md) - Implementation details: bytecode format, VM architecture, stacks/frames, parser, and dispatch. - [internals/](./internals/) - Implementation details: bytecode format, VM architecture, stacks/frames, parser, and dispatch.
- [rust.md](./rust.md) - Writing Rust-backed opcodes and wiring them into the C VM; build/setup notes. - [rust/](./rust/) - Writing Rust-backed opcodes and wiring them into the C VM; build/setup notes.
- [examples.md](./examples.md) - How to run the examples and the interactive showcase script, with environment tips. - [examples/](./examples/) - How to run the examples and the interactive showcase script, with environment tips.
- [testing.md](./testing.md) - How to build and run tests/targets with CMake/CTest, and where to add new tests. - [testing/](./testing/) - How to build and run tests/targets with CMake/CTest, and where to add new tests.
- [troubleshooting.md](./troubleshooting.md) - Common issues and quick fixes for build, includes, and REPL usage. - [troubleshooting/](./troubleshooting/) - Common issues and quick fixes for build, includes, and REPL usage.
## New and supplemental guides ## New and supplemental guides
- [build.md](./build.md) - How to build Fun with CMake, available targets, and build options (FUN_DEBUG, FUN_USE_MUSL, FUN_WITH_CPP, FUN_WITH_RUST, FUN_WITH_OPENSSL). - [build/](./build/) - How to build Fun with CMake, available targets, and build options (FUN_DEBUG, FUN_USE_MUSL, FUN_WITH_CPP, FUN_WITH_RUST, FUN_WITH_OPENSSL).
- [cli.md](./cli.md) - Command-line usage of the `fun` executable: synopsis, options, exit codes, includes and library paths. - [cli/](./cli/) - Command-line usage of the `fun` executable: synopsis, options, exit codes, includes and library paths.
- [fun.md](./fun.md) - Full usage guide for the `fun` executable: invocation patterns, REPL, env vars, include paths, examples, and install locations. - [fun/](./fun/) - Full usage guide for the `fun` executable: invocation patterns, REPL, env vars, include paths, examples, and install locations.
- [asyncio.md](./asyncio.md) - Async I/O primitives and patterns: non-blocking sockets, fd polling, examples, and best practices. - [asyncio/](./asyncio/) - Async I/O primitives and patterns: non-blocking sockets, fd polling, examples, and best practices.
- [funstx.md](./funstx.md) - Syntax checker for .fun files with optional --fix auto-corrections; usage, exit codes, and limitations. - [funstx/](./funstx/) - Syntax checker for .fun files with optional --fix auto-corrections; usage, exit codes, and limitations.
- [contributing.md](./contributing.md) - How to contribute: project structure, coding style, running tests, and PR guidelines. - [contributing/](./contributing/) - How to contribute: project structure, coding style, running tests, and PR guidelines.
- [style-guide.md](./style-guide.md) - Coding conventions for C and Fun (indentation, naming, idioms). - [style-guide/](./style-guide/) - Coding conventions for C and Fun (indentation, naming, idioms).
- [stdlib.md](./stdlib.md) - Overview of the standard library modules under ./lib with one-line summaries. - [stdlib/](./stdlib/) - Overview of the standard library modules under ./lib with one-line summaries.
- [embedding.md](./embedding.md) - Embedding the VM from C/Rust, lifecycle, and host integration tips. - [embedding/](./embedding/) - Embedding the VM from C/Rust, lifecycle, and host integration tips.
- [errors-and-diagnostics.md](./errors-and-diagnostics.md) - Understanding parser/runtime errors and enabling diagnostics. - [errors-and-diagnostics/](./errors-and-diagnostics/) - Understanding parser/runtime errors and enabling diagnostics.
- [performance.md](./performance.md) - Build/runtime tuning tips and patterns for better performance. - [performance/](./performance/) - Build/runtime tuning tips and patterns for better performance.
- [security-and-sandboxing.md](./security-and-sandboxing.md) - Trust boundaries, I/O expectations, and capability restrictions. - [security-and-sandboxing/](./security-and-sandboxing/) - Trust boundaries, I/O expectations, and capability restrictions.
- [faq.md](./faq.md) - Frequently asked questions and quick answers. - [faq/](./faq/) - Frequently asked questions and quick answers.
- [website.md](./website.md) - Documentation for the [fun-lang.xyz](https://fun-lang.xyz) website in the `./web/` directory. - [website/](./website/) - Documentation for the [fun-lang.xyz](https://fun-lang.xyz) website in the `./web/` directory.
- [writing-tests.md](./writing-tests.md) - How to author new tests for Fun and opcode components. - [writing-tests/](./writing-tests/) - How to author new tests for Fun and opcode components.
- [bytecode-format.md](./bytecode-format.md) - Reference for the bytecode format (split out from internals for convenience). - [bytecode-format/](./bytecode-format/) - Reference for the bytecode format (split out from internals for convenience).
- [roadmap.md](./roadmap.md) - High-level direction, planned features, and pointers to issues. - [roadmap/](./roadmap/) - High-level direction, planned features, and pointers to issues.
## Examples ## Examples
- [examples/README.md](./examples/README.md) - Catalog of all example scripts under ./examples/: what each area contains, how to run them, required env vars, and extension requirements. - [examples/README/](./examples/README/) - Catalog of all example scripts under ./examples/: what each area contains, how to run them, required env vars, and extension requirements.
## External extensions ## External extensions
Documentation for optional, build-time selectable integrations lives in [external/](./external/): Documentation for optional, build-time selectable integrations lives in [external/](./external/):
- [Index of extensions](./external/README.md) - [Index of extensions](./external/)
- Highlights: [cURL](./external/curl.md), [INI](./external/ini.md), [JSON](./external/json.md), [XML (libxml2)](./external/xml2.md), [SQLite](./external/sqlite.md), [PCRE2](./external/pcre2.md), [PC/SC](./external/pcsc.md), [OpenSSL](./external/openssl.md) - Highlights: [cURL](./external/curl/), [INI](./external/ini/), [JSON](./external/json/), [XML (libxml2)](./external/xml2/), [SQLite](./external/sqlite/), [PCRE2](./external/pcre2/), [PC/SC](./external/pcsc/), [OpenSSL](./external/openssl/)
## Tips ## 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. - 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](../../README.md). - For a broader project overview and quickstart, see the repository root [README/](../../README/).
- Crypto examples: - Crypto examples:
- If built with `-DFUN_WITH_OPENSSL=ON`, try `examples/crypto/openssl_md5.fun`. - If built with `-DFUN_WITH_OPENSSL=ON`, try `examples/crypto/openssl_md5.fun`.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - Embedding Fun title: Fun - Embedding Fun
@ -10,21 +10,14 @@ description: Embedding the VM from C/Rust, lifecycle, and host integration tips.
permalink: /documentation/embedding/ permalink: /documentation/embedding/
lang: en lang: en
tags: tags:
- documentation - embedding
- handbook - host
- installation - integration
- usage - lifecycle
- introduction - rust
- help - tips
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# Embedding Fun
This guide outlines how to embed the Fun VM in a host application and extend it from C/Rust. This guide outlines how to embed the Fun VM in a host application and extend it from C/Rust.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - Errors and Diagnostics title: Fun - Errors and Diagnostics
@ -10,21 +10,14 @@ description: Understanding parser/runtime errors and enabling diagnostics.
permalink: /documentation/errors-and-diagnostics/ permalink: /documentation/errors-and-diagnostics/
lang: en lang: en
tags: tags:
- documentation - diagnostics
- handbook - enabling
- installation - errors
- usage - parser
- introduction - runtime
- help - understanding
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# Errors and Diagnostics
This guide helps you understand common error messages and how to collect useful diagnostics. This guide helps you understand common error messages and how to collect useful diagnostics.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - Running the Examples title: Fun - Running the Examples
@ -10,21 +10,17 @@ description: How to run the examples and the interactive showcase script, with e
permalink: /documentation/examples/ permalink: /documentation/examples/
lang: en lang: en
tags: tags:
- documentation - environment
- handbook - example
- installation - examples
- usage - interactive
- introduction - run
- help - running
- guide - script
- howto - showcase
- docs - tips
- specifications
- specs
- repl
--- ---
# Running the Examples
This page shows how to run the example programs included with the repository and how to use the interactive showcase script. This page shows how to run the example programs included with the repository and how to use the interactive showcase script.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - Examples catalog and how to run them title: Fun - Examples catalog and how to run them
@ -10,21 +10,23 @@ description: Catalog of all example scripts under ./examples/, what each area co
permalink: /documentation/examples/ permalink: /documentation/examples/
lang: en lang: en
tags: tags:
- documentation - area
- handbook - catalog
- installation - contains
- usage - env
- introduction - example
- help - examples
- guide - extension
- howto - required
- docs - requirements
- specifications - run
- specs - scripts
- repl - them
- under
- vars
- what
--- ---
# Examples catalog and how to run them
This page is a practical catalog of the example areas that ship with the Fun language. It explains what youll find in each folder under ./examples/, how to run the scripts, and where deeper walkthroughs live. This page is a practical catalog of the example areas that ship with the Fun language. It explains what youll find in each folder under ./examples/, how to run the scripts, and where deeper walkthroughs live.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - builtins_extended.fun — overview title: Fun - builtins_extended.fun — overview
@ -10,21 +10,10 @@ description: Documentation for builtins_extended.fun — overview
permalink: /documentation/examples/builtins_extended/ permalink: /documentation/examples/builtins_extended/
lang: en lang: en
tags: tags:
- documentation - builtins_extended
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# builtins_extended.fun — overview
What it shows What it shows
- A tour of core builtins beyond the basics: printing, typing, math helpers, conversions, and utility functions commonly used in small scripts. - A tour of core builtins beyond the basics: printing, typing, math helpers, conversions, and utility functions commonly used in small scripts.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - builtins_maps_and_more.fun — overview title: Fun - builtins_maps_and_more.fun — overview
@ -10,21 +10,10 @@ description: Documentation for builtins_maps_and_more.fun — overview
permalink: /documentation/examples/builtins_maps_and_more/ permalink: /documentation/examples/builtins_maps_and_more/
lang: en lang: en
tags: tags:
- documentation - builtins_maps_and_more
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# builtins_maps_and_more.fun — overview
What it shows What it shows
- Exploring builtins while working with maps and related data structures. - Exploring builtins while working with maps and related data structures.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - byte_for_demo.fun — overview title: Fun - byte_for_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for byte_for_demo.fun — overview
permalink: /documentation/examples/byte_for_demo/ permalink: /documentation/examples/byte_for_demo/
lang: en lang: en
tags: tags:
- documentation - byte_for_demo
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# byte_for_demo.fun — overview
What it shows What it shows
- Iterating bytes with a for-loop; indexing and printing byte values. - Iterating bytes with a for-loop; indexing and printing byte values.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - byte_overflow_try_catch.fun — overview title: Fun - byte_overflow_try_catch.fun — overview
@ -10,21 +10,10 @@ description: Documentation for byte_overflow_try_catch.fun — overview
permalink: /documentation/examples/byte_overflow_try_catch/ permalink: /documentation/examples/byte_overflow_try_catch/
lang: en lang: en
tags: tags:
- documentation - byte_overflow_try_catch
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# byte_overflow_try_catch.fun — overview
What it shows What it shows
- Error handling around byte/integer overflow using try/catch. - Error handling around byte/integer overflow using try/catch.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - cast_demo.fun — overview title: Fun - cast_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for cast_demo.fun — overview
permalink: /documentation/examples/cast_demo/ permalink: /documentation/examples/cast_demo/
lang: en lang: en
tags: tags:
- documentation - cast_demo
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# cast_demo.fun — overview
What it shows What it shows
- Conversions and casting helpers; demonstrates changing between numeric and string types safely. - Conversions and casting helpers; demonstrates changing between numeric and string types safely.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - class_constructor.fun — overview title: Fun - class_constructor.fun — overview
@ -10,21 +10,10 @@ description: Documentation for class_constructor.fun — overview
permalink: /documentation/examples/class_constructor/ permalink: /documentation/examples/class_constructor/
lang: en lang: en
tags: tags:
- documentation - class_constructor
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# class_constructor.fun — overview
What it shows What it shows
- Class basics and constructor behavior; initializing fields and using methods. - Class basics and constructor behavior; initializing fields and using methods.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - class_test.fun — overview title: Fun - class_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for class_test.fun — overview
permalink: /documentation/examples/class_test/ permalink: /documentation/examples/class_test/
lang: en lang: en
tags: tags:
- documentation - class_test
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# class_test.fun — overview
What it shows What it shows
- Simple class usage and method invocation; small sanity checks around classes. - Simple class usage and method invocation; small sanity checks around classes.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - class_without_object.fun — overview title: Fun - class_without_object.fun — overview
@ -10,21 +10,10 @@ description: Documentation for class_without_object.fun — overview
permalink: /documentation/examples/class_without_object/ permalink: /documentation/examples/class_without_object/
lang: en lang: en
tags: tags:
- documentation - class_without_object
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# class_without_object.fun — overview
What it shows What it shows
- Class features that can be used without creating an instance (static-like usage patterns). - Class features that can be used without creating an instance (static-like usage patterns).

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - classes_demo.fun — overview title: Fun - classes_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for classes_demo.fun — overview
permalink: /documentation/examples/classes_demo/ permalink: /documentation/examples/classes_demo/
lang: en lang: en
tags: tags:
- documentation - classes_demo
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# classes_demo.fun — overview
What it shows What it shows
- Class basics and usage: defining classes, instantiating objects, calling methods. - Class basics and usage: defining classes, instantiating objects, calling methods.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - cli_argv_dump.fun — overview title: Fun - cli_argv_dump.fun — overview
@ -10,21 +10,10 @@ description: Documentation for cli_argv_dump.fun — overview
permalink: /documentation/examples/cli_argv_dump/ permalink: /documentation/examples/cli_argv_dump/
lang: en lang: en
tags: tags:
- documentation - cli_argv_dump
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# cli_argv_dump.fun — overview
What it shows What it shows
- Prints argv/argc handling to demonstrate CLI arguments parsing at a low level. - Prints argv/argc handling to demonstrate CLI arguments parsing at a low level.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - conversions_showcase.fun — overview title: Fun - conversions_showcase.fun — overview
@ -10,21 +10,10 @@ description: Documentation for conversions_showcase.fun — overview
permalink: /documentation/examples/conversions_showcase/ permalink: /documentation/examples/conversions_showcase/
lang: en lang: en
tags: tags:
- documentation - conversions_showcase
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# conversions_showcase.fun — overview
What it shows What it shows
- Numbers, strings, and bytes conversions; typical idioms and edge cases. - Numbers, strings, and bytes conversions; typical idioms and edge cases.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - cpp_add.fun — overview title: Fun - cpp_add.fun — overview
@ -10,21 +10,10 @@ description: Documentation for cpp_add.fun — overview
permalink: /documentation/examples/cpp_add/ permalink: /documentation/examples/cpp_add/
lang: en lang: en
tags: tags:
- documentation - cpp_add
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# cpp_add.fun — overview
What it shows What it shows
- Calling into the optional C++ extension from Fun. - Calling into the optional C++ extension from Fun.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - counter.fun (CGI) title: Fun - counter.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for counter.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/counter/ permalink: /documentation/examples/data/htdocumentation/counter/
lang: en lang: en
tags: tags:
- documentation - cgi
- handbook - counter
- installation - example
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# counter.fun (CGI)
- Location: examples/data/htdocumentation/counter.fun - Location: examples/data/htdocumentation/counter.fun
- Category: CGI script used by HTTP server examples - Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - form_post.fun (CGI) title: Fun - form_post.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for form_post.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/form_post/ permalink: /documentation/examples/data/htdocumentation/form_post/
lang: en lang: en
tags: tags:
- documentation - cgi
- handbook - example
- installation - form_post
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# form_post.fun (CGI)
- Location: examples/data/htdocumentation/form_post.fun - Location: examples/data/htdocumentation/form_post.fun
- Category: CGI script used by HTTP server examples - Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - hello.fun (CGI) title: Fun - hello.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for hello.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/hello/ permalink: /documentation/examples/data/htdocumentation/hello/
lang: en lang: en
tags: tags:
- documentation - cgi
- handbook - example
- installation - hello
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# hello.fun (CGI)
- Location: examples/data/htdocumentation/hello.fun - Location: examples/data/htdocumentation/hello.fun
- Category: CGI script used by HTTP server examples - Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - info.fun (CGI) title: Fun - info.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for info.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/info/ permalink: /documentation/examples/data/htdocumentation/info/
lang: en lang: en
tags: tags:
- documentation - cgi
- handbook - example
- installation - info
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# info.fun (CGI)
- Location: examples/data/htdocumentation/info.fun - Location: examples/data/htdocumentation/info.fun
- Category: CGI script used by HTTP server examples - Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - json_like_api.fun (CGI) title: Fun - json_like_api.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for json_like_api.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/json_like_api/ permalink: /documentation/examples/data/htdocumentation/json_like_api/
lang: en lang: en
tags: tags:
- documentation - cgi
- handbook - example
- installation - json_like_api
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# json_like_api.fun (CGI)
- Location: examples/data/htdocumentation/json_like_api.fun - Location: examples/data/htdocumentation/json_like_api.fun
- Category: CGI script used by HTTP server examples - Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - redirect.fun (CGI) title: Fun - redirect.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for redirect.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/redirect/ permalink: /documentation/examples/data/htdocumentation/redirect/
lang: en lang: en
tags: tags:
- documentation - cgi
- handbook - example
- installation - redirect
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# redirect.fun (CGI)
- Location: examples/data/htdocumentation/redirect.fun - Location: examples/data/htdocumentation/redirect.fun
- Category: CGI script used by HTTP server examples - Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - datetime_basic.fun — overview title: Fun - datetime_basic.fun — overview
@ -10,21 +10,10 @@ description: Documentation for datetime_basic.fun — overview
permalink: /documentation/examples/datetime_basic/ permalink: /documentation/examples/datetime_basic/
lang: en lang: en
tags: tags:
- documentation - datetime_basic
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# datetime_basic.fun — overview
What it shows What it shows
- Basic time/date helpers and formatting. - Basic time/date helpers and formatting.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - datetime_extended.fun — overview title: Fun - datetime_extended.fun — overview
@ -10,21 +10,10 @@ description: Documentation for datetime_extended.fun — overview
permalink: /documentation/examples/datetime_extended/ permalink: /documentation/examples/datetime_extended/
lang: en lang: en
tags: tags:
- documentation - datetime_extended
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# datetime_extended.fun — overview
What it shows What it shows
- Extended datetime helpers: parsing, arithmetic, timers, and formatting variants. - Extended datetime helpers: parsing, arithmetic, timers, and formatting variants.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - datetime_timer.fun — overview title: Fun - datetime_timer.fun — overview
@ -10,21 +10,10 @@ description: Documentation for datetime_timer.fun — overview
permalink: /documentation/examples/datetime_timer/ permalink: /documentation/examples/datetime_timer/
lang: en lang: en
tags: tags:
- documentation - datetime_timer
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# datetime_timer.fun — overview
What it shows What it shows
- Measuring elapsed time and simple timers using datetime helpers. - Measuring elapsed time and simple timers using datetime helpers.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - echo_example.fun — overview title: Fun - echo_example.fun — overview
@ -10,21 +10,10 @@ description: Documentation for echo_example.fun — overview
permalink: /documentation/examples/echo_example/ permalink: /documentation/examples/echo_example/
lang: en lang: en
tags: tags:
- documentation - echo_example
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# echo_example.fun — overview
What it shows What it shows
- Simple echo of input/args; prints back what you type or pass as arguments. - Simple echo of input/args; prints back what you type or pass as arguments.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - env_all.fun — overview title: Fun - env_all.fun — overview
@ -10,21 +10,10 @@ description: Documentation for env_all.fun — overview
permalink: /documentation/examples/env_all/ permalink: /documentation/examples/env_all/
lang: en lang: en
tags: tags:
- documentation - env_all
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# env_all.fun — overview
What it shows What it shows
- Reading and listing environment variables. - Reading and listing environment variables.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - error_handling.fun — overview title: Fun - error_handling.fun — overview
@ -10,21 +10,10 @@ description: Documentation for error_handling.fun — overview
permalink: /documentation/examples/error_handling/ permalink: /documentation/examples/error_handling/
lang: en lang: en
tags: tags:
- documentation - error_handling
- handbook - example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# error_handling.fun — overview
What it shows What it shows
- Error patterns and handling strategies using try/catch/finally. - Error patterns and handling strategies using try/catch/finally.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - expressions_test.fun — overview title: Fun - expressions_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for expressions_test.fun — overview
permalink: /documentation/examples/expressions_test/ permalink: /documentation/examples/expressions_test/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - expressions_test
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# expressions_test.fun — overview
What it shows What it shows
- Operator precedence and expression grouping tests/demonstrations. - Operator precedence and expression grouping tests/demonstrations.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - features.fun — overview title: Fun - features.fun — overview
@ -10,21 +10,10 @@ description: Documentation for features.fun — overview
permalink: /documentation/examples/features/ permalink: /documentation/examples/features/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - features
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# features.fun — overview
What it shows What it shows
- Grab bag of language features in a single script. - Grab bag of language features in a single script.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - file_print_for_file_line_by_line.fun — overview title: Fun - file_print_for_file_line_by_line.fun — overview
@ -10,21 +10,10 @@ description: Documentation for file_print_for_file_line_by_line.fun — overview
permalink: /documentation/examples/file_print_for_file_line_by_line/ permalink: /documentation/examples/file_print_for_file_line_by_line/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - file_print_for_file_line_by_line
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# file_print_for_file_line_by_line.fun — overview
What it shows What it shows
- Iterate a file line-by-line and print each line; basic file IO idioms. - Iterate a file line-by-line and print each line; basic file IO idioms.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - floats.fun — overview title: Fun - floats.fun — overview
@ -10,21 +10,10 @@ description: Documentation for floats.fun — overview
permalink: /documentation/examples/floats/ permalink: /documentation/examples/floats/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - floats
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# floats.fun — overview
What it shows What it shows
- Floating point operations and formatting details. - Floating point operations and formatting details.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - for_range_test.fun — overview title: Fun - for_range_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for for_range_test.fun — overview
permalink: /documentation/examples/for_range_test/ permalink: /documentation/examples/for_range_test/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - for_range_test
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# for_range_test.fun — overview
What it shows What it shows
- Ranges and loops; iterating numeric ranges and verifying bounds. - Ranges and loops; iterating numeric ranges and verifying bounds.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - functions_test.fun — overview title: Fun - functions_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for functions_test.fun — overview
permalink: /documentation/examples/functions_test/ permalink: /documentation/examples/functions_test/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - functions_test
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# functions_test.fun — overview
What it shows What it shows
- Functions, closures, and return behavior; call semantics basics. - Functions, closures, and return behavior; call semantics basics.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - have_fun.fun — overview title: Fun - have_fun.fun — overview
@ -10,21 +10,10 @@ description: Documentation for have_fun.fun — overview
permalink: /documentation/examples/have_fun/ permalink: /documentation/examples/have_fun/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - have_fun
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# have_fun.fun — overview
What it shows What it shows
- Playful demo showing off small language tricks. - Playful demo showing off small language tricks.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - have_fun_function.fun — overview title: Fun - have_fun_function.fun — overview
@ -10,21 +10,10 @@ description: Documentation for have_fun_function.fun — overview
permalink: /documentation/examples/have_fun_function/ permalink: /documentation/examples/have_fun_function/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - have_fun_function
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# have_fun_function.fun — overview
What it shows What it shows
- A playful function-centric demo; small utility behaviors. - A playful function-centric demo; small utility behaviors.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - hex_example.fun — overview title: Fun - hex_example.fun — overview
@ -10,21 +10,10 @@ description: Documentation for hex_example.fun — overview
permalink: /documentation/examples/hex_example/ permalink: /documentation/examples/hex_example/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - hex_example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# hex_example.fun — overview
What it shows What it shows
- Hex encode/decode helpers; working with hexadecimal representations. - Hex encode/decode helpers; working with hexadecimal representations.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - if_else_test.fun — overview title: Fun - if_else_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for if_else_test.fun — overview
permalink: /documentation/examples/if_else_test/ permalink: /documentation/examples/if_else_test/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - if_else_test
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# if_else_test.fun — overview
What it shows What it shows
- Control flow with if/else; branching and comparisons. - Control flow with if/else; branching and comparisons.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - include_lib.fun — overview title: Fun - include_lib.fun — overview
@ -10,21 +10,10 @@ description: Documentation for include_lib.fun — overview
permalink: /documentation/examples/include_lib/ permalink: /documentation/examples/include_lib/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - include_lib
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# include_lib.fun — overview
What it shows What it shows
- Including modules from the standard library path using #include <...>. - Including modules from the standard library path using #include <...>.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - include_local.fun — overview title: Fun - include_local.fun — overview
@ -10,21 +10,10 @@ description: Documentation for include_local.fun — overview
permalink: /documentation/examples/include_local/ permalink: /documentation/examples/include_local/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - include_local
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# include_local.fun — overview
What it shows What it shows
- Including local files relative to the script and reusing helpers. - Including local files relative to the script and reusing helpers.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - include_local_util.fun — overview title: Fun - include_local_util.fun — overview
@ -10,21 +10,10 @@ description: Documentation for include_local_util.fun — overview
permalink: /documentation/examples/include_local_util/ permalink: /documentation/examples/include_local_util/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - include_local_util
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# include_local_util.fun — overview
What it shows What it shows
- Local include mechanics with a small utility module. - Local include mechanics with a small utility module.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - inheritance_demo.fun — overview title: Fun - inheritance_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for inheritance_demo.fun — overview
permalink: /documentation/examples/inheritance_demo/ permalink: /documentation/examples/inheritance_demo/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - inheritance_demo
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# inheritance_demo.fun — overview
What it shows What it shows
- Simple class inheritance and method overriding examples. - Simple class inheritance and method overriding examples.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - loops_break_continue.fun — overview title: Fun - loops_break_continue.fun — overview
@ -10,21 +10,10 @@ description: Documentation for loops_break_continue.fun — overview
permalink: /documentation/examples/loops_break_continue/ permalink: /documentation/examples/loops_break_continue/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - loops_break_continue
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# loops_break_continue.fun — overview
What it shows What it shows
- Loop control: break and continue; demonstrating control flow within loops. - Loop control: break and continue; demonstrating control flow within loops.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - maps.fun — overview title: Fun - maps.fun — overview
@ -10,21 +10,17 @@ description: Working with maps, construction, lookup/update, merging, iteration,
permalink: /documentation/examples/maps/ permalink: /documentation/examples/maps/
lang: en lang: en
tags: tags:
- documentation - common
- handbook - construction
- installation - example
- usage - iteration
- introduction - lookup
- help - maps
- guide - merging
- howto - patterns
- docs - update
- specifications
- specs
- repl
--- ---
# maps.fun — overview
What it shows What it shows
- Working with maps: creation, indexing, iteration, and typical idioms. - Working with maps: creation, indexing, iteration, and typical idioms.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - match.fun — overview title: Fun - match.fun — overview
@ -10,21 +10,10 @@ description: Documentation for match.fun — overview
permalink: /documentation/examples/match/ permalink: /documentation/examples/match/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - match
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# match.fun — overview
What it shows What it shows
- Pattern matching constructs and examples of branching by value/shape. - Pattern matching constructs and examples of branching by value/shape.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - namespaced_mod.fun — overview title: Fun - namespaced_mod.fun — overview
@ -10,21 +10,10 @@ description: Documentation for namespaced_mod.fun — overview
permalink: /documentation/examples/namespaced_mod/ permalink: /documentation/examples/namespaced_mod/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - namespaced_mod
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# namespaced_mod.fun — overview
What it shows What it shows
- Namespaced includes and using the "as" aliasing pattern for modules. - Namespaced includes and using the "as" aliasing pattern for modules.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - nested_loops.fun — overview title: Fun - nested_loops.fun — overview
@ -10,21 +10,10 @@ description: Documentation for nested_loops.fun — overview
permalink: /documentation/examples/nested_loops/ permalink: /documentation/examples/nested_loops/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - nested_loops
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# nested_loops.fun — overview
What it shows What it shows
- Control flow with nested loops; inner/outer loop coordination. - Control flow with nested loops; inner/outer loop coordination.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - http_mt_server.fun title: Fun - http_mt_server.fun
@ -10,21 +10,11 @@ description: Documentation for http_mt_server.fun
permalink: /documentation/examples/net/http_mt_server/ permalink: /documentation/examples/net/http_mt_server/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - http_mt_server
- installation - network
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# http_mt_server.fun
- Location: examples/net/http_mt_server.fun - Location: examples/net/http_mt_server.fun
- Category: Networking / HTTP (multi-threaded) - Category: Networking / HTTP (multi-threaded)

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - http_mt_server_cgi.fun title: Fun - http_mt_server_cgi.fun
@ -10,21 +10,11 @@ description: Documentation for http_mt_server_cgi.fun
permalink: /documentation/examples/net/http_mt_server_cgi/ permalink: /documentation/examples/net/http_mt_server_cgi/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - http_mt_server_cgi
- installation - network
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# http_mt_server_cgi.fun
- Location: examples/net/http_mt_server_cgi.fun - Location: examples/net/http_mt_server_cgi.fun
- Category: Networking / HTTP with CGI (multi-threaded) - Category: Networking / HTTP with CGI (multi-threaded)

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - http_server.fun title: Fun - http_server.fun
@ -10,21 +10,11 @@ description: Documentation for http_server.fun
permalink: /documentation/examples/net/http_server/ permalink: /documentation/examples/net/http_server/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - http_server
- installation - network
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# http_server.fun
- Location: examples/net/http_server.fun - Location: examples/net/http_server.fun
- Category: Networking / HTTP (blocking) - Category: Networking / HTTP (blocking)

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - http_server_cgi.fun title: Fun - http_server_cgi.fun
@ -10,21 +10,11 @@ description: Documentation for http_server_cgi.fun
permalink: /documentation/examples/net/http_server_cgi/ permalink: /documentation/examples/net/http_server_cgi/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - http_server_cgi
- installation - network
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# http_server_cgi.fun
- Location: examples/net/http_server_cgi.fun - Location: examples/net/http_server_cgi.fun
- Category: Networking / HTTP with CGI (blocking) - Category: Networking / HTTP with CGI (blocking)

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - http_server_cgi_lib.fun title: Fun - http_server_cgi_lib.fun
@ -10,21 +10,11 @@ description: Documentation for http_server_cgi_lib.fun
permalink: /documentation/examples/net/http_server_cgi_lib/ permalink: /documentation/examples/net/http_server_cgi_lib/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - http_server_cgi_lib
- installation - network
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# http_server_cgi_lib.fun
- Location: examples/net/http_server_cgi_lib.fun - Location: examples/net/http_server_cgi_lib.fun
- Category: Networking / HTTP with CGI (blocking, stdlib helpers) - Category: Networking / HTTP with CGI (blocking, stdlib helpers)

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - http_static_server.fun title: Fun - http_static_server.fun
@ -10,21 +10,11 @@ description: Documentation for http_static_server.fun
permalink: /documentation/examples/net/http_static_server/ permalink: /documentation/examples/net/http_static_server/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - http_static_server
- installation - network
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# http_static_server.fun
- Location: examples/net/http_static_server.fun - Location: examples/net/http_static_server.fun
- Category: Networking / Sockets - Category: Networking / Sockets

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - HTTP server examples: architecture and how they work title: Fun - HTTP server examples: architecture and how they work
@ -10,21 +10,16 @@ description: Documentation for HTTP server examples, architecture and how they w
permalink: /documentation/examples/net/httpserver/ permalink: /documentation/examples/net/httpserver/
lang: en lang: en
tags: tags:
- documentation - architecture
- handbook - example
- installation - examples
- usage - http
- introduction - network
- help - server
- guide - they
- howto - work
- docs
- specifications
- specs
- repl
--- ---
# HTTP server examples: architecture and how they work
This guide explains the HTTP server examples under `./examples/net/http_*` and the supporting standard library modules under `./lib/net/`. This guide explains the HTTP server examples under `./examples/net/http_*` and the supporting standard library modules under `./lib/net/`.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - objects_basic.fun — overview title: Fun - objects_basic.fun — overview
@ -10,21 +10,10 @@ description: Documentation for objects_basic.fun — overview
permalink: /documentation/examples/objects_basic/ permalink: /documentation/examples/objects_basic/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - objects_basic
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# objects_basic.fun — overview
What it shows What it shows
- OO basics: defining objects, fields, and invoking methods. - OO basics: defining objects, fields, and invoking methods.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - objects_more.fun — overview title: Fun - objects_more.fun — overview
@ -10,21 +10,10 @@ description: Documentation for objects_more.fun — overview
permalink: /documentation/examples/objects_more/ permalink: /documentation/examples/objects_more/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - objects_more
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# objects_more.fun — overview
What it shows What it shows
- Additional object patterns: composition, methods, and utilities. - Additional object patterns: composition, methods, and utilities.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - os_env.fun — overview title: Fun - os_env.fun — overview
@ -10,21 +10,10 @@ description: Documentation for os_env.fun — overview
permalink: /documentation/examples/os_env/ permalink: /documentation/examples/os_env/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - os_env
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# os_env.fun — overview
What it shows What it shows
- Reading and writing environment variables from the operating system. - Reading and writing environment variables from the operating system.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - process_example.fun — overview title: Fun - process_example.fun — overview
@ -10,21 +10,10 @@ description: Documentation for process_example.fun — overview
permalink: /documentation/examples/process_example/ permalink: /documentation/examples/process_example/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - process_example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# process_example.fun — overview
What it shows What it shows
- Spawning and capturing subprocess output; simple process management. - Spawning and capturing subprocess output; simple process management.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - progress.fun — overview title: Fun - progress.fun — overview
@ -10,21 +10,10 @@ description: Documentation for progress.fun — overview
permalink: /documentation/examples/progress/ permalink: /documentation/examples/progress/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - progress
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# progress.fun — overview
What it shows What it shows
- Simple progress display in the terminal. - Simple progress display in the terminal.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - progress_inline.fun — overview title: Fun - progress_inline.fun — overview
@ -10,21 +10,10 @@ description: Documentation for progress_inline.fun — overview
permalink: /documentation/examples/progress_inline/ permalink: /documentation/examples/progress_inline/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - progress_inline
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# progress_inline.fun — overview
What it shows What it shows
- Inline progress updates (same line updates) for simple terminal UIs. - Inline progress updates (same line updates) for simple terminal UIs.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - random_demo.fun — overview title: Fun - random_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for random_demo.fun — overview
permalink: /documentation/examples/random_demo/ permalink: /documentation/examples/random_demo/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - random_demo
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# random_demo.fun — overview
What it shows What it shows
- Random number generator usage and seeding basics. - Random number generator usage and seeding basics.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - random_number_example.fun — overview title: Fun - random_number_example.fun — overview
@ -10,21 +10,10 @@ description: Documentation for random_number_example.fun — overview
permalink: /documentation/examples/random_number_example/ permalink: /documentation/examples/random_number_example/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - random_number_example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# random_number_example.fun — overview
What it shows What it shows
- Generating random numbers and printing them; small utility demo. - Generating random numbers and printing them; small utility demo.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - regex_demo.fun — overview title: Fun - regex_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for regex_demo.fun — overview
permalink: /documentation/examples/regex_demo/ permalink: /documentation/examples/regex_demo/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - regex_demo
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# regex_demo.fun — overview
What it shows What it shows
- Regex helpers usage; simple matching and replacement tasks. - Regex helpers usage; simple matching and replacement tasks.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - regex_procedural.fun — overview title: Fun - regex_procedural.fun — overview
@ -10,21 +10,10 @@ description: Documentation for regex_procedural.fun — overview
permalink: /documentation/examples/regex_procedural/ permalink: /documentation/examples/regex_procedural/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - regex_procedural
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# regex_procedural.fun — overview
What it shows What it shows
- Procedural approach to regex work: compiling patterns and iterating matches. - Procedural approach to regex work: compiling patterns and iterating matches.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - rust_hello.fun — overview title: Fun - rust_hello.fun — overview
@ -10,21 +10,10 @@ description: Documentation for rust_hello.fun — overview
permalink: /documentation/examples/rust_hello/ permalink: /documentation/examples/rust_hello/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - rust_hello
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# rust_hello.fun — overview
What it shows What it shows
- Using Rust opcodes from Fun (when built with Rust support). - Using Rust opcodes from Fun (when built with Rust support).

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - rust_hello_args.fun — overview title: Fun - rust_hello_args.fun — overview
@ -10,21 +10,10 @@ description: Documentation for rust_hello_args.fun — overview
permalink: /documentation/examples/rust_hello_args/ permalink: /documentation/examples/rust_hello_args/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - rust_hello_args
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# rust_hello_args.fun — overview
What it shows What it shows
- Passing arguments into Rust-backed opcodes and handling returns. - Passing arguments into Rust-backed opcodes and handling returns.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - rust_hello_args_return.fun — overview title: Fun - rust_hello_args_return.fun — overview
@ -10,21 +10,10 @@ description: Documentation for rust_hello_args_return.fun — overview
permalink: /documentation/examples/rust_hello_args_return/ permalink: /documentation/examples/rust_hello_args_return/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - rust_hello_args_return
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# rust_hello_args_return.fun — overview
What it shows What it shows
- Demonstrates returning values from Rust-backed opcodes with arguments. - Demonstrates returning values from Rust-backed opcodes with arguments.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - serial_demo.fun — overview title: Fun - serial_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for serial_demo.fun — overview
permalink: /documentation/examples/serial_demo/ permalink: /documentation/examples/serial_demo/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - serial_demo
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# serial_demo.fun — overview
What it shows What it shows
- Serial port access and basic read/write (when available on your system). - Serial port access and basic read/write (when available on your system).

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - short_circuit_test.fun — overview title: Fun - short_circuit_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for short_circuit_test.fun — overview
permalink: /documentation/examples/short_circuit_test/ permalink: /documentation/examples/short_circuit_test/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - short_circuit_test
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# short_circuit_test.fun — overview
What it shows What it shows
- Boolean evaluation order and short-circuit behavior with && and ||. - Boolean evaluation order and short-circuit behavior with && and ||.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - signed_ints.fun — overview title: Fun - signed_ints.fun — overview
@ -10,21 +10,10 @@ description: Documentation for signed_ints.fun — overview
permalink: /documentation/examples/signed_ints/ permalink: /documentation/examples/signed_ints/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - signed_ints
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# signed_ints.fun — overview
What it shows What it shows
- Signed integer types and operations; ranges and conversions. - Signed integer types and operations; ranges and conversions.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - stdlib_showcase.fun — overview title: Fun - stdlib_showcase.fun — overview
@ -10,21 +10,10 @@ description: Documentation for stdlib_showcase.fun — overview
permalink: /documentation/examples/stdlib_showcase/ permalink: /documentation/examples/stdlib_showcase/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - stdlib_showcase
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# stdlib_showcase.fun — overview
What it shows What it shows
- Sampler of common standard library modules and utilities. - Sampler of common standard library modules and utilities.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - strings_test.fun — overview title: Fun - strings_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for strings_test.fun — overview
permalink: /documentation/examples/strings_test/ permalink: /documentation/examples/strings_test/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - strings_test
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# strings_test.fun — overview
What it shows What it shows
- String helpers and edge cases; splitting, joining, trimming, and formatting. - String helpers and edge cases; splitting, joining, trimming, and formatting.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - tcp_http_get.fun — overview title: Fun - tcp_http_get.fun — overview
@ -10,21 +10,10 @@ description: Documentation for tcp_http_get.fun — overview
permalink: /documentation/examples/tcp_http_get/ permalink: /documentation/examples/tcp_http_get/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - tcp_http_get
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# tcp_http_get.fun — overview
What it shows What it shows
- Manual HTTP client over raw TCP sockets: connect, write request, read response. - Manual HTTP client over raw TCP sockets: connect, write request, read response.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - tcp_http_get_class.fun — overview title: Fun - tcp_http_get_class.fun — overview
@ -10,21 +10,10 @@ description: Documentation for tcp_http_get_class.fun — overview
permalink: /documentation/examples/tcp_http_get_class/ permalink: /documentation/examples/tcp_http_get_class/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - tcp_http_get_class
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# tcp_http_get_class.fun — overview
What it shows What it shows
- Manual HTTP client implemented with a small helper class over sockets. - Manual HTTP client implemented with a small helper class over sockets.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - test_bits.fun — overview title: Fun - test_bits.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_bits.fun — overview
permalink: /documentation/examples/test_bits/ permalink: /documentation/examples/test_bits/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - test_bits
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# test_bits.fun — overview
What it shows What it shows
- Bitwise utilities demonstration (and/or/xor/shifts) and small tests. - Bitwise utilities demonstration (and/or/xor/shifts) and small tests.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - test_dec_to_hex.fun — overview title: Fun - test_dec_to_hex.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_dec_to_hex.fun — overview
permalink: /documentation/examples/test_dec_to_hex/ permalink: /documentation/examples/test_dec_to_hex/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - test_dec_to_hex
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# test_dec_to_hex.fun — overview
What it shows What it shows
- Decimal to hexadecimal conversion helper/tests. - Decimal to hexadecimal conversion helper/tests.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - test_hex_to_dec.fun — overview title: Fun - test_hex_to_dec.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_hex_to_dec.fun — overview
permalink: /documentation/examples/test_hex_to_dec/ permalink: /documentation/examples/test_hex_to_dec/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - test_hex_to_dec
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# test_hex_to_dec.fun — overview
What it shows What it shows
- Hexadecimal to decimal conversion helper/tests. - Hexadecimal to decimal conversion helper/tests.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - test_include.fun — overview title: Fun - test_include.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_include.fun — overview
permalink: /documentation/examples/test_include/ permalink: /documentation/examples/test_include/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - test_include
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# test_include.fun — overview
What it shows What it shows
- Small include mechanics test; ensures local and stdlib includes work. - Small include mechanics test; ensures local and stdlib includes work.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - test_rol.fun — overview title: Fun - test_rol.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_rol.fun — overview
permalink: /documentation/examples/test_rol/ permalink: /documentation/examples/test_rol/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - test_rol
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# test_rol.fun — overview
What it shows What it shows
- Bit rotation (ROL) helper/tests. - Bit rotation (ROL) helper/tests.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - test_serial.fun — overview title: Fun - test_serial.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_serial.fun — overview
permalink: /documentation/examples/test_serial/ permalink: /documentation/examples/test_serial/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - test_serial
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# test_serial.fun — overview
What it shows What it shows
- Serial port test; opens a port and exchanges a few bytes (when available). - Serial port test; opens a port and exchanges a few bytes (when available).

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - test_shl.fun — overview title: Fun - test_shl.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_shl.fun — overview
permalink: /documentation/examples/test_shl/ permalink: /documentation/examples/test_shl/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - test_shl
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# test_shl.fun — overview
What it shows What it shows
- Bit shift left (SHL) helper/tests. - Bit shift left (SHL) helper/tests.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - test_types.fun — overview title: Fun - test_types.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_types.fun — overview
permalink: /documentation/examples/test_types/ permalink: /documentation/examples/test_types/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - test_types
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# test_types.fun — overview
What it shows What it shows
- Type checks and simple assertions around type behavior. - Type checks and simple assertions around type behavior.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - test_xor.fun — overview title: Fun - test_xor.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_xor.fun — overview
permalink: /documentation/examples/test_xor/ permalink: /documentation/examples/test_xor/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - test_xor
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# test_xor.fun — overview
What it shows What it shows
- Bitwise XOR helper/tests. - Bitwise XOR helper/tests.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - thread_class_example.fun — overview title: Fun - thread_class_example.fun — overview
@ -10,21 +10,10 @@ description: Documentation for thread_class_example.fun — overview
permalink: /documentation/examples/thread_class_example/ permalink: /documentation/examples/thread_class_example/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - thread_class_example
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# thread_class_example.fun — overview
What it shows What it shows
- Threading building blocks using a small thread class; start/join patterns. - Threading building blocks using a small thread class; start/join patterns.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - threads_demo.fun — overview title: Fun - threads_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for threads_demo.fun — overview
permalink: /documentation/examples/threads_demo/ permalink: /documentation/examples/threads_demo/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - threads_demo
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# threads_demo.fun — overview
What it shows What it shows
- Threading building blocks and concurrent execution demo. - Threading building blocks and concurrent execution demo.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - try_catch_finally.fun — overview title: Fun - try_catch_finally.fun — overview
@ -10,21 +10,10 @@ description: Documentation for try_catch_finally.fun — overview
permalink: /documentation/examples/try_catch_finally/ permalink: /documentation/examples/try_catch_finally/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - try_catch_finally
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# try_catch_finally.fun — overview
What it shows What it shows
- Structured error handling with try/catch/finally blocks. - Structured error handling with try/catch/finally blocks.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - type_safety.fun — overview title: Fun - type_safety.fun — overview
@ -10,21 +10,10 @@ description: Documentation for type_safety.fun — overview
permalink: /documentation/examples/type_safety/ permalink: /documentation/examples/type_safety/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - type_safety
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# type_safety.fun — overview
What it shows What it shows
- Static/dynamic type checks and enforcing type safety in small examples. - Static/dynamic type checks and enforcing type safety in small examples.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - type_safety_fails.fun — overview title: Fun - type_safety_fails.fun — overview
@ -10,21 +10,10 @@ description: Documentation for type_safety_fails.fun — overview
permalink: /documentation/examples/type_safety_fails/ permalink: /documentation/examples/type_safety_fails/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - type_safety_fails
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# type_safety_fails.fun — overview
What it shows What it shows
- Examples that intentionally violate type expectations to illustrate safety checks. - Examples that intentionally violate type expectations to illustrate safety checks.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - typeof.fun — overview title: Fun - typeof.fun — overview
@ -10,21 +10,10 @@ description: Documentation for typeof.fun — overview
permalink: /documentation/examples/typeof/ permalink: /documentation/examples/typeof/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - typeof
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# typeof.fun — overview
What it shows What it shows
- Type inspection using typeof and related helpers. - Type inspection using typeof and related helpers.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - typeof_features.fun — overview title: Fun - typeof_features.fun — overview
@ -10,21 +10,10 @@ description: Documentation for typeof_features.fun — overview
permalink: /documentation/examples/typeof_features/ permalink: /documentation/examples/typeof_features/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - typeof_features
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# typeof_features.fun — overview
What it shows What it shows
- A tour of typeof-related features and type introspection helpers. - A tour of typeof-related features and type introspection helpers.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - types_integers.fun — overview title: Fun - types_integers.fun — overview
@ -10,21 +10,10 @@ description: Documentation for types_integers.fun — overview
permalink: /documentation/examples/types_integers/ permalink: /documentation/examples/types_integers/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - types_integers
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# types_integers.fun — overview
What it shows What it shows
- Integer type families, ranges, and basic operations. - Integer type families, ranges, and basic operations.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - types_overview.fun — overview title: Fun - types_overview.fun — overview
@ -10,21 +10,10 @@ description: Documentation for types_overview.fun — overview
permalink: /documentation/examples/types_overview/ permalink: /documentation/examples/types_overview/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - types_overview
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# types_overview.fun — overview
What it shows What it shows
- Overview of language types with small examples. - Overview of language types with small examples.

View file

@ -1,7 +1,7 @@
--- ---
layout: page layout: page
published: true published: true
noToc: true noToc: false
noComments: false noComments: false
noDate: false noDate: false
title: Fun - uint_types.fun — overview title: Fun - uint_types.fun — overview
@ -10,21 +10,10 @@ description: Documentation for uint_types.fun — overview
permalink: /documentation/examples/uint_types/ permalink: /documentation/examples/uint_types/
lang: en lang: en
tags: tags:
- documentation - example
- handbook - uint_types
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
--- ---
# uint_types.fun — overview
What it shows What it shows
- Unsigned integer types and operations; ranges and conversions. - Unsigned integer types and operations; ranges and conversions.

Some files were not shown because too many files have changed in this diff Show more