Commit graph

354 commits

Author SHA1 Message Date
Matteo Flebus
95da4a56fa Revert "fix(lexer): lexing_mode depending on quote"
This reverts commit ed4c3d475c.
2026-01-19 17:56:08 +01:00
Matteo Flebus
d324d8099c Merge branch 'lexer' into dev 2026-01-19 17:48:20 +01:00
Matteo Flebus
ed4c3d475c fix(lexer): lexing_mode depending on quote 2026-01-19 17:47:29 +01:00
Matteo Flebus
b5267a7e1b Merge branch 'lexer' into dev 2026-01-19 17:35:52 +01:00
Matteo Flebus
bf7b7f7f68 doc(lexer): update 2026-01-19 17:35:37 +01:00
Matteo Flebus
c81afc2c69 feat(lexer): quote handling 2026-01-19 17:32:45 +01: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
096a7d81a0 feat: vars initialization 2026-01-18 01:36:04 +00:00
william.valenduc
953b05fba0 merge(expansion) 2026-01-18 01:32:11 +00:00
william.valenduc
34c741d86e feat(expansion): expand_var and expand 2026-01-18 01:27:31 +00:00
william.valenduc
a16712e802 feat(expansion): special_variable_with_braces test 2026-01-18 00:29:31 +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
cf7825aaf0 feat(gitignore): debug and testsuite 2026-01-17 23:55:59 +00:00
matteo
446d1ebd7a fix(main): remove unecessary unknown header 2026-01-17 23:55:59 +00:00
matteo
e8d10523ae feat(testsuite): autotools working, testsuite and debug implemented and working 2026-01-17 23:55:59 +00:00
matteo
acbcb860a4 fix(lexer): memory leaks 2026-01-17 23:55:59 +00:00
matteo
2c1f210d37 fix(lexer): some memory leaks + removed useless [at_begining] variable 2026-01-17 23:55:59 +00:00
Guillem George
f475f4d4ec fix: updated main to a parse-execute loop and changed error codes from an enum to macros 2026-01-17 23:55:59 +00:00
matteo
a4fcce530c rebased lexer on dev 2026-01-17 23:52:28 +00:00
william.valenduc
d377b80803 feat(vars): vars 2026-01-17 22:46:10 +00:00
william.valenduc
b7b6a6a8d5 feat(hash_map): hash_map 2026-01-17 22:45:27 +00:00
Gu://em_
5d87e87f2e fix: lot of fixes in parsing. Now code should be fully compliant with the doc grammar. WARNING: not tested yet 2026-01-17 20:15:27 +01:00
matteo
352c122549 fix: now compiles and works for simple commands + clang format 2026-01-17 19:11:55 +01:00
matteo
6099bbb9e3 Merge branch 'execution' into dev 2026-01-17 18:08:21 +01:00
matteo
f37e7dd217 feat(gitignore): debug and testsuite 2026-01-17 18:02:00 +01:00
matteo
0ef11f866d fix(main): remove unecessary unknown header 2026-01-17 18:00:34 +01:00
matteo
e7b24d0ed6 feat(testsuite): autotools working, testsuite and debug implemented and working 2026-01-17 17:53:37 +01:00
Jean Herail
bf992f2db4 Implemented some ast handlings...
ast lists, and_or, redirection and builtins
2026-01-17 17:33:22 +01:00
Gu://em_
f887c90ec5 feat: elif support, fixed a lot of inconcistencies with the grammar and updated code according to the behaviour described in the header. Also fixed some typos and doc errors 2026-01-17 17:20:13 +01:00
Gu://em_
346ad17e26 docs: reworked parser header to fully comply with the given grammar and added a language representation for each parse_* function 2026-01-17 16:40:53 +01:00
matteo
e80058a765 Merge branch 'lexer' into dev 2026-01-17 16:26:30 +01:00
Gu://em_
1fc54e2bf3 Merge remote-tracking branch 'origin/main_loop' into dev 2026-01-17 15:47:54 +01:00
matteo
f4d7f58ef5 fix(lexer): memory leaks 2026-01-17 11:38:23 +01:00
matteo
6715d72cd7 fix(lexer): some memory leaks + removed useless [at_begining] variable 2026-01-17 11:06:50 +01:00
matteo
f226013955 rebasing lexer on dev 2026-01-17 10:52:32 +01:00
matteo
d269e82df6 rebased lexer on dev 2026-01-17 10:43:23 +01:00
william.valenduc
dadbebfceb feat(expansion): parse_var_name and tests 2026-01-16 21:48:27 +00:00
Matteo Flebus
ccb9438d69 fix(ast): the same typo 2026-01-16 20:32:56 +01:00
Matteo Flebus
7ef87583da Merge branch 'ast' into dev 2026-01-16 20:31:40 +01:00
Matteo Flebus
67d76ac895 fix(ast): typo 2026-01-16 20:31:30 +01:00
Matteo Flebus
c3a92354b7 Merge branch 'ast' into dev 2026-01-16 20:30:15 +01:00
Matteo Flebus
1cd827180a fix(ast): add ast_end in building process 2026-01-16 20:30:04 +01:00
Matteo Flebus
ebcc647bda Merge branch 'parser' into dev 2026-01-16 20:28:24 +01:00