Skip to content

improve zk-DSL docs + small syntax changes#237

Merged
TomWambsgans merged 14 commits into
mainfrom
zkdsl-docs
May 28, 2026
Merged

improve zk-DSL docs + small syntax changes#237
TomWambsgans merged 14 commits into
mainfrom
zkdsl-docs

Conversation

@TomWambsgans
Copy link
Copy Markdown
Collaborator

@TomWambsgans TomWambsgans commented May 27, 2026

Two small breaking changes in the zkDSL syntax:

function arguments can no longer be 'Mut'

previously:

def my_func(a, b: Mut, c: Const):
    ...

now:

def my_func(a, b_temp, c: Const):
    b: Mut = b_temp
    ...

Rename 'Imu' to 'Imm'

def my_func(a, b):
    x: Imu
    if a == 0:
         x = 3
    else:
         x = 4
    ...

now:

def my_func(a, b):
    x: Imm
    if a == 0:
         x = 3
    else:
         x = 4
    ...

@TomWambsgans TomWambsgans changed the title improve Zkdsl docs improve zk-DSL docs + small syntax changes May 28, 2026
@TomWambsgans TomWambsgans merged commit 1706685 into main May 28, 2026
3 checks passed
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.

1 participant