#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 736/week @ 2024-11-15 803/week @ 2024-11-22 967/week @ 2024-11-29 1547/week @ 2024-12-06 1728/week @ 2024-12-13 1046/week @ 2024-12-20 1374/week @ 2024-12-27 2363/week @ 2025-01-03 2189/week @ 2025-01-10 2781/week @ 2025-01-17 2902/week @ 2025-01-24 2914/week @ 2025-01-31 2409/week @ 2025-02-07 2856/week @ 2025-02-14 3531/week @ 2025-02-21 2037/week @ 2025-02-28

11,283 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

~9–15MB
~176K SLoC