Fun 0.41.5
The programming language that makes You have fun
Loading...
Searching...
No Matches
src Directory Reference
Directory dependency graph for src:
src

Directories

 
extensions
 
rust
 
vm

Files

 
array_utils.c
 Utility functions for operating on Value arrays.
 
bytecode.c
 Bytecode container utilities: creation, mutation, dump helpers.
 
bytecode.h
 Definitions for the Fun VM bytecode: opcodes, instruction format, and bytecode container API.
 
fun.c
 Command-line interface and entry point for the Fun interpreter.
 
fun_test.c
 Minimal bytecode-level test harness for core VM operations.
 
funstx.c
 Syntax checker and auto-fixer tool for Fun source files.
 
iter.c
 Iterator-style helpers exposed as built-ins (enumerate, zip).
 
map.c
 Simple string-keyed map implementation backing VAL_MAP Values.
 
parser.c
 Implements the Fun language parser that converts source code to bytecode.
 
parser.h
 Public API for parsing Fun source into bytecode.
 
parser_utils.c
 Low-level parsing helpers and include preprocessor for the Fun parser.
 
repl.c
 Interactive Read–Eval–Print Loop (REPL) for the Fun language.
 
repl.h
 Interactive Read-Eval-Print Loop (REPL) entry point.
 
str_utils.c
 Helpers for manipulating C strings and bridging with Value arrays.
 
string.c
 String built-ins wrappers used by VM opcodes.
 
test_opcodes.c
 Minimal executable exercising a subset of Fun VM opcodes.
 
value.c
 Implementation of the runtime Value type, including constructors, dynamic array/map utilities, copying, comparison, printing, and string conversion helpers.
 
value.h
 Defines the Value type and associated functions for the Fun VM.
 
vm.c
 Core virtual machine implementation and opcode dispatch for Fun.
 
vm.h
 Core virtual machine data structures and public VM API.