-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
A minimal incremental interface has the following qualities:
- Treats a
WhileyFile
instance as a sequence of bytes - Supports modification through
Delta
s. - Propagates
Delta
s through the internal structures. - Can recompute all internal structures from scratch if necessary.
That means we need to incrementalise the internal structures. In essence, we have a few:
- (Lexer). This maps
u8
sequences toToken
sequences. - (Parser). This maps
Token
sequences toSyntacticHeap
instances. - (Type Checker). This infers supplementary information from the
SyntacticHeap
.
The starting point is perhaps to test out a simple mapping from byte sequences to tokens using delta_inc
.
Metadata
Metadata
Assignees
Labels
No labels