Skip to content

Commit

Permalink
This is the end
Browse files Browse the repository at this point in the history
  • Loading branch information
lmihaig committed May 26, 2024
1 parent 0248437 commit 494d683
Show file tree
Hide file tree
Showing 22 changed files with 268 additions and 240 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@
[submodule "An4/Sem1/ProcSemn/lab/proiect/rockzip"]
path = An4/Sem1/ProcSemn/lab/proiect/rockzip
url = git@github.com:lmihaig/rockzip.git
[submodule "An4/Sem2/AlgoritmiParaleli/paralel-ray-tracer"]
path = An4/Sem2/AlgoritmiParaleli/paralel-ray-tracer
url = git@github.com:r-moraru/ap-ray-tracing.git
[submodule "An4/Sem2/TestareaSistemelor/project"]
path = An4/Sem2/TestareaSistemelor/project
url = git@github.com:GVolter/Testarea-Sistemelor-Software.git
Binary file added An4/Sem2/AlgoritmiParaleli/curs1.pdf
Binary file not shown.
Binary file added An4/Sem2/AlgoritmiParaleli/curs2.pdf
Binary file not shown.
Binary file added An4/Sem2/AlgoritmiParaleli/curs3.pdf
Binary file not shown.
Binary file added An4/Sem2/AlgoritmiParaleli/curs4.pdf
Binary file not shown.
Binary file added An4/Sem2/AlgoritmiParaleli/curs5.pdf
Binary file not shown.
Binary file added An4/Sem2/AlgoritmiParaleli/curs6.pdf
Binary file not shown.
Binary file added An4/Sem2/AlgoritmiParaleli/curs7.pdf
Binary file not shown.
Binary file added An4/Sem2/AlgoritmiParaleli/curs8.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions An4/Sem2/AlgoritmiParaleli/paralel-ray-tracer
Submodule paralel-ray-tracer added at 36956c
1 change: 1 addition & 0 deletions An4/Sem2/TestareaSistemelor/project
Submodule project added at 1d3a90
448 changes: 231 additions & 217 deletions An4/Sem2/compilatoare/flex/lex.yy.c

Large diffs are not rendered by default.

30 changes: 18 additions & 12 deletions An4/Sem2/compilatoare/flex/lexer.l
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ void print_token(const char* token_type, const char* token, int line_number) {
printf("%s:\t%s\tLINE:%d\n", token_type, token, line_number);
}

void report_error(const char* message, int line_number) {
fprintf(stderr, "Error: %s at line %d\n", message, line_number);
exit(1);
}

%}

%option noyywrap
Expand All @@ -21,21 +26,22 @@ RAW_LITERAL r#"[^"]*"#|r#"'[^']*'#
BYTE_LITERAL b?'[^']*'|b?\"[^\"]*\"
C_LITERAL c?\"[^"]*\"|c?\'[^\']*\'
STRING_LITERAL \"(\\.|[^"\\])*\"|'(\\.|[^'\\])*'
NUMERIC_LITERAL [0-9]+(\.[0-9]*)?|\.[0-9]+|[0-9]+[eE][+\-]?[0-9]+|0[xX][0-9a-fA-F]+
LIFETIME_LITERAL '[a-zA-Z_][a-zA-Z0-9_]*
LITERALS {RAW_LITERAL}|{BYTE_LITERAL}|{C_LITERAL}|{STRING_LITERAL}|{NUMERIC_LITERAL}|{LIFETIME_LITERAL}
NUMERIC_LITERAL 0[bB][01_]+|0[oO][0-7_]+|0[xX][0-9a-fA-F_]+|[0-9_]+(\.[0-9_]*)?([eE][+\-]?[0-9_]+)?
LIFETIME_LITERAL '[a-zA-Z_][a-zA-Z0-9_]*'

%%

{COMMENTS} { print_token("COMMENT", yytext, yylineno); }
[ \t] {/*ignore whitespace*/}
{KEYWORDS} { print_token("KEYWORD", yytext, yylineno); }
{IDENTIFIER} { print_token("IDENTIFIER", yytext, yylineno); }
{LITERALS} { print_token("LITERAL", yytext, yylineno); }
{OPERATORS} { print_token("OPERATOR", yytext, yylineno); }
{DELIMITERS} { print_token("DELIMITER", yytext, yylineno); }
{NEWLINES} { /* increment yylineno */ }
. { fprintf(stderr, "Invalid lexical character: %s at line %d\n", yytext, yylineno); }
{COMMENTS} { print_token("COMMENT", yytext, yylineno); }
[ \t] {/*ignore whitespace*/}
{KEYWORDS} { print_token("KEYWORD", yytext, yylineno); }
{IDENTIFIER} { print_token("IDENTIFIER", yytext, yylineno); }
{LIFETIME_LITERAL} { print_token("LIFETIME", yytext, yylineno); }
{NUMERIC_LITERAL} { print_token("NUMERIC", yytext, yylineno); }
{OPERATORS} { print_token("OPERATOR", yytext, yylineno); }
{DELIMITERS} { print_token("DELIMITER", yytext, yylineno); }
{STRING_LITERAL} { print_token("STRING", yytext, yylineno); }
{NEWLINES} { /*increment yylineno*/ }
. { report_error("Invalid lexical character", yylineno); }
%%

