5 Commits

Author SHA1 Message Date
Connor Skees
e0f0be112a remove lifetime from lexer 2024-08-04 18:03:04 +00:00
Connor Skees
b63697548d minor api changes 2024-05-19 03:54:54 +00:00
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
connorskees
23abe152bd increase code coverage 2023-01-18 01:39:40 +00:00
connorskees
3c1b14406a convert to workspace 2023-01-07 19:47:32 +00:00