Skip to content

Commit

Permalink
Add comment regarding CasmToBytecode function modification
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksymMalicki committed Nov 4, 2024
1 parent 01ecf72 commit 7a97991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/assembler/assembler.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var parser *participle.Parser[CasmProgram] = participle.MustBuild[CasmProgram](
participle.UseLookahead(8),
)

// Given a CASM program it returns its encoded bytecode
// Given a CASM program it returns its encoded bytecode and a total size of processed instructions
func CasmToBytecode(code string) ([]*f.Element, uint8, error) {
casmAst, err := parser.ParseString("", code)
if err != nil {
Expand Down

0 comments on commit 7a97991

Please sign in to comment.