Skip to content

Commit

Permalink
Merge pull request #101 from cgyurgyik/patch-1
Browse files Browse the repository at this point in the history
srrings to strings
  • Loading branch information
sampsyo authored Dec 27, 2020
2 parents 57f8ace + b865a35 commit 8ab26aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/lang/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ It has the `dest` and `type` fields described above, and also:
{ "op": "<string>", "dest": "<string>", "type": <Type>,
"args": ["<string>", ...]?,
"funcs": ["<string>", ...]?,
"labels": ["<srring>", ...]? }
"labels": ["<string>", ...]? }

A Value Operation is an instruction that takes arguments, does some computation, and produces a value.
Like a Constant, it has the `dest` and `type` fields described above, and also any of these three optional fields:
Expand All @@ -116,7 +116,7 @@ In all three cases, these keys may be missing and the semantics are identical to
{ "op": "<string>",
"args": ["<string>", ...]?,
"funcs": ["<string>", ...]?,
"labels": ["<srring>", ...]? }
"labels": ["<string>", ...]? }

An Effect Operation is like a Value Operation but it does not produce a value.
It also has the optional `args`, `funcs`, and `labels` fields.

0 comments on commit 8ab26aa

Please sign in to comment.