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

solar-interface

Source positions, diagnostics, and related helper functions

2 unstable releases

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

#45 in Magic Beans

Download history 122/week @ 2024-10-20 14/week @ 2024-10-27 87/week @ 2024-11-03

223 downloads per month
Used in 5 crates

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