Skip to content

Consider developing a more sophisticated INFO/WARN/ERROR system for compiler issues #677

Open
@chrisrink10

Description

@chrisrink10

Currently, info messages and warnings are simply emitted by the Basilisp compiler (analyzer) logger, which is just a standard Python logger. Errors are generally exceptions which immediately stop the compilation process.

It may be worthwhile to think about collecting those errors via the Context object, rather than having them emitted simply as text warnings. As it stands, there's no easy way to (say) configure a warning as an error and stop compilation.

Also, warnings are all added relatively ad-hoc and each have their own custom flags. It may be worth considering having a standard warning/error naming system.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions