Skip to content

Conversation

@daniellerozenblit
Copy link
Contributor

Summary: Adds support for Bytes(N) in the new sddl syntax and grammar. This creates a field type with N bytes.

Differential Revision: D92525900

@meta-cla meta-cla bot added the cla signed label Feb 6, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 6, 2026

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

daniellerozenblit added a commit to daniellerozenblit/openzl-1 that referenced this pull request Feb 6, 2026
Summary:

Adds support for `Bytes(N)` in the new sddl syntax and grammar. This creates a field type with `N` bytes.

Differential Revision: D92525900
daniellerozenblit added a commit to daniellerozenblit/openzl-1 that referenced this pull request Feb 9, 2026
Summary:

Adds support for `Bytes(N)` in the new sddl syntax and grammar. This creates a field type with `N` bytes.

Differential Revision: D92525900
daniellerozenblit added a commit to daniellerozenblit/openzl-1 that referenced this pull request Feb 9, 2026
Summary:

Adds support for `Bytes(N)` in the new sddl syntax and grammar. This creates a field type with `N` bytes.

Differential Revision: D92525900
daniellerozenblit added a commit to daniellerozenblit/openzl-1 that referenced this pull request Feb 9, 2026
Summary:

Adds support for `Bytes(N)` in the new sddl syntax and grammar. This creates a field type with `N` bytes.

Differential Revision: D92525900
daniellerozenblit added a commit to daniellerozenblit/openzl-1 that referenced this pull request Feb 9, 2026
Summary:

Adds support for `Bytes(N)` in the new sddl syntax and grammar. This creates a field type with `N` bytes.

Differential Revision: D92525900
daniellerozenblit added a commit to daniellerozenblit/openzl-1 that referenced this pull request Feb 10, 2026
Summary:

Adds support for `Bytes(N)` in the new sddl syntax and grammar. This creates a field type with `N` bytes.

Differential Revision: D92525900
Summary:

This introduces a set of changes to the SDDL compiler to support the syntax evolution described in the north-star proposal. While the patch spans multiple layers of the pipeline, the guiding goals are to (1) align the compiler with the updated surface syntax, and (2) make the implementation easier to reason about by removing legacy behavior that no longer maps to the long-term direction.

Concretely, the changes focus on the following areas:

## Syntax
- Remove symbols that are not supported in the new syntax.
- Clarify the boundary between *syntax* and *ops* (ex: `NEG` is not a distinct symbol in the syntax, but it's an op).
- Remove unused constructs (e.g. `sym_types`).

## Grammar
- Update productions to support operations with _0–1_ LHS arguments and _N_ RHS arguments.

## Parser
- Extend parsing logic to match the new arity model (0–1 LHS, N RHS).  
- General cleanup of `parse_expr`. The refactor aims to reduce the amount of legacy branching and “special-case” behavior in expression parsing.

Differential Revision: D92427604
Summary:

Adds support for `Bytes(N)` in the new sddl syntax and grammar. This creates a field type with `N` bytes.

Differential Revision: D92525900
daniellerozenblit added a commit to daniellerozenblit/openzl-1 that referenced this pull request Feb 10, 2026
Summary:

Adds support for `Bytes(N)` in the new sddl syntax and grammar. This creates a field type with `N` bytes.

Differential Revision: D92525900
@meta-codesync meta-codesync bot closed this in b0b62e3 Feb 10, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 10, 2026

This pull request has been merged in b0b62e3.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants