Commit graph

  • cab8b0c51c doc: Update README dev guillm 2026-04-24 21:17:10 +02:00
  • b12733cad4 feat(exec): export matteo 2026-01-31 20:52:03 +01:00
  • 08cc18bd21 Merge remote-tracking branch 'origin/exec-unset' into dev matteo 2026-01-31 20:06:07 +01:00
  • 4bb3ee85cf fix: utils build error william.valenduc 2026-01-31 17:35:29 +00:00
  • c7822a2534 feat(main_loop): subshell start matteo 2026-01-31 18:31:00 +01:00
  • c8d0285447 fix(while/until) Jean 2026-01-31 20:04:48 +01:00
  • a7065a1d9f feat: subshell total support matteo 2026-01-31 19:54:56 +01:00
  • 3e42b6fd00 feat(parser): ast_subshell matteo 2026-01-31 19:45:40 +01:00
  • 19addf8e6f fix: expand tests ast_create_command william.valenduc 2026-01-31 18:51:03 +00:00
  • 45d97fcc3f feat(utils): hash_map_free_ast william.valenduc 2026-01-31 18:30:15 +00:00
  • 5eed5fa65f feat: ast_subshell matteo 2026-01-31 19:25:42 +01:00
  • bb7d4b772e feat(expansion): parse_subshell_str and tests william.valenduc 2026-01-31 17:31:30 +00:00
  • 2e7bcd7fa1 feat: Merge remote-tracking branch 'origin/exec-exit' into dev Gu://em_ 2026-01-31 18:28:44 +01:00
  • 3b62c56756 feat: exit builtin exec-exit Gu://em_ 2026-01-31 18:27:48 +01:00
  • 1f4742e17b feat(exec): Added the unset builtin Jean 2026-01-31 18:17:43 +01:00
  • 17f8b918c8 feat(testing): more loops tests exec-unset matteo 2026-01-31 17:29:21 +01:00
  • 4d01199e21 fix(ast_function): ast_function_free does not free the ast data matteo 2026-01-31 17:06:27 +01:00
  • 16381f4f3e Merge branch 'dev' of gitlab.cri.epita.fr:guillem.george/42sh into dev Jean 2026-01-31 16:47:16 +01:00
  • 5df65f41c9 feat(execution): Implemented break and continue for while Jean 2026-01-31 16:43:52 +01:00
  • b6305c2453 fix: moved test scripts to functionnal testing Gu://em_ 2026-01-31 16:35:34 +01:00
  • adea32552d fix: local merge ast Gu://em_ 2026-01-31 15:55:25 +01:00
  • ac851fa895 fix: fixed A LOT of bugs and memory leaks. Removed ast_is_* commands as they're not really useful and seems redundant with ast_get_*. Also made some changes to lists utils to make architecture clearer and some other random tweaks or fixes. Gu://em_ 2026-01-31 15:50:57 +01:00
  • 37e430a234 removed the warning Jean 2026-01-31 15:47:23 +01:00
  • 46dbc7ad6b Merge branch 'dev' of gitlab.cri.epita.fr:guillem.george/42sh into dev Jean 2026-01-31 15:41:52 +01:00
  • 182e31b42e fix(chaipa): Remove pretty print to avoid clang-tidy / added the options in echo Jean 2026-01-31 15:40:46 +01:00
  • 7a370b1dfa Merge branch 'parser' into dev matteo 2026-01-31 13:26:14 +01:00
  • 567bd44fce fix(parser): typo matteo 2026-01-31 13:26:02 +01:00
  • 132f4f3a53 feat(parser + ast): function parsing support matteo 2026-01-31 13:24:44 +01:00
  • 3cd231f031 fix: build and .sh test file for functions Matteo Flebus 2026-01-31 12:53:23 +01:00
  • a63632005c Merge branch 'ast' into dev matteo 2026-01-31 11:58:40 +01:00
  • a550f9747e feat(ast): ast_function matteo 2026-01-31 11:57:51 +01:00
  • 93f280f59d sh file to test loops matteo 2026-01-31 11:34:24 +01:00
  • 4289700e2e fix(lexer): destroy_lexer_context now fully functional matteo 2026-01-31 11:09:08 +01:00
  • 5de6ef2bb5 fix: lexer_context also freed after normal execution... -_- Matteo Flebus 2026-01-31 11:02:19 +01:00
  • d95b0fd220 fix: lexer_context is now freed on errors matteo 2026-01-31 10:59:45 +01:00
  • 64e3fb26c3 feat(tests): sh file for function testing Matteo Flebus 2026-01-31 10:48:58 +01:00
  • f31fca4204 feat: full while/until loops support, important bug fixes and more tests Gu://em_ 2026-01-30 23:43:49 +01:00
  • 9e522b2a68 feat: lexer support for loops keywords Gu://em_ 2026-01-30 22:55:07 +01:00
  • d6e6bfacf2 feat: Merge branch 'parser' into dev Gu://em_ 2026-01-30 21:32:57 +01:00
  • 3794ee0253 fix: pourcent parser Gu://em_ 2026-01-30 21:29:39 +01:00
  • b663655d53 fix: strdup a la con Gu://em_ 2026-01-30 21:27:23 +01:00
  • f721e6db72 fix: merge local changes Gu://em_ 2026-01-30 20:58:15 +01:00
  • 49eca6f2df fix: random parser fixes Gu://em_ 2026-01-30 20:58:10 +01:00
  • 828b0e8be3 fix: coverage tests and hash_map_free on NULL Matteo Flebus 2026-01-30 20:28:38 +01:00
  • 834b6585c5 merge unit_tests in dev Matteo Flebus 2026-01-30 20:21:07 +01:00
  • 4870caa459 fix(lexer): and is now detected properly Matteo Flebus 2026-01-30 20:18:10 +01:00
  • 3fb5d71d66 Merge branch 'parser' into dev Matteo Flebus 2026-01-30 20:08:54 +01:00
  • 00fe1a4717 feat(tests): and_ors.sh renamed Matteo Flebus 2026-01-30 20:06:40 +01:00
  • df367b0a3c feat(tests): .sh file to test and_ors Matteo Flebus 2026-01-30 20:05:48 +01:00
  • b572337eea Merge branch 'parser' of gitlab.cri.epita.fr:guillem.george/42sh into parser Gu://em_ 2026-01-30 20:02:51 +01:00
  • a5e355e427 fix: local merge conflict Gu://em_ 2026-01-30 20:00:51 +01:00
  • 087bbdd498 fix: loal merge conflict Gu://em_ 2026-01-30 20:00:51 +01:00
  • 9f967dc9b4 refactor: removed duplicate code for while/until loops in parser Gu://em_ 2026-01-30 20:00:44 +01:00
  • 8ca7a92e7d fix(parser): removed unused old version of static function Matteo Flebus 2026-01-30 20:00:09 +01:00
  • 4d271981df merge parser into dev with ast loops Matteo Flebus 2026-01-30 19:57:36 +01:00
  • 32c35c4bf7 fix: add dependencies in Makefile for new ast Matteo Flebus 2026-01-30 19:55:09 +01:00
  • 423793903d feat: while and for loops support for parser, plus new ASTs, new tokens and fixes inside parser Gu://em_ 2026-01-30 19:48:31 +01:00
  • aa45e3d30f feat: export handling, except exec Matteo Flebus 2026-01-30 19:37:05 +01:00
  • 1367598047 fix(lexer): typo on export Matteo Flebus 2026-01-30 19:14:01 +01:00
  • 115377edfe feat(lexer + parser): export handling Matteo Flebus 2026-01-30 19:13:27 +01:00
  • bada9c6a29 fix: building now Matteo Flebus 2026-01-30 18:35:26 +01:00
  • fcfc7fedc9 fix(clang-tidy): for clang, function cannot return bool if it takes no arguments ???? Matteo Flebus 2026-01-30 18:26:56 +01:00
  • fd59d63c47 fix(lexer): recongize OR as PIPE matteo 2026-01-30 17:47:51 +01:00
  • 30e30f55e7 fix(lexer): ongoing-> recongize OR as PIPE Matteo Flebus 2026-01-30 17:43:18 +01:00
  • 52d35cf355 fix: memory issues, parser errors and get_ast_if returning always NULL matteo 2026-01-30 16:51:10 +01:00
  • 5740195cb3 fix: heap-use-after-free and memory leaks on erorr cases matteo 2026-01-30 12:21:29 +01:00
  • f8b91d4da3 fix: memory issues, parser errors and get_ast_if returning always NULL matteo 2026-01-30 16:51:10 +01:00
  • 3fa7b97282 fix: heap-use-after-free and memory leaks on erorr cases matteo 2026-01-30 12:21:29 +01:00
  • f0b39535fb feat(utils): lists tests william.valenduc 2026-01-29 20:35:56 +00:00
  • e65c55f5c9 feat(vars): unit tests william.valenduc 2026-01-29 11:18:33 +00:00
  • c448776268 fix(execution): var update leak william.valenduc 2026-01-29 19:56:21 +00:00
  • e32715ce13 feat(execution): var assign william.valenduc 2026-01-29 19:46:22 +00:00
  • 6cdcf3f36b fix: readded fsanitize for check_flemme.sh (linux only) Guillem George 2026-01-29 20:41:45 +01:00
  • 5784f557b8 fix: Makefile Matteo Flebus 2026-01-29 20:39:58 +01:00
  • 028d4312af feat: fuckning working matteo 2026-01-29 20:29:02 +01:00
  • 56f0a979a7 merge parser in dev matteo 2026-01-29 19:50:42 +01:00
  • 3601c3136f feat: final firsts initialization Guillem George 2026-01-29 19:47:59 +01:00
  • 6ca10b673a feat(compiling en fait): Execution Jean 2026-01-29 19:35:08 +01:00
  • 08803bd591 fix(ast_command): ast_list redir -> list redir matteo 2026-01-29 19:20:29 +01:00
  • 4315eb5c0d fix(execution): Redir ahah type Jean 2026-01-29 19:12:58 +01:00
  • a70943e5cc fix(parser): small typo matteo 2026-01-29 19:11:13 +01:00
  • 79fb96e5e2 fix: ast_redir and ast_assignment accorded for every part lexer matteo 2026-01-29 18:46:11 +01:00
  • 51158ec4f9 fix(lexer): merge conflicts matteo 2026-01-29 18:53:37 +01:00
  • 148db79788 fix(merge conflicts) matteo 2026-01-29 18:52:51 +01:00
  • 6948bbae63 fix(execution): Reimplemented the redirection logic Jean 2026-01-29 18:18:04 +01:00
  • 3d26c0a897 fix(ast)!: assignment typo william.valenduc 2026-01-29 11:40:55 +00:00
  • a0b723fb30 feat(execution): update $PWD and $OLD_PWD william.valenduc 2026-01-29 11:29:03 +00:00
  • 98d18eef7d fix: ast_redir and ast_assignment accorded for every part matteo 2026-01-29 18:46:11 +01:00
  • e0032dd991 merge parser into dev for redirections matteo 2026-01-29 18:23:28 +01:00
  • 25079bfebf feat(lexer + grammar): inch les redirections ca marche matteo 2026-01-29 18:21:44 +01:00
  • ec63be42e5 fix(execution): Reimplemented the redirection logic Jean 2026-01-29 18:18:04 +01:00
  • a98161d885 fix(ast)!: assignment typo william.valenduc 2026-01-29 11:40:55 +00:00
  • 28749a2992 feat(parser): assignments handled matteo 2026-01-29 12:38:03 +01:00
  • 988d8ef298 feat(execution): update $PWD and $OLD_PWD william.valenduc 2026-01-29 11:29:03 +00:00
  • dd8a7165e1 Revert "feat(ast_assignement): changed (name, value) to assignement" matteo 2026-01-29 11:37:20 +01:00
  • 2884fa78d9 feat(ast_assignement): changed (name, value) to assignement matteo 2026-01-29 11:32:15 +01:00
  • 6da801675a feat(lexer): implementing assignements matteo 2026-01-29 11:18:56 +01:00
  • 46dde29c20 fix: small errors in exec and parser matteo 2026-01-29 09:59:16 +01:00
  • d775ab6c1a feat(ast): add ast_assignements. Similar to how redirections are handled. matteo 2026-01-29 09:56:28 +01:00
  • 308ac9ac8d feat(expansion): remove double quotes william.valenduc 2026-01-28 21:26:51 +00:00