Add core JavaScript built-in objects
Implements essential built-in objects for JavaScript runtime:
Built-in Objects:
- Math: All constants (PI, E, LN2, etc.) and methods (sin, cos, sqrt, etc.)
- Array: Constructor, prototype methods (push, pop, map, filter, etc.)
- String: Constructor, prototype methods (slice, trim, split, etc.)
- Object: Constructor, static methods (keys, values, entries, freeze, etc.)
- console: log, error, warn, time/timeEnd, etc.
Infrastructure:
- Add native function support to value system (Data_native_function)
- Update interpreter to call native functions
- Add builtins initialization module (init.ml)
Global functions:
- isNaN, isFinite, parseInt, parseFloat
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>