semantic icon indicating copy to clipboard operation
semantic copied to clipboard

Distinguish between statements and expressions

Open robrix opened this issue 3 years ago • 1 comments

This doesn't apply to all languages, but it would be nice to distinguish between statements and expressions at the level of abstract domains.

The goal would be to avoid polluting the abstract domain with stuff that doesn't actually relate to it, e.g. imports.

robrix avatar Mar 10 '22 15:03 robrix

One possibility is simply to model them with instrumentation: an out-of-band effect notified of various events (e.g. an import was reached), with unit returned by each.

robrix avatar Mar 10 '22 16:03 robrix