Skip to content

chore: add support for index expressions in formatter#3069

Merged
TomAFrench merged 11 commits intomasterfrom
jb-index-expression
Oct 11, 2023
Merged

chore: add support for index expressions in formatter#3069
TomAFrench merged 11 commits intomasterfrom
jb-index-expression

Conversation

@jonybur
Copy link
Copy Markdown

@jonybur jonybur commented Oct 10, 2023

Description

Adds formatter for indexes

Problem*

Resolves

Summary*

Documentation

  • This PR requires documentation updates when merged.

    • I will submit a noir-lang/docs PR.
    • I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

Copy link
Copy Markdown
Contributor

@kevaundray kevaundray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets add a testcase for this!

@jfecher jfecher changed the title chore: add Index expression chore: Handle index expressions in nargo fmt Oct 10, 2023
@jonybur jonybur marked this pull request as ready for review October 11, 2023 12:43
@jonybur jonybur changed the title chore: Handle index expressions in nargo fmt chore: add index expressions Oct 11, 2023
@TomAFrench TomAFrench changed the title chore: add index expressions chore: add support for index expressions in formatter Oct 11, 2023
@TomAFrench TomAFrench enabled auto-merge October 11, 2023 16:09
@TomAFrench TomAFrench added this pull request to the merge queue Oct 11, 2023
Merged via the queue into master with commit 4eb930a Oct 11, 2023
@TomAFrench TomAFrench deleted the jb-index-expression branch October 11, 2023 16:43
TomAFrench added a commit that referenced this pull request Oct 12, 2023
* master:
  chore: clean up JS dependencies (#3114)
  chore: add call formatter (#3102)
  chore: remove unnecessary clone when executing brillig (#3120)
  feat: return compilation errors from noir_wasm (#3091)
  feat: Save Brillig execution state in ACVM (#3026)
  chore: add method call formatter (#3106)
  feat!: Pass ACIR to ACVM by reference rather than passing ownership (#2872)
  chore: add member access formatter (#3109)
  fix: Determinism of fallback transformer (#3100)
  chore: clippy (#3108)
  feat: adding destroy and options object (#3105)
  chore: standardize witness map serialization format in JS (#3104)
  chore: add support for index expressions in formatter (#3069)
  feat: Implement impl specialization (#3087)
  chore: Update ACIR artifacts (#3086)
TomAFrench pushed a commit that referenced this pull request Oct 12, 2023
Co-authored-by: kevaundray <kevtheappdev@gmail.com>
TomAFrench added a commit that referenced this pull request Oct 12, 2023
* master: (29 commits)
  fix: minor problems with `aztec` publishing (#3095)
  chore: clean up JS dependencies (#3114)
  chore: add call formatter (#3102)
  chore: remove unnecessary clone when executing brillig (#3120)
  feat: return compilation errors from noir_wasm (#3091)
  feat: Save Brillig execution state in ACVM (#3026)
  chore: add method call formatter (#3106)
  feat!: Pass ACIR to ACVM by reference rather than passing ownership (#2872)
  chore: add member access formatter (#3109)
  fix: Determinism of fallback transformer (#3100)
  chore: clippy (#3108)
  feat: adding destroy and options object (#3105)
  chore: standardize witness map serialization format in JS (#3104)
  chore: add support for index expressions in formatter (#3069)
  feat: Implement impl specialization (#3087)
  chore: Update ACIR artifacts (#3086)
  feat: Implement automatic dereferencing for indexing lvalues (#3083)
  fix: disallow returning constant values (#2978)
  feat: Implement automatic dereferencing for index expressions (#3082)
  feat: add `execute` method to `Noir` class (#3081)
  ...
Sakapoi pushed a commit to Sakapoi/noir_fork that referenced this pull request Oct 19, 2023
Co-authored-by: kevaundray <kevtheappdev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants