ashn
ashn
Just my 2¢: I think bundling should be handled by a separate utility. Mapping `.tl` files one-to-one onto `.lua` files fits the textbook definition of a compiler and seems to...
I ran into this same issue recently. I believe that `send` is [overridden](https://github.com/milhead2/python-j1939/blob/f5f22a74eca538ef592e27be13428a16134a5ab8/j1939/__init__.py#L256) by `j1939.Bus` but `send_periodic` is not. I ended up writing a function that polls for received messages...
A better workaround was used in https://github.com/ashn-dot-dev/bubby/commit/afc18d96430c4d74059844c00f9a453d83b496a4. The size of both `std::hash_map` and `std::hash_set` is fixed regardless of the template types used, so `std::hash_map[[void, void]]` and `std::hash_set[[void]]` can be used...
I ran into a [similar problem in the past](https://github.com/ashn-dot-dev/nbnet-sunder/blob/46de1e037ff1f5aa6694a15be3e8020861d44e77/Makefile#L21). I belive adding `-D_GNU_SOURCE` to the list of flags passed to the C compiler should bring in the relevant definitions for...
Note that there is a non-comprehensive test, [`abi-function-casting.test.sunder`](https://github.com/ashn-dot-dev/sunder/blob/main/tests/abi-function-casting.test.sunder), which somewhat checks that the function-to-function casting is well behaved on supported platforms.
Consider using Justine Tunney's [jtckdint](https://github.com/jart/jtckdint), which implements `ckd_add`, `ckd_sub`, and `ckd_mul` in a C11 compatible manner without (necessarily) relying on `__builtin_*_overflow`. The library is licensed under the ISC license, which...
This was partially completed in 47291d40f3b3d2d1cfc0f034002ee6a45b7cf02f with the addition of the TCC backend, which does not have the `__builtin_*_overflow` builtins. When compiling with a C compiler that has `__GNUC__` defined,...
Thanks @mingodad, this is super cool! I didn't know about [rr](https://github.com/GuntherRademacher/rr)! I'm attaching a html->png conversion of the generated railroad diagram below for those who may be interested, but the...