buzz
buzz copied to clipboard
👨🚀 buzz, A small/lightweight statically typed scripting language
- [X] `enum SocketProtocol { tcp, udp, ipc }` - [X] `Socket` object - [X] `Socket.init(str address, num port, SocketProtocol protocol) > Socket` - [ ] `Socket.initIpc(str path) > Socket`...
Allow `(Function() > str)?` to distinguish the two cases.
Right now if a fiber fails, we can only handle errors at the fiber creation site. Allow to handle error on any `resume` or `resolve`: ```buzz fun count(num n) >...
Right now the stack is a fixed array of 100 000 elements. - Detect when stack is overflowed - If under a high limit (lua is 1 000 000), realloc...
By rearranging the search path list, user-defined directories are searched first. In addition, we pass `"libX.so"` (no slashes) to `std.DynLib.open` to reuse the system-defined load order. "SDL2" will load "/usr/lib/x86_64-linux-gnu/libSDL2.so"...
closes #173
Not really useful in an object declaration since we can self reference there, but useful in protocols where we want to reference the actual object type. ```buzz protocol Clonable {...
- We already have an available tag for errors in `Value` - The parsing and type checking would not be impacted - **We could get rid of `setjmp`/`longjmp`** - Throwing...