Skip to content

Commit

Permalink
refactor!: change opcodes to be their own Noir modules
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinoats committed Sep 6, 2023
1 parent ad88fc5 commit 3074a0d
Show file tree
Hide file tree
Showing 164 changed files with 641 additions and 55 deletions.
8 changes: 0 additions & 8 deletions circuits/opcodes/Nargo.toml

This file was deleted.

8 changes: 8 additions & 0 deletions circuits/opcodes/adc/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "adc"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/ahx/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "ahx"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/alr/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "alr"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/anc/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "anc"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/and/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "and"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/arr/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "arr"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/asl/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "asl"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/axs/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "axs"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/bcc/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "bcc"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/bcs/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "bcs"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/beq/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "beq"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/bit/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "bit"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/bmi/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "bmi"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/bne/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "bne"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/bpl/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "bpl"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/branch/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "branch"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/brk/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "brk"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/bvc/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "bvc"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/bvs/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "bvs"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/clc/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "clc"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/cld/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "cld"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/cli/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "cli"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/clv/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "clv"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/cmp/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "cmp"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/cpx/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "cpx"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/cpy/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "cpy"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/dcp/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "dcp"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/dec/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "dec"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/dex/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "dex"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/dey/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "dey"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/eor/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "eor"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/ign/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "ign"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/inc/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "inc"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/inx/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "inx"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/iny/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "iny"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/isb/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "isb"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/jmp/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "jmp"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/jsr/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "jsr"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/las/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "las"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/lax/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "lax"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/lda/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "lda"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/ldx/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "ldx"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
8 changes: 8 additions & 0 deletions circuits/opcodes/ldy/Nargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "ldy"
type = "bin"
authors = [""]
compiler_version = "0.10.5"

[dependencies]
helpers= { path = "../../halpers" }
File renamed without changes.
Loading

0 comments on commit 3074a0d

Please sign in to comment.