Repository navigation
Expanded standard library, builtins, and stability improvements
This release is a major update with some breaking changes, that brings a new interface for builtin system interfaces and comes with an expanded set of standard library capabilities. You can try it at https://linus.zone/eval.
Go interfaces
- Simplified Go API with blocking methods -- especially
Context.Exec - Interpreter core APIs accept
io.Reader
Builtin interface overhaul
- Ink's string type is now just a binary byte array, capable of holding any binary data. like Lua strings.
- Ink's builtin functions that interface with the network and filesystem now represent binary data and files with Ink strings, which contain the binary data. This makes all operations that interface with these builtins orders of magnitude faster.
dir(),stat(), andmake()builtins for filesystem operations- Much more correct behavior for existing filesystem builtins
read()andwrite()
Other
- Updated standard library with optimizations
- Removed the
isoperator - JSON serializer/deserializer in samples
- Fixed stringification issues with strings that contain escaped characters
- Refactored internal types to be more consistent / simpler.