Commit graph

357 commits

Author SHA1 Message Date
matteo
08cc18bd21 Merge remote-tracking branch 'origin/exec-unset' into dev 2026-01-31 20:06:07 +01:00
william.valenduc
4bb3ee85cf fix: utils build error 2026-01-31 20:05:19 +01:00
matteo
c7822a2534 feat(main_loop): subshell start 2026-01-31 20:05:19 +01:00
Jean
c8d0285447 fix(while/until) 2026-01-31 20:04:48 +01:00
matteo
a7065a1d9f feat: subshell total support 2026-01-31 19:55:02 +01:00
matteo
3e42b6fd00 feat(parser): ast_subshell 2026-01-31 19:55:02 +01:00
william.valenduc
19addf8e6f fix: expand tests ast_create_command 2026-01-31 18:51:03 +00:00
william.valenduc
45d97fcc3f feat(utils): hash_map_free_ast 2026-01-31 18:30:28 +00:00
matteo
5eed5fa65f feat: ast_subshell 2026-01-31 19:25:42 +01:00
william.valenduc
bb7d4b772e feat(expansion): parse_subshell_str and tests 2026-01-31 17:31:55 +00:00
Gu://em_
2e7bcd7fa1 feat: Merge remote-tracking branch 'origin/exec-exit' into dev 2026-01-31 18:28:44 +01:00
Gu://em_
3b62c56756 feat: exit builtin 2026-01-31 18:27:48 +01:00
Jean
1f4742e17b feat(exec): Added the unset builtin 2026-01-31 18:17:43 +01:00
matteo
17f8b918c8 feat(testing): more loops tests 2026-01-31 17:29:21 +01:00
matteo
4d01199e21 fix(ast_function): ast_function_free does not free the ast data 2026-01-31 17:06:42 +01:00
Jean
16381f4f3e Merge branch 'dev' of gitlab.cri.epita.fr:guillem.george/42sh into dev 2026-01-31 16:47:16 +01:00
Jean
5df65f41c9 feat(execution): Implemented break and continue for while 2026-01-31 16:43:52 +01:00
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