4 releases
0.1.0 | Sep 15, 2022 |
---|---|
0.0.2 | Oct 25, 2022 |
0.0.1 | Sep 19, 2022 |
0.0.0 | Sep 19, 2022 |
#161 in Programming languages
974 downloads per month
Used in 2 crates
(via compiler_base_error)
21KB
424 lines
reuse rustc_errors
in Compiler_Base.
note: [WIP] Do not use it.
lib.rs
:
Text rendering and related helper functions.
Reuse 'styled_buffer.rs' in 'rustc_errors', and 'styled_buffer.rs' has been modified to fit the feature of 'Compiler-Base'.
-
add method
appendl()
andpushs()
toStyledBuffer
. -
replaced the
enum Style
with genericsT: Clone + PartialEq + Eq + Style
to support extending more styles.StyledBuffer
still should be valid when facing the user-defined style, rather than just supporting a built-inenum Style
. -
add some test cases for 'StyledBuffer'.
Dependencies
~105KB