transmute-industries / vscode-scitt-preview

View CBOR Extended Diagnostic Notation (EDN) for `.cbor` files in VSCode.
https://github.com/transmute-industries/vscode-scitt-preview
MIT License
2 stars 2 forks source link

Navigating Nested Packed Binaries #5

Open OR13 opened 9 months ago

OR13 commented 9 months ago

Using the virtual document feature of vscode, a user should be able to explore packed binary by clicking any encoded part of the EDN, for example, navigating from the EDN for a cose sign 1, to the EDN of the protected header.

OR13 commented 9 months ago

I implemented a naive AST that supports this here: https://github.com/transmute-industries/edn-graph

Probably need to drop the literal values, and add back elided and commented strings before attempting to build a tree renderer.