3 ms·
Does zig have tooling to serve a language server? It would be cool to get IDE support.
by gravypod 8y ago
Does zig have tooling to serve a language server? It would be cool to get IDE support.
- AndyKelley 8y agoIt's [planned](https://github.com/ziglang/zig/issues/615 https://github.com/ziglang/zig/issues/615). The feature will only be present in the self-hosted compiler, not the "stage1" C++ compiler, which is what is currently shipped. It'll be especially well suited for this kind of thing because the self-hosted compiler is a long running process that watches files for changes and rebuilds incrementally. [1 minute demo of early progress](https://www.youtube.com/watch?v=b_Pm29crq6Q https://www.youtube.com/watch?v=b_Pm29crq6Q).
- gravypod 8y agoThat's a very interesting architecture for compiler. Is that code in your github repo?
- AndyKelley 8y agoYes: https://github.com/ziglang/zig/tree/master/src-self-hosted https://github.com/ziglang/zig/tree/master/src-self-hosted Right now progress is blocking on [The Coroutine Rewrite Issue](https://github.com/ziglang/zig/issues/2377 https://github.com/ziglang/zig/issues/2377).
- vxNsr 8y agoJust so you know HN doesn't support reddit markup for links, you can only post the url for the link directly, not highlight text. That's why most ppl here use a footnote index to post links [0][1][2]etc [0] [1] [2]
- deathanatos 8y agoIt's not "reddit markup", it's just Markdown. A rather common format, not specific to Reddit. And honestly, I wish HN would grow a few features in this area — links and blockquote would be really nice. It'd be good to have common formatting s.t. common formatting can just get out of the way, so that we can all focus on the discussion, instead of parsing text with our eyeballs. (FWIW, M↓ is supposed to be lightweight enough that it's readable inline. The links can get a little long, but I think it's not too hard to skip, and it does have the upshot of not making you have to match up citation numbers. But you're right that the numbered format is more common among posters.)
- vxNsr 8y agoI guess I should have checked how long you were around before lecturing you. Personally I like the lightweightness of HN comments, it forces the content to be good over everything else.