From 9337de5a0ea31dcf6610fb4f5ded3f87b43082cd Mon Sep 17 00:00:00 2001 From: dzaima Date: Tue, 21 Mar 2023 23:04:39 +0200 Subject: [PATCH] fix LST_/ARM_ comments in vm.h --- src/vm.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vm.h b/src/vm.h index 959ea475..dd26b824 100644 --- a/src/vm.h +++ b/src/vm.h @@ -24,10 +24,10 @@ enum { POPS = 0x06, // pop object from stack RETN = 0x07, // returns top of stack RETD = 0x08, // return a namespace of exported items - LSTO = 0x0B, // N; create a vector of top N items - LSTM = 0x0C, // N; create a mutable vector of top N items - ARMO = 0x0D, // push `>ToS` - ARMM = 0x0E, // push a mutable version of `>ToS` that unpacks cells of what its assigned to + LSTO = 0x0B, // N; push a vector of top N items + LSTM = 0x0C, // N; push a mutable vector of top N items + ARMO = 0x0D, // N; push an array whose cells are the top N items + ARMM = 0x0E, // N; push a mutable array whose cells are the top N items FN1C = 0x10, // monadic function call ⟨…,x,f ⟩ → F x FN2C = 0x11, // dyadic function call ⟨…,x,f,w⟩ → w F x