Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/eval.odin
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import "core:strings"

// Tree-walking evaluator for the pure-expression core of SPEC.md. Deliberately
// scoped out for this pass (each needs real design/OS decisions this project
// hasn't made yet): `async`, `cached`, `import`, `serialize`/`serialize_file`/
// `sha256`, `#context`, `Bytes`/`File`, and the static-vs-runtime distinction
// for `check`/`static_check` (both just run as runtime checks here).
// hasn't made yet): `cached`, `import`, `#context`, and the static-vs-runtime
// distinction for `check`/`static_check` (both just run as runtime checks
// here).
//
// The two mechanisms that make omission work:
// - A bare Hole makes its *enclosing hard-boundary slot* (§7) become a
Expand Down
2 changes: 1 addition & 1 deletion src/parser.odin
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ push_binary :: proc(p: ^Parser, left: Node_Idx, op: Node_Idx, right: Node_Idx) -
}

// Wraps one child under `kind`, spanning from `kw_span`'s start to the child's end -
// the shape shared by func/asfunc/asfuncstatic/import/serialize/serialize_file/sha256/cached/async.
// the shape shared by func/asfunc/asfuncstatic/import/sha256/cached/async.
@(private = "file")
push_wrapped :: proc(p: ^Parser, kind: Node_Kind, kw_span: Span, child: Node_Idx) -> Node_Idx {
start, count := push_children(p.ast, []Node_Idx{child})
Expand Down