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

solar-interface

Source positions, diagnostics, and related helper functions

3 unstable releases

0.1.1 Jan 5, 2025
0.1.0 Nov 8, 2024
0.0.0-reserved Oct 22, 2024

#7 in #solc

Download history 6/week @ 2024-10-28 102/week @ 2024-11-04 74/week @ 2024-11-11 914/week @ 2024-11-18 949/week @ 2024-11-25 893/week @ 2024-12-02 1886/week @ 2024-12-09 1597/week @ 2024-12-16 1238/week @ 2024-12-23 1178/week @ 2024-12-30 2638/week @ 2025-01-06 2094/week @ 2025-01-13 2978/week @ 2025-01-20 3202/week @ 2025-01-27 2371/week @ 2025-02-03 2765/week @ 2025-02-10

11,564 downloads per month
Used in 7 crates (5 directly)

MIT/Apache

295KB
6.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–16MB
~175K SLoC