diff options
| author | Alasdair Armstrong | 2018-02-20 20:20:23 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-02-21 14:48:36 +0000 |
| commit | 08e204f609b6d894f645bccd95c8af9583bf239c (patch) | |
| tree | 08b3ab5c0dbe6570eb3ab35a45ebc19f21d93998 /language/bytecode.ott | |
| parent | d5d823043d868d8f31a165d82b126020b2ae0d75 (diff) | |
Have aarch64/no_vector compiling to C
Just need to implement builtins, fix-up a few re-write passes, and
integrate some kind of elf-loading and it should work.
Diffstat (limited to 'language/bytecode.ott')
| -rw-r--r-- | language/bytecode.ott | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/language/bytecode.ott b/language/bytecode.ott index e909fc09..e0d7db24 100644 --- a/language/bytecode.ott +++ b/language/bytecode.ott @@ -140,6 +140,8 @@ cdef :: 'CDEF_' ::= } :: :: let % The first list of instructions creates up the global letbinding, the % second kills it. + | val id ( ctyp0 , ... , ctypn ) -> ctyp + :: :: spec | function id mid ( id0 , ... , idn ) { instr0 ; ... ; instrm } :: :: fundef |
