roc/src/base
2025-11-26 20:04:11 -05:00
..
CommonEnv.zig Use extern for serialized structs 2025-11-22 12:30:32 -05:00
DataSpan.zig Use extern for serialized structs 2025-11-22 12:30:32 -05:00
Ident.zig Fixes for growable interners 2025-11-26 19:48:43 -05:00
mod.zig Rename NumLiteral to Nominal 2025-11-22 14:48:53 -05:00
PackedDataSpan.zig Use extern for serialized structs 2025-11-22 12:30:32 -05:00
parallel.zig rename std.ArrayList to std.array_list.Managed 2025-09-06 20:47:40 -05:00
README.md Update README's 2025-08-12 18:26:26 +10:00
Region.zig get rid of all deprecated things 2025-10-01 15:52:56 +02:00
RegionInfo.zig WIP 2025-08-10 11:40:44 +10:00
safe_memory.zig WIP 2025-08-10 11:40:44 +10:00
Scratch.zig Use extern for serialized structs 2025-11-22 12:30:32 -05:00
SExprTree.zig fix zig build roc 2025-10-17 13:41:28 +02:00
SmallStringInterner.zig Use a debug helper to detect bad intern isnerts 2025-11-26 20:04:11 -05:00
StringLiteral.zig Use extern for serialized structs 2025-11-22 12:30:32 -05:00
target.zig WIP 2025-08-10 11:40:44 +10:00

Base

Foundation utilities and common functionality used throughout the Roc compiler.

Overview

The base module provides essential utilities, data structures, and abstractions that are used across multiple stages of the Roc compiler. It serves as a shared foundation that other modules depend on.

Purpose

This module provides:

  • Common Data Structures: Shared data structures and collections used throughout the compiler
  • Memory Management: Safe memory allocation and management utilities
  • Parallel Processing: Utilities for parallel execution and work distribution
  • Error Handling: Common error types and error handling patterns
  • Debugging Support: Debugging and logging utilities
  • Platform Abstractions: Cross-platform abstractions for common operations