Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter committed Oct 2, 2023
1 parent 0fa0141 commit 9bfaa76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docs/Grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ $$
\text{let}\space\text{identifier} = [\text{Expr}]; \\
[\text{Scope}] \\
\text{if} ([\text{Expr}]) \space [\text{Scope}] \\
\# \text{comment}
\end{cases}\\
[\text{Scope}] &\to \begin{cases}
\{[\text{Stmt}]^*\}
Expand Down
2 changes: 1 addition & 1 deletion programs/prog1.emd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let x = (10 - 2 * 3) / 2;
let x2 = 0; # I can comment stuff here
{
let x2 = 20;
let x3 = 20;
}
# Or I can add a comment here...
if (x2) {
Expand Down

0 comments on commit 9bfaa76

Please sign in to comment.