enso/docs/semantics/diagnostics.md
2020-07-21 13:59:40 +01:00

1.1 KiB

layout title category tags order
developer-doc Diagnostics semantics
semantics
diagnostics
runtime
2

Diagnostics

Due to the highly interactive and always-online nature of a running Enso program, it is very important that compile diagnostics (such as lints, errors, and warnings) are surfaced in the running language. This is particularly important for visual mode.

To this end, Enso provides mechanisms by which diagnostics are scoped to the smallest possible program component, and are even translated into executable nodes in the interpreter so that they can be interacted with at runtime.

Warnings at Runtime

The actionables for this section are:

  • Specify how warnings behave at runtime.

Errors at Runtime

The actionables for this section are:

  • Specify how errors behave at runtime.
  • Talk about their limited scope and how they can be interacted with at runtime.