diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2026-07-11 14:43:40 -0400 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2026-07-11 14:43:40 -0400 |
| commit | a27736576d56e14e9dc534004284d9a4a9356369 (patch) | |
| tree | cdb9aa7368b763fcb806dfc77d048aa7ea12e037 /tnslc/compile/var.tnsl | |
| parent | bc52debb9566d4c4cbdb398837c3244e53b81e75 (diff) | |
[tnslc] bootstrap compiler
Diffstat (limited to 'tnslc/compile/var.tnsl')
| -rw-r--r-- | tnslc/compile/var.tnsl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tnslc/compile/var.tnsl b/tnslc/compile/var.tnsl index d12a85c..8590bc7 100644 --- a/tnslc/compile/var.tnsl +++ b/tnslc/compile/var.tnsl @@ -484,11 +484,11 @@ struct Var { # Static compilation # ###################### - /; _static_compile_arr(~parse.Node n, ~utils.Vector out, int depth) [~uint8] + /; _static_compile_arr (~parse.Node n, ~utils.Vector out, int depth) [~uint8] return utils.strcpy("TODO ; Static compile array\0") ;/ - /; _static_compile_ptr(~parse.Node n, ~utils.Vector out, int depth) [~uint8] + /; _static_compile_ptr (~parse.Node n, ~utils.Vector out, int depth) [~uint8] /; if (n`._type == parse.NTYPE_VALUE) n = n`.sub.get(0) @@ -575,7 +575,7 @@ struct Var { return utils.strcpy("TODO ; Static compile struct\0") ;/ - /; _static_comp_prim_r_dot(~parse.Node n) [Var] + /; _static_comp_prim_r_dot (~parse.Node n) [Var] # Has to do: # Variable dot chain mod # Variable dot chain struct @@ -585,7 +585,7 @@ struct Var { return out ;/ - /; _static_comp_prim_r_bin(~parse.Node n) [Var] + /; _static_comp_prim_r_bin (~parse.Node n) [Var] /; if (n`.data{0} == '.') return self._static_comp_prim_r_dot(n) ;/ @@ -626,14 +626,14 @@ struct Var { return a ;/ - /; _static_comp_prim_r_pre(~parse.Node n) [Var] + /; _static_comp_prim_r_pre (~parse.Node n) [Var] _printf("TODO: _static_comp_prim_r_pre\n\0") Var out out._init(self._type) return out ;/ - /; _static_comp_prim_r_post(~parse.Node n) [Var] + /; _static_comp_prim_r_post (~parse.Node n) [Var] # Has to do: # deref of variables # array index @@ -643,7 +643,7 @@ struct Var { return out ;/ - /; _static_comp_prim_r_id(~parse.Node n) [Var] + /; _static_comp_prim_r_id (~parse.Node n) [Var] # Has to do: # Get variable and static comp ~uint8 name = n`.data @@ -720,7 +720,7 @@ struct Var { return out ;/ - /; _static_comp_prim_r(~parse.Node n) [Var] + /; _static_comp_prim_r (~parse.Node n) [Var] /; if (n`._type == parse.NTYPE_VALUE) n = n`.sub.get(0) return self._static_comp_prim_r(n) @@ -765,7 +765,7 @@ struct Var { return out ;/ - /; _static_compile_prim(~parse.Node n) [~uint8] + /; _static_compile_prim (~parse.Node n) [~uint8] Var vout = self._static_comp_prim_r(n) utils.Vector out |