ucode
ucode copied to clipboard
JavaScript-like language with optional templating
When compiling logical assignment expressions, ensure that the rhs of the assignment is not evaluated when the assignment condition is unfulfilled. Signed-off-by: Jo-Philipp Wich
Adding a library inspired by Python's ctypes. The OpenWRT package [libffi](https://openwrt.org/packages/pkgdata/libffi) is 11kB. This implementation is still a draft. Is a libffi wrapper something you want to include in this...
Will it be possible to make arrow functions (`() => { ... }`) to keep the `this` context, as it is in javascript? ```js function methodA() { for (let item...
I've wrote a Typescript transformer for `ucode` as well as typings so that one can write `ucode` code with strict typings. I've also wrote a test library with spies and...
It would be nice to have a crypto lib with functions such as `md5(string)`, `md5_file(path)`, `sha256(string)`, `sha256_file(path)`, ...
Since ucode runs fine on macOS it could be added to homebrew. I ported it with this fun error message, however I'd keep this open as a reminder for myself...
Would it be possible to allow input via YAML-like files which follow the YAML-structure but but don't necessarily allow all the complexity of it? Specifically anchor and inheritance seem a...
Would it be possible to add support for using sockets in ucode? I am especially interested in ethernet sockets, I want to communicate with the management interface of a vdsl...
hi, compild libucode and output: In file included from /opt/ucode/lib.c:45: /opt/ucode/json-c-compat.h:28:22: error: static declaration of ‘json_tokener_get_parse_end’ follows non-static declaration 28 | static inline size_t json_tokener_get_parse_end(struct json_tokener *tok) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~...
I propose here a suite of functions that I found myself reaching for, and missing in the standard library. I present them in ucode, as that's how I use them;...