This is first task at Sber Compilers additional semester class. Flex and Bison were used to parse and track syntaxes errors.
- Cmake version 3.13.4
- Flex
- Bison
$ git clone https://github.com/XelerT/Sber-LLVM.git
$ cd Sber-LLVM/
$ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build
$ cd build/
$ ./stasyan input_file.txt
Size_t size = 1;
Int64_t start_position = 10;
Int64_t mid_position = 10;
Int64_t end_position = 10;
True bool = true;
False bool = false;
iF 10 tHeN print 42;
String string = "String with string";
String newline = "Devided by \n newline.\n";
-- one line comment
/* MY string with s1mb0|s\n /*/**/aaa/*aaa*/*/ */