#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

#983 in Magic Beans

Download history 69/week @ 2024-10-16 65/week @ 2024-10-23 2/week @ 2024-10-30 149/week @ 2024-11-06 454/week @ 2024-11-13 778/week @ 2024-11-20 875/week @ 2024-11-27 1282/week @ 2024-12-04 1779/week @ 2024-12-11 1481/week @ 2024-12-18 1304/week @ 2024-12-25 1726/week @ 2025-01-01 1989/week @ 2025-01-08

6,760 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–15MB
~176K SLoC