Jan Ph. H.
Jan Ph. H.
> I think someone mentioned in a talk/chat/issue providing support for this at the compiler level ? Zig itself will provide zls lsp capabilities and more, because its tricky to...
For zig-reduce I will write `src/Ast->src/translate_c/ast` conversion routine, which allows to poke directly in the tree. At least how I understand it, `render()` in `src/translate_c.zig` retains the node structure, but...
See https://rdambrosio016.github.io/rust/2020/09/18/pure-ast-based-linting-sucks.html#so-how-does-a-linter-work for another approach. I do see 2 potential main problems in the design space of Zig parser: - 1. Makes error recovery for a parser very constrained -...
> Perhaps opening a new issue would make sense? I'll make one once I have perf numbers up to AST (from my zig-reduce stuff), such that we are not only...
@hnrw Did you use the corresponding tag for the checkout (v12.1.2)? If yes: Can you check, if files are identical of the tag to the crates.io release? You can use...
@TheAlgorythm This requires providing parsers for all languages and the optimal solution is to use treesitter and see, if parsing the file as one language has no errors. You can...
@BenStigsen Is there a reason, why you cant recursively search for file endings with `fd` and rename them or keep a separate list and use a shell script to count...
> I think that can only be done in a macro, but maybe there's a better way Conditional compilation requires `cfg`-macro to define the data layout, so there is no...
Apparently it has been fixed on "2.36 release branch", but the next bug release is likely some time off (2.36.1 with 23 day since 2.36): https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E See also https://github.com/lxc/lxc/issues/4176 https://aur.archlinux.org/packages/qemu-user-static
@sstadick cool stuff and thanks for the quick reply. [This application has a well deserved place + use cases](https://github.com/matu3ba/awesome-cli-rust#daily-usage). Some feedback on the TODOs, since they kinda are related about...