KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#deepseek-harness
#dsh-plugin
#open-source
#ai
#claude-code
#cli
#windows
#codex
#developer-tools
#dsh
spanr
★ 39
Open GitHub ↗
Procedural macro span debugger/visualizer
Download README (.md)
Explore Similar Repositories
CircularArray
:
Addon for Blender to create radial/circular arrays
BlazorGitHubPagesDemo
:
Sample repository for deploying ASP.NET Blazor WASM to GitHub Pages
ImmersiveMiracast
:
Easy immersive Miracast for Windows 10
ToggleTaskbar
:
Toggles the "Automatically hide the taskbar" setting and optionally hides it completely.
gitserver
:
A very simple git smart HTTP server
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
spanr
?
Download (.md)
# spanr A tool for procedural macro authors to be able to interactively view and debug the `Span`s on generated code. ## Screenshot  ## Example usage ```rust #[proc_macro_attribute] pub fn act_zero(_attr: TokenStream, item: TokenStream) -> TokenStream { let res = match act_zero_impl(item) { Ok(tokens) => tokens, Err(e) => e.to_compile_error(), }; // Save the visualization to a file spanr::save_html(res.clone(), "tokens.html").unwrap(); res.into() } ``` ## Building This crate relies on unstable features from the `proc-macro2` crate, so it must be built using a nightly compiler, and the `RUSTFLAGS` environment variable must be configured: ```bash RUSTFLAGS='--cfg procmacro2_semver_exempt' ```