#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

#6 in #solc

Download history 122/week @ 2024-10-20 14/week @ 2024-10-27 90/week @ 2024-11-03 82/week @ 2024-11-10 861/week @ 2024-11-17 972/week @ 2024-11-24 830/week @ 2024-12-01 1692/week @ 2024-12-08

4,365 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
~172K SLoC