int main() {
Expand Down
Binary file modified An4/Sem2/compilatoare/flex/rust_lexer
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file removed An4/Sem2/managementOP/.gitkeep
Empty file.
Binary file not shown.
Binary file added An4/Sem2/managementOP/Întrebări teoretice.pdf
Binary file not shown.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Lista cu diverse resurse Unibuc CTI 2020-2024

Pentru orice fel de intrebare puteti sa ma contactati licu.mihai21@gmail.com
Pentru orice fel de intrebare puteti sa ma contactati <licu.mihai21@gmail.com>

### Majoritatea proiectelor sunt adaugate drept submodule

Expand Down Expand Up @@ -87,7 +87,7 @@ Programa s-a schimbat mult dar asta e planul de invatamant pe care l-am urmat. D
| DD | [Sisteme cu microprocesoare](An3/Sem2/microprocesoare) | E | 4 | Alecsandru Vladimir Chirosca | Alecsandru Vladimir Chirosca | |
| DS | [Arhitectura sistemelor paralele](An3/Sem2/asp) | E | 4 | Lucian Ion | Geanina Chirosca | |
| DD | Practică industrială | V | 8 | Deutsche Bank | Deutsche Bank | Deutsche Bank |
| | Total | 5E+2V | 30 |
| | Total | 5E+2V | 30 | | | |

---

Expand All @@ -101,18 +101,18 @@ Programa s-a schimbat mult dar asta e planul de invatamant pe care l-am urmat. D
| DC | [Management](An4/Sem1/management/) | V | 2 | Cristian Anghel | | Cristian Anghel |
| DS | [Concepte si Aplicatii in Vederea Artificiala](An4/Sem1/CAVA) | E | 4 | Bogdan Alexe<br>Radu Ionescu | Alexandra Diaconu | |
| DD | [Procesarea Semnalelor](An4/Sem1/ProcSemn/) | E | 4 | Cristian Rusu | | Cristian Rusu |
| | Total | 6E+1V | 30 |
| | Total | 6E+1V | 30 | | | |

| Anul IV - Semestrul II | | | | | | |
| :--------------------: | :----------------------------------------------------------: | :---: | :--: | :--: | :-------: | :-----: |
| Tip | Discipline obligatorii | FE | Crd. | Curs | Laborator | Seminar |
| DS | indecis | E | 6 | | | |
| DC | [Managementul operatiunilor](An4/Sem2/managementOP/) | V | 2 | | | |
| DD | indecis | E | 4 | | | |
| DD | [Compilatoare si Translatoare](An4/Sem2/compilatoare/) | E | 4 | | | |
| DD | [Testarea Sistemelor Software](An4/Sem2/TestareaSistemelor/) | E | 4 | | | |
| DS | [Pregatirea proiectului de diploma](aici) | E | 4 | | | |
| | Total | 4E+2V | 30 |
| E | [Examen de diploma](aici) | E | 10 | | | |
| DS | [Programarea aplicatiilor in NodeJs industrie](An4/sem2/node) | E | 6 | Dorneanu Eduard-Gabriel | Vlad Stavarache | |
| DC | [Managementul operatiunilor](An4/Sem2/managementOP/) | V | 2 | Veith Cristina | | Veith Cristina |
| DD | [Alargoritmi Paraleli](An4/Sem2/AlgoritmiParaleli) | E | 6 | Olaru Vlad | Olaru Vlad | |
| DD | [Compilatoare si Translatoare](An4/Sem2/compilatoare/) | E | 6 | Gianina Georgescu | Gianina Georgescu | Gianina Georgescu |
| DD | [Testarea Sistemelor Software](An4/Sem2/TestareaSistemelor/) | E | 6 | Sorina Nicoleta Predut | Sorina Nicoleta Predut | |
| DS | [Pregatirea proiectului de diploma](aici) | E | 4 | Cristian Rusu | | |
| | Total | 4E+2V | 30 | | | |
| E | Examen de diploma | E | 10 | | | |

![Visualization of the codebase](./codebase.svg)

0 comments on commit 494d683

Please sign in to comment.