This repository was archived by the owner on Nov 12, 2025. It is now read-only.
Commit 03708ef
committed
Massive changes
* Using an enum instead of instruction names
* Unit tests are successful.
* Changed unit test file structure
* Added ``Instructions`` lib file for smooth interop between Transpiler/Parser/Compiler
* Added the rest of the supported instructions for lua transpiling (bit ops, ternary ?:, include (still not in parser))
* Added LuaTranspile unit test which makes sure that we have all operators implemented in the transpiler.1 parent 210ff5e commit 03708ef
File tree
13 files changed
+333
-175
lines changed- src
- Base
- Transpiler
- Lib
- tests
- utests
13 files changed
+333
-175
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments