How janestreet/core works
Jane Street Core is a foundational OCaml library, not an end-user application. Its principal use is for OCaml programs to call reusable APIs for collections, serialization, time, errors, and system-level utilities. The tree also contains separate validation, filename, command-line, and heap-block packages. The README is empty and most OCaml implementations were not excerpted, so the graph groups those APIs by documented-in-tree module names and limits call relationships to the sampled runtime and C code.
Main entry points: bigstring_stubs.c Bigstring · timezone_js_loader_stubs.js Timezone JS bindings · runtime.js JS runtime bindings
Components 19
Core APIs
- Collections
core/src - Serialization
core/src - Errors and validation
core/src - Strings and numbers
core/src - System utilities
core/src
Time and formatting
- Time types
core/src - Timezone support
core/src - Date formatting
core/src/strftime.js
Runtime support
- Bigstring
core/src/bigstring_stubs.c - JS runtime bindings
core/src/runtime.js - GC bindings
core/src/gc_stubs.c - MD5
core/src/md5_stubs.c - Timezone JS bindings
core/src/timezone_js_loader_stubs.js
Related packages
- Filename utilities
filename_base/src - Validation package
validate/src - Command-line package
command/src - Heap-block utilities
heap_block/heap_block_stubs.c
Other components
- OCaml programs
- Temporal API
Connections 3
- Bigstring → JS runtime bindings: has JS support
core/src/runtime.js - Bigstring → Bigstring: uses declarations
core/src/bigstring_stubs.c - Timezone JS bindings → Temporal API: uses API
core/src/timezone_js_loader_stubs.js