summaryrefslogtreecommitdiff
path: root/language/bytecode.ott
diff options
context:
space:
mode:
authorAlasdair Armstrong2018-03-19 17:39:42 +0000
committerAlasdair Armstrong2018-03-19 17:39:42 +0000
commitb42d5ab44307da291aac1882f8a2bb7bcbdfa900 (patch)
treeeddf168eca14f33ddd34027b0553302612a679da /language/bytecode.ott
parente3e597feb532c71e0db32eb9abbebb9f51314d6d (diff)
Fixes to C backend for RISCV-compilation
Can now compile RISCV. Requires some library tweaks before it'll pass any tests, Also adds hyperlinks to wip latex output
Diffstat (limited to 'language/bytecode.ott')
-rw-r--r--language/bytecode.ott1
1 files changed, 1 insertions, 0 deletions
diff --git a/language/bytecode.ott b/language/bytecode.ott
index bd60072a..5977aae2 100644
--- a/language/bytecode.ott
+++ b/language/bytecode.ott
@@ -51,6 +51,7 @@ grammar
% expressions, used by the aval and cval types.
fragment :: 'F_' ::=
| id :: :: id
+ | '&' id :: :: ref
| value :: :: lit
| have_exception :: :: have_exception
| current_exception :: :: current_exception