@sir wow this is really awesome.
I kinda suck at doing parsers so… is there a common specification of the output format or it's completely separated?
Kinda want to integrate it into the vis editor.
@sir fyi, the link on "not a context-free language" points to a page that doesn't exist.

tech musing 

tech musing 

tech musing 

@sir I did some tinkering yesterday on an implementation of this for Rust code. I doesn't work yet but I did set up the JSON generation and source parsing. The next step is to traverse the AST and generate the actual annotations.

https://git.sr.ht/~wezm/annotate-rust

@sir well, I'm aware that you ruled out Pygments due to python, and kythe has Java, but the schema and ideas might be useful, and it might be possible to consume kythe's output in sr.ht for people paying the Java/c++/bazel price.

Sign in to participate in the conversation
Mastodon

cmpwn.com is a private Mastodon instance for friends of SirCmpwn.