#compiler #symbols #debugging #render #petr

petr-utils

common utilities for the petr compiler and tooling

1 unstable release

0.1.0 Jul 23, 2024

#2077 in Programming languages

44 downloads per month
Used in 13 crates (9 directly)

MIT license

19KB
542 lines

Turning on the "Debug" feature for this crate will use an inefficient global lock to store the symbol names and render them as readable. For production uses, these IDs are turned into usizes. Trait for pretty-printing compiler internals Primarily used for testing and debugging purposes

Dependencies

~2.5MB
~39K SLoC