This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/compile: separate out phase of let clauses
This allows referring to lets later in scope, as the spec allows. By hindsight, a better mechanism would be to treat lets as arcs with special handling. This will preserve formatting information and will obviate the need for special caching to avoid exponential blowup. This can be done as an overall rework of making Vertex processing linear, instead of the current O(n^2). Change-Id: I7b5f04c3fb434425d9f1c53fc4b1c1f2d218ed25 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/6624 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org> Reviewed-by: CUE cueckoo <cueckoo@gmail.com>
- Loading branch information
Showing
3 changed files
with
56 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters