Loop Update

This commit is contained in:
mmichlol
2026-02-07 18:47:07 +01:00
parent fdcbc31cca
commit c37a122850
4 changed files with 225 additions and 15 deletions

View File

@@ -16,6 +16,8 @@ enum class OpType {
PRINT, // print(a)
JMP_FALSE, // if (false) skocz...
JMP, // else / pêtla
LOGIC_AND, // &&
LOGIC_OR, // ||
LABEL, // miejsce skoku
CALL, // wywo³anie funkcji
RETURN, // return x
@@ -55,7 +57,7 @@ struct CompilerState {
std::stack<std::string> blockStack;
std::map<std::string, std::string> stringLiterals;
int stringCounter = 0; // Licznik do generowania nazw str_1, str_2...
int stringCounter = 0;
};
#endif