bog
bog copied to clipboard
Small, strongly typed, embeddable language.
The dream would be to have Python like "batteries included" stdlib.
https://github.com/ziglibs/ansi-term - easy dealing with ANSI terminals. https://github.com/joachimschmidt557/zig-linenoise - line editing with hints, history, completions... Thoughts?
```julia [1,2,3] * 2 # -> [2,4,6] # maybe even [1,2,3] * [4,5,6] # -> [4, 10, 18] ```
`lazy` expressions would be the language level equivalent of `std.once`. The value of the expression would only be executed once and only if needed. These would mainly be beneficial for...
https://en.wikipedia.org/wiki/Control_flow#Loops I propose repeat/until as in Pacal & Lua. The great project, thank you!
E.g.: ```zig pub fn Vm(comptime intType: type, comptime floatType: type) { ... } var vm = bog.Vm(u128, f128).init(allocator, .{ .import_files = true }); ``` or ```zig pub fn Vm(comptime intBits:...
👋 looks like a very interesting project, any interest of tracking the stable zig and cut off a release for downstream package manager use? Thanks!
- Newest zig version remove or change some functions, so now bog can't build.
Excluding the first commit (the `@min` change) everything else is a combination of automatic fixes applied by `fmt` plus some manual changes - mostly removing `@as` where not needed. In...
A pretty simple mark-sweep garbage collector. In most cases this should be similarly performant to a bump allocator. The most interesting thing about it is the used/free object tracking, which...