Commit graph

65 commits

Author SHA1 Message Date
Matteo Flebus
d707c6180b merge new parser into dev 2026-01-26 18:40:10 +01:00
matteo
5ce56702a4 Merge branch 'execution' into dev 2026-01-24 17:46:44 +01:00
Jean
9276e1a8a5 Fixed the length of the execution function 2026-01-24 17:35:06 +01:00
william.valenduc
32d38c0d13 feat(vars): $@ and $* init 2026-01-24 16:03:25 +00:00
william.valenduc
00c2b9c979 fix(lists): restored lists in splitted files 2026-01-24 15:24:07 +00:00
william.valenduc
07d345f754 feat(vars): $# init 2026-01-24 14:51:27 +00:00
Gu://em_
32f56beb6b feat: redirection rules 2026-01-24 15:34:10 +01:00
matteo
71fadb1b4a fix: clang tidy + made static what could be instead of malloc 2026-01-24 12:55:11 +01:00
william.valenduc
67ffea83d3 feat(vars): $UID 2026-01-23 17:13:41 +00:00
william.valenduc
7bcf48f63e feat(args): $0, $1, ... in vars 2026-01-23 17:05:56 +00:00
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