Skip to content

Commit 77a6210

Browse files
Add REAMDE to src\.
1 parent 9c01602 commit 77a6210

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

src/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Folder layout
2+
-------------
3+
4+
- `ast.c`: Implements abstract-syntax-tree node structures and helpers.
5+
- `ast.h`: AST type declarations and the public AST API.
6+
- `builtins.c`: Definitions for builtin operators and runtime utilities.
7+
- `builtins.h`: Declarations and registration helpers for builtins.
8+
- `common.h`: Common macros, small utilities, and portability helpers.
9+
- `env.c`: Environment (scope) implementation: frames, bindings, closures.
10+
- `env.h`: Public environment API: create, lookup, assign, destroy.
11+
- `extensions.c`: Runtime extension loader and native-API bridge code.
12+
- `extensions.h`: Extension registration and lookup interfaces.
13+
- `interpreter.c`: The evaluator implementing runtime semantics and application.
14+
- `interpreter.h`: Evaluator public API and evaluation entry points.
15+
- `lexer.c`: Tokenizer converting source text into tokens for the parser.
16+
- `lexer.h`: Lexer API and token definitions.
17+
- `main.c`: Program entry point: CLI, initialization, REPL and script runner.
18+
- `ns_buffer.c`: Small buffer utilities for building identifiers and strings.
19+
- `ns_buffer.h`: Public API for the namespace/string buffer utilities.
20+
- `parser.c`: Parser that constructs the AST from tokens and reports errors.
21+
- `parser.h`: Parser public API and related error/type definitions.
22+
- `prefix_extension.h`: ABI and helper macros for native Prefix extensions.
23+
- `prefix_runtime.def`: Windows module-definition file listing exported symbols.
24+
- `README.md`: This file.
25+
- `token.c`: Token helpers: creation, copying, printing and utilities.
26+
- `token.h`: Token data structures and token-type enum.
27+
- `value.c`: Runtime `Value` representation and operations.
28+
- `value.h`: `Value` type definition and helpers for manipulating values.
29+
- `win32_shim.h`: Minimal Win32 compatibility shim and portability helpers.

0 commit comments

Comments
 (0)