Matyáš Pokorný a1ca700bff
Add logger trait (#93)
Introduced a new `Logger` trait which can be used to access all log events
emitted during compilation. Currently these only include messages emitted by the
`@debug` and `@warn` statements.

Changes were implemented in a backwards-compatible manner, but the current
`Options::quiet` method has been marked as deprecated, as its behavior can be
achieved using the `NullLogger` structure. The default logger used is
`StdLogger` which writes all log events to standard error. This reflect the
default behavior prior to introduction of `Logger`.

With these new changes, it is also now possible to properly test the `@debug`
and `@warn` statements.
2024-05-18 23:44:40 -04:00
..
2024-05-18 23:44:40 -04:00
2024-02-07 05:26:21 +00:00
2023-01-07 19:47:32 +00:00
2023-02-18 15:09:23 -05:00

grass_compiler

This crate exposes the internals of the main package, grass. For most users, the preferred crate should be grass, as it is more stable and has a simpler API.

This crate will see frequent breaking changes.

Documentation
crates.io