Commit graph

179 commits

Author SHA1 Message Date
Matteo Flebus
a191f91bff Merge branch 'lexer' into dev 2026-01-21 16:20:45 +01:00
Matteo Flebus
26ac0ffe05 feat(lexer): created parser utils 2026-01-21 16:19:10 +01:00
Matteo Flebus
7e413547e1 fix: free hash_map for variables at end of program 2026-01-21 15:14:22 +01:00
Gu://em_
b5b40f303c fix: made all includes relatives for the wellbeing of all LSPs seeing this project 2026-01-20 22:16:46 +01:00
Matteo Flebus
71e58e38b8 fix: new lexer is linked to everything 2026-01-20 20:32:59 +01:00
Matteo Flebus
d5a1ec3ca6 fix(parser): adapting to new lexer 2026-01-20 20:27:46 +01:00
Matteo Flebus
bf929d413f Merge branch 'lexer' into dev 2026-01-20 19:59:06 +01:00
Matteo Flebus
a1a8cffbce Merge branch 'parser' into dev 2026-01-20 19:58:47 +01:00
Matteo Flebus
c3ab2585e1 feat(parser): adapted to new lexer without static var 2026-01-20 19:54:29 +01:00
Matteo Flebus
f1955f0532 refactor(lexer): now use struct instead of static var 2026-01-20 19:41:55 +01:00
Matteo Flebus
d59b72dc45 feat(lexer): destroy_lexer_context 2026-01-20 19:40:00 +01:00
Matteo Flebus
927e4ea25a fix(lexer): typo in func name 2026-01-20 19:29:24 +01:00
Gu://em_
603def1597 fix: includes with relative path and memory leaks 2026-01-20 19:25:55 +01:00
Matteo Flebus
bbb69fddca refactor(lexer): now use struct instead of static var 2026-01-20 18:59:40 +01:00
Matteo Flebus
f38e828c0a Merge branch 'parser' into dev (keeping parser) 2026-01-19 19:37:59 +01:00
william.valenduc
4c7029ccc0 Merge branch 'vars' into dev 2026-01-19 18:21:13 +00:00
william.valenduc
913e3bb5f5 feat(expansion): add special var expansion tests $$ and $? 2026-01-19 18:20:26 +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
Matteo Flebus
c1f1a2fc37 fix(parser): 3098750984535 compilations errors in parsing_utils 2026-01-19 19:15:28 +01:00
william.valenduc
b443cd1876 feat(expansion) 10291 expansion 2026-01-19 17:55:16 +00:00
Matteo Flebus
6b539d1eac Merge branch 'lexer' into dev 2026-01-19 18:52:44 +01:00
Matteo Flebus
e6bd92af38 fix(lexer): now raising error on unmatched quote, rather than crashing 2026-01-19 18:52:23 +01:00
Matteo Flebus
e3a038677f Merge branch 'lexer' into dev 2026-01-19 18:20:08 +01:00
Matteo Flebus
454bd76abc fix(lexer): now really handling quotes 2026-01-19 18:19:35 +01:00
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