diff options
author | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2022-01-20 23:57:13 +0000 |
---|---|---|
committer | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2022-01-20 23:57:13 +0000 |
commit | 1ddd7de5b15f52c13a5c084445253655a94bd970 (patch) | |
tree | 4d0f3b8ad18f2c4ceaa175022c42d7f0de093184 /apl9.h | |
parent | 230aac3c644df9d80c8eba507e6bc7c710b26b52 (diff) |
Implement a very basic ⎕RUN command which runs the code from a file
Diffstat (limited to 'apl9.h')
-rw-r--r-- | apl9.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -36,6 +36,7 @@ typedef enum FunctypeDfn, FunctypePrim, FunctypeOp, + FunctypeQuad, } functionType; /* Data types */ @@ -91,6 +92,7 @@ struct Function int code; Rune *dfn; Operator operator; + QuadnameDef *quad; }; Array *left; }; @@ -136,7 +138,7 @@ struct QuadnameDef Datum *(*get)(void); int (*set)(Datum); fnmonad monadfn; - fnmonad dyadfn; + fndyad dyadfn; opmonad monadop; opdyad dyadop; }; |