Goal
Rewrite the entire standard library in GL3. The intended end state is no C-backed stdlib modules; C should not be where stdlib behavior lives.
Current state
Most modules still live in builtins/*.c and are compiled/embedded as LLVM IR. builtins/strings.gl3 is the start of the GL3 stdlib direction.
Tasks
Notes
Compiler intrinsics or backend primitives can still exist where genuinely needed, but stdlib behavior itself should be authored in GL3 rather than C.
Refs: builtins/strings.gl3, builtins/*.c, STDLIB.md, Makefile.
Goal
Rewrite the entire standard library in GL3. The intended end state is no C-backed stdlib modules; C should not be where stdlib behavior lives.
Current state
Most modules still live in
builtins/*.cand are compiled/embedded as LLVM IR.builtins/strings.gl3is the start of the GL3 stdlib direction.Tasks
stringsfully in GL3.arraysfully in GL3.iofully in GL3 or define the minimal compiler/runtime primitive it needs to target.dbgfully in GL3 or decide whether it remains a temporary compiler/dev-only facility until removed..llas the stdlib source of truth.STDLIB.mdto match the GL3 implementations.Notes
Compiler intrinsics or backend primitives can still exist where genuinely needed, but stdlib behavior itself should be authored in GL3 rather than C.
Refs:
builtins/strings.gl3,builtins/*.c,STDLIB.md,Makefile.