Skip to main content

Module csv_module

Module csv_module 

Source
Expand description

Native csv module for CSV parsing and serialization.

Phase 2d Array cluster migration: parse, stringify, read_file, and is_valid ported to the typed marshal layer using TypedArrayData::String (rows of strings) inside the-deleted-heterogeneous-element-carrier (array of rows).

Stage C HashMap-marshal P1(b) activation (2026-05-07): parse_records and stringify_records activated using HeapValue::HashMap(HashMapData) variant. Each record is Arc<HeapValue::HashMap> carrying string keys (header row) → string values (record fields). Insertion order preserved via the eager-bucket-only HashMapData buffer pair.

Tests deferred — ValueWord-based test fixtures can’t compile and aren’t reconstructed until the shape-vm cascade provides a typed test harness, mirroring the file_ops migration in commit d716482.

Functions§

create_csv_module
Create the csv module with CSV parsing and serialization functions.