Commit graph

55 commits

Author SHA1 Message Date
Gu://em_
32e182bd50 fix: random fixes 2026-01-23 17:33:15 +01:00
Matteo Flebus
82f35cfa08 feat(parser): and_or_rule in progress 2026-01-22 19:57:49 +01:00
Matteo Flebus
2f2509f1c9 fix: clean merge of pretty-print with no memory leaks 2026-01-22 17:19:17 +01:00
Jean Herail
f2e44d93f4 Merge branch 'dev' of gitlab.cri.epita.fr:guillem.george/42sh into dev 2026-01-22 16:49:12 +01:00
Jean Herail
3445a36a7c Pretty_print 2026-01-22 16:46:33 +01:00
william.valenduc
6dd19a75ad feat(execution): set $? var 2026-01-22 13:10:23 +00:00
william.valenduc
4fc43e4678 feat(dev): expansion 2026-01-22 12:09:18 +00:00
Matteo Flebus
8f5733be19 feat: all merged 2026-01-22 12:05:01 +01:00
Jean Herail
527c635d3f Merge branch 'pretty_print' into dev 2026-01-21 19:59:12 +01:00
Jean Herail
0ede8d3eef Re-functionnal pretty-printing 2026-01-21 19:57:44 +01:00
william.valenduc
4c7029ccc0 Merge branch 'vars' into dev 2026-01-19 18:21:13 +00:00
william.valenduc
868b1cae17 fix(vars): vars_default var name $$ -> $ 2026-01-19 18:20:20 +00:00
william.valenduc
e640e7bdbd fix(ast): update include paths to relative 2026-01-19 18:15:57 +00:00
william.valenduc
e569439e78 fix(string_utils): update include sys/types.h -> stddef.h 2026-01-19 18:15:57 +00:00
william.valenduc
b443cd1876 feat(expansion) 10291 expansion 2026-01-19 17:55:16 +00:00
william.valenduc
2ebf56dde7 fix(hash_map): fixed leak on value update 2026-01-19 15:28:35 +00:00
william.valenduc
3cf1960a00 fix(utils): Makefile.am sources 2026-01-18 01:45:27 +00:00
william.valenduc
df7cc02eb9 feat(string_utils): insert_into 2026-01-17 23:59:09 +00:00
william.valenduc
0c9c5dc1f8 feat(vars): get_var_or_env 2026-01-17 23:58:15 +00:00
william.valenduc
cf5da6f231 feat(hash_map): destroy_pair_list 2026-01-17 23:57:59 +00:00
william.valenduc
0c6c357161 feat(vars): vars 2026-01-17 23:55:59 +00:00
william.valenduc
78068f53bd feat(hash_map): hash_map 2026-01-17 23:55:59 +00:00
matteo
c299882586 fix: now compiles and works for simple commands + clang format 2026-01-17 23:55:59 +00:00
Jean Herail
e9b6d39760 Implemented some ast handlings...
ast lists, and_or, redirection and builtins
2026-01-17 23:55:59 +00:00
Matteo Flebus
ccb9438d69 fix(ast): the same typo 2026-01-16 20:32:56 +01:00
Matteo Flebus
67d76ac895 fix(ast): typo 2026-01-16 20:31:30 +01:00
Matteo Flebus
1cd827180a fix(ast): add ast_end in building process 2026-01-16 20:30:04 +01:00
Matteo Flebus
9e56654d31 feat(ast): AST_END type implemented 2026-01-16 20:19:12 +01:00
Matteo Flebus
1eecb1bd42 fix: merging all the code 2026-01-15 18:49:42 +01:00
Matteo Flebus
f0e3c2f41b fix(ast): rename *_cmd() functions to *_command() 2026-01-15 17:41:15 +01:00
Matteo Flebus
30df2993ee refactor(ast): one file per ast_type -- FINISHED 2026-01-15 17:12:06 +01:00
Matteo Flebus
38f5a35885 refactor(ast): one file per ast_type -- UNSTABLE (4) 2026-01-15 15:59:42 +01:00
Matteo Flebus
e3ec484621 refactor(ast): one file per ast_type -- UNSTABLE (3) 2026-01-15 15:53:56 +01:00
Matteo Flebus
68d8a1fd13 refactor(ast): one file per ast_type -- UNSTABLE (2) 2026-01-14 20:53:57 +01:00
Jean Herail
f6573d81f0 feat(pretty-print): Just casually implemented the graphviz representation of parsed AST 2026-01-14 20:42:31 +01:00
Matteo Flebus
eba6d0f762 refactor(ast): one file per ast_type -- UNSTABLE 2026-01-14 20:32:51 +01:00
Gu://em_
37fcdf99be fix: added new ast type and moved parsing functions to a different header 2026-01-13 19:41:37 +01:00
Matteo Flebus
83b7374583 fix(autotools): removed useless Makefile.am in utils/ast 2026-01-12 21:51:11 +01:00
Matteo Flebus
4aa6b439bb fix(utils): include args module in build system 2026-01-12 21:46:33 +01:00
william.valenduc
e3785dbd08 feat(args): args_handler error handling and print_usage 2026-01-12 19:30:11 +00:00
william.valenduc
234713b6a0 feat(args): args_handler 2026-01-12 18:42:02 +00:00
william.valenduc
d1f4e0e88d refactor(string_utils)!: rename skip_blanks to trim_blank_left and update signature 2026-01-12 17:41:24 +00:00
Gu://em_
97b7240286 fix: Fixed ALL the code 2026-01-10 19:57:36 +01:00
Gu://em_
03c35d5366 feat: Merge branch 'lexer' into dev 2026-01-10 19:28:59 +01:00
william.valenduc
13bed60c09 feat(ast): ast_create_if, ast_create_cmd and header doc 2026-01-09 22:50:09 +00:00
william.valenduc
807416940c feat(ast): data as void* and basic helpers 2026-01-09 22:36:48 +00:00
william.valenduc
62e44b8101 fix: ast circular dep 2026-01-09 17:21:23 +00:00
Gu://em_
3a8ab44300 feat: Merge branch 'ast-def' into dev 2026-01-09 16:06:18 +01:00
Gu://em_
3e66d4b959 refactor: moved ast module to utils 2026-01-09 16:05:41 +01:00
Gu://em_
06b9f4b130 feat: Merge branch 'autotools' into dev 2026-01-09 15:44:21 +01:00