Commit graph

340 commits

Author SHA1 Message Date
Gu://em_
b6305c2453 fix: moved test scripts to functionnal testing 2026-01-31 16:35:34 +01:00
Jean
37e430a234 removed the warning 2026-01-31 15:47:23 +01:00
Jean
46dbc7ad6b Merge branch 'dev' of gitlab.cri.epita.fr:guillem.george/42sh into dev 2026-01-31 15:41:52 +01:00
Jean
182e31b42e fix(chaipa): Remove pretty print to avoid clang-tidy / added the options in echo 2026-01-31 15:40:46 +01:00
matteo
7a370b1dfa Merge branch 'parser' into dev 2026-01-31 13:26:14 +01:00
matteo
567bd44fce fix(parser): typo 2026-01-31 13:26:02 +01:00
matteo
132f4f3a53 feat(parser + ast): function parsing support 2026-01-31 13:24:44 +01:00
Matteo Flebus
3cd231f031 fix: build and .sh test file for functions 2026-01-31 12:53:23 +01:00
matteo
a63632005c Merge branch 'ast' into dev 2026-01-31 11:58:40 +01:00
matteo
a550f9747e feat(ast): ast_function 2026-01-31 11:57:51 +01:00
matteo
93f280f59d sh file to test loops 2026-01-31 11:34:24 +01:00
matteo
4289700e2e fix(lexer): destroy_lexer_context now fully functional 2026-01-31 11:09:08 +01:00
Matteo Flebus
5de6ef2bb5 fix: lexer_context also freed after normal execution... -_- 2026-01-31 11:02:19 +01:00
matteo
d95b0fd220 fix: lexer_context is now freed on errors 2026-01-31 10:59:45 +01:00
Matteo Flebus
64e3fb26c3 feat(tests): sh file for function testing 2026-01-31 10:48:58 +01:00
Gu://em_
f31fca4204 feat: full while/until loops support, important bug fixes and more tests 2026-01-30 23:43:49 +01:00
Gu://em_
9e522b2a68 feat: lexer support for loops keywords 2026-01-30 22:55:07 +01:00
Gu://em_
d6e6bfacf2 feat: Merge branch 'parser' into dev 2026-01-30 21:32:57 +01:00
Gu://em_
3794ee0253 fix: pourcent 2026-01-30 21:29:39 +01:00
Gu://em_
b663655d53 fix: strdup a la con 2026-01-30 21:27:23 +01:00
Gu://em_
f721e6db72 fix: merge local changes 2026-01-30 20:58:15 +01:00
Gu://em_
49eca6f2df fix: random parser fixes 2026-01-30 20:58:10 +01:00
Matteo Flebus
828b0e8be3 fix: coverage tests and hash_map_free on NULL 2026-01-30 20:28:38 +01:00
Matteo Flebus
834b6585c5 merge unit_tests in dev 2026-01-30 20:21:07 +01:00
Matteo Flebus
4870caa459 fix(lexer): and is now detected properly 2026-01-30 20:18:10 +01:00
Matteo Flebus
3fb5d71d66 Merge branch 'parser' into dev 2026-01-30 20:08:54 +01:00
Matteo Flebus
00fe1a4717 feat(tests): and_ors.sh renamed 2026-01-30 20:06:40 +01:00
Matteo Flebus
df367b0a3c feat(tests): .sh file to test and_ors 2026-01-30 20:05:48 +01:00
Gu://em_
b572337eea Merge branch 'parser' of gitlab.cri.epita.fr:guillem.george/42sh into parser 2026-01-30 20:02:51 +01:00
Gu://em_
a5e355e427 fix: local merge conflict 2026-01-30 20:02:40 +01:00
Gu://em_
087bbdd498 fix: loal merge conflict 2026-01-30 20:00:51 +01:00
Gu://em_
9f967dc9b4 refactor: removed duplicate code for while/until loops in parser 2026-01-30 20:00:44 +01:00
Matteo Flebus
8ca7a92e7d fix(parser): removed unused old version of static function 2026-01-30 20:00:09 +01:00
Matteo Flebus
4d271981df merge parser into dev with ast loops 2026-01-30 19:57:36 +01:00
Matteo Flebus
32c35c4bf7 fix: add dependencies in Makefile for new ast 2026-01-30 19:55:09 +01:00
Gu://em_
423793903d feat: while and for loops support for parser, plus new ASTs, new tokens and fixes inside parser 2026-01-30 19:48:31 +01:00
Matteo Flebus
aa45e3d30f feat: export handling, except exec 2026-01-30 19:37:05 +01:00
Matteo Flebus
1367598047 fix(lexer): typo on export 2026-01-30 19:14:01 +01:00
Matteo Flebus
115377edfe feat(lexer + parser): export handling 2026-01-30 19:13:27 +01:00
Matteo Flebus
bada9c6a29 fix: building now 2026-01-30 18:35:26 +01:00
Matteo Flebus
fcfc7fedc9 fix(clang-tidy): for clang, function cannot return bool if it takes no arguments ???? 2026-01-30 18:26:56 +01:00
matteo
fd59d63c47 fix(lexer): recongize OR as PIPE 2026-01-30 17:47:51 +01:00
Matteo Flebus
30e30f55e7 fix(lexer): ongoing-> recongize OR as PIPE 2026-01-30 17:43:18 +01:00
matteo
52d35cf355 fix: memory issues, parser errors and get_ast_if returning always NULL 2026-01-30 17:42:42 +01:00
matteo
5740195cb3 fix: heap-use-after-free and memory leaks on erorr cases 2026-01-30 17:42:42 +01:00
matteo
f8b91d4da3 fix: memory issues, parser errors and get_ast_if returning always NULL 2026-01-30 16:51:10 +01:00
matteo
3fa7b97282 fix: heap-use-after-free and memory leaks on erorr cases 2026-01-30 12:21:29 +01:00
william.valenduc
f0b39535fb feat(utils): lists tests 2026-01-29 20:35:56 +00:00
william.valenduc
e65c55f5c9 feat(vars): unit tests 2026-01-29 20:00:40 +00:00
william.valenduc
c448776268 fix(execution): var update leak 2026-01-29 19:56:21 +00:00