notinaboat

Results 19 comments of notinaboat

> in CInclude.jl I've implemented a tiny inline C++ program to get macro-values. > [...] > Also of interest is this C REPL I found today: https://root.cern/cling/ The problem with...

> As for the interpreter , some work has been done in [Gnimuc/ClangCompiler.jl#16](https://github.com/Gnimuc/ClangCompiler.jl/pull/16), but not finished. Looks good, I will look forward to this!

Clang.jl also inherits Julia's behaviour of converting hexadecimal constants to the smallest possible unsigned type (In C they are `int`). e.g. `SA_RESTART` in the example above.

Cling is now available as a jll: https://github.com/JuliaBinaryWrappers/Cling_jll.jl Currently working on intel macOS and linux. Detail here: https://github.com/JuliaPackaging/Yggdrasil/blob/master/C/Cling/build_tarballs.jl#L102-L117

@cmazakas, are you suggesting that you will submit a PR to `axboe/liburing` that contains the ` rio_io_uring_*()` functions from your [`rio/src/liburing/lib.c`](https://github.com/cmazakas/rio/blob/main/src/liburing/lib.c) ? This would be great! (I assume the `rio_`...

@DylanZA, the problem I encountered when I started along the path of translating inline functions was that I quickly arrived at macro code that is all magical gcc attributes built-in...

Related to https://github.com/aws-amplify/amplify-hosting/issues/1927 It seems that Amplify has a hidden rewrite rule that adds a '/' to any URL without a file extension. e.g. `/foo/bar` -> `/foo/bar/`

It might also be useful to point out in the README that on Linux you can just open the serial port using `Base.open` ```julia run(`stty -F /dev/ttyS0 38400 raw`) serial_in...

Related: using the `cling` interpreter to resolve `#define` values... https://github.com/JuliaInterop/Clang.jl/issues/309#issuecomment-1321300707 Cling is now available as a jll: https://github.com/JuliaBinaryWrappers/Cling_jll.jl Currently working on Linux and on intel macOS. Detail here: https://github.com/JuliaPackaging/Yggdrasil/blob/master/C/Cling/build_tarballs.jl#L102-L117