rename folder

master
serr 2025-05-12 18:53:04 +03:00
parent 89f0f2e1c5
commit ca856f121c
7 changed files with 9 additions and 5 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
*.exe
.vscode

View File

@ -6,6 +6,8 @@
"opd_stack.h": "c",
"stdio.h": "c",
"stack.h": "c",
"stddef.h": "c"
"stddef.h": "c",
"poly_calc.h": "c",
"stdbool.h": "c"
}
}

View File

@ -6,6 +6,7 @@ func FUNC_1(a, b, c) {
x = x + 1;
a = a + 1;
{}
}
func FUNC_2() {
@ -36,7 +37,7 @@ func main()
}
if (x) {
x = 3; // comment
x = +(-3); // comment
}
x = z + 3 + 5; // comment

View File

@ -3,11 +3,11 @@ import subprocess
# ЭТИ ПУТИ НАДО ЗАДАТЬ ВРУЧНУЮ
# *.l и *.y файлы из директории ANALYZERS_DIR ДОЛЖНЫ НАЗЫВАТЬСЯ как basename этой директории!!!
ANALYZERS_DIR = r'C:\Users\user\Desktop\УЧЕБА\6_СЕМ\КОМПИЛЯТОРЫ\flex_bison_test\analyzers\polynomials'
ANALYZERS_DIR = r'C:\Users\user\Desktop\УЧЕБА\6_СЕМ\КОМПИЛЯТОРЫ\flex_bison_test\analyzers\c_analyzer'
FLEX_EXE_PATH = r"C:\tools\win_flex_bison\win_flex.exe"
BISON_EXE_PATH = r"C:\tools\win_flex_bison\win_bison.exe"
DEPENDENCY_LIST = [
r"C:\Users\user\Desktop\УЧЕБА\6_СЕМ\КОМПИЛЯТОРЫ\flex_bison_test\analyzers\polynomials\stack\stack.c"
# r"C:\Users\user\Desktop\УЧЕБА\6_СЕМ\КОМПИЛЯТОРЫ\flex_bison_test\analyzers\polynomials\stack\stack.c"
]
def main():