Skip to content

SDDL: Add peek Instruction#83

Open
felixhandte wants to merge 6 commits into
facebook:devfrom
felixhandte:export-D84071336
Open

SDDL: Add peek Instruction#83
felixhandte wants to merge 6 commits into
facebook:devfrom
felixhandte:export-D84071336

Conversation

@felixhandte

Copy link
Copy Markdown
Contributor

Summary:
This instruction lets you retrieve the value that consuming an atom would
produce, without actually consuming that value. It lets you do lookahead.

Differential Revision: D84071336

Summary: As title. Makes some calculations more natural.

Differential Revision: D84070471
Summary: As title.

Differential Revision: D84070635
Summary: It logs its argument. Useful for debugging.

Differential Revision: D84070850
Summary:
Because all binary operators are infix, the syntax that was convenient to
implement was:

```
{ body... } while (condition)
```

rather than

```
while (condition) {
  body...
}
```

This can be fixed...

Differential Revision: D84071011
Summary: SDDL generates deep trees.

Differential Revision: D84071173
Summary:
This instruction lets you retrieve the value that consuming an atom *would*
produce, without actually consuming that value. It lets you do lookahead.

Differential Revision: D84071336
@meta-cla meta-cla Bot added the cla signed label Oct 7, 2025
@meta-codesync

meta-codesync Bot commented Oct 7, 2025

Copy link
Copy Markdown

@felixhandte has exported this pull request. If you are a Meta employee, you can view the originating Diff in D84071336.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment