0xMiden / 0xMiden/air-script

Change list comprehensions' body from ScalarExpr to Expr

未关闭
#407 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
96
派生
39
PR 合并指标
30 天内没有已合并 PR

描述

The current implementation for nested list-comprehensions only supports creating Vectors of ScalarExpressions, no matter the nesting level

The goal here would be to enable a more general form of nested list comprehensions, akin to a Matrix comprehension.

Based off of this PR:
https://github.com/0xMiden/air-script/pull/400#issue-3065707667

Task list:
- [ ] Replace list comprehension bodies from ScalarExpr to Expr
- [ ] Ensure all dimension transformations fit the new general form, I think there may be a few cases where they are not handled in a compatible way due to design assumptions
- [ ] update de docs

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。