Jison Codeblock Highlight
Add this to the head
of your HTML Page, or
add Shiki.
<script src="https://esm.sh/[email protected]" defer async></script>
Edit the codeblock.
%%
%start expressions
%%
expressions
: e EOF { return $1; }
;
e
: e '+' e { $$ = $1 + $3; }
| NUMBER { $$ = Number($1); }
;
Copy paste this.