summaryrefslogtreecommitdiffstats
path: root/genvmop.txr
blob: 31c6062a0b25f79c381cb82102ee748f91742bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@(include "asm")
@(in-package :sys)
@(bind oc @(keep-if .code %oc-list%))
@(next "vm.h")
@(collect)
@{copyright}
@(until)

@(end)
@(output "vmop.h")
@{copyright "\n"}

typedef enum vm_op {
@  (repeat :vars (oc))
  @{oc.symbol :filter :upcase} = @{oc.code},
@  (end)
} vm_op_t;
@(end)