#solidity #compiler #ethereum #crypto #solc #string-interning

solar-interface

Source positions, diagnostics, and related helper functions

2 unstable releases

0.1.0 Nov 8, 2024
0.0.0-reserved Oct 22, 2024

#910 in Magic Beans

Download history 102/week @ 2024-10-17 32/week @ 2024-10-24 2/week @ 2024-10-31 152/week @ 2024-11-07 448/week @ 2024-11-14

667 downloads per month
Used in 7 crates (5 directly)

MIT/Apache

260KB
5.5K SLoC

solar-interface

Source positions, diagnostics, and related helper functions.

Important concepts in this module include:

  • the span, represented by Span and related types;
  • source code as represented by a SourceMap; and
  • interned strings, represented by Symbols, with some common symbols available statically in the [sym] module.

Dependencies

~8–14MB
~173K SLoC