Commit graph

185 commits

Author SHA1 Message Date
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
Matteo Flebus
ce60a95471 fix(parser): made it compile 2026-01-16 20:27:57 +01:00
Matteo Flebus
9e56654d31 feat(ast): AST_END type implemented 2026-01-16 20:19:12 +01:00
Matteo Flebus
ed42f0b93d feat(parser): parse_list() implemented 2026-01-16 20:12:29 +01:00
Guillem George
b3d44317b0 fix: updated main to a parse-execute loop and changed error codes from an enum to macros 2026-01-16 20:05:49 +01:00
Matteo Flebus
f33498fb13 fix(parser): moved macro declaration from parser.h to parsing_utils.h 2026-01-16 19:45:15 +01:00
Guillem George
bf59c5717e new token types 2026-01-16 19:39:17 +01:00
Matteo Flebus
10ce140e37 fix(parser + lexer): interaction -- WIP 2026-01-16 19:31:58 +01:00
Matteo Flebus
04529f858c fix: compiling but not working -- need debug 2026-01-15 20:42:28 +01:00
Matteo Flebus
1eecb1bd42 fix: merging all the code 2026-01-15 18:49:42 +01:00
Matteo Flebus
2e9e98d343 Merge branch 'parser' into dev 2026-01-15 17:47:00 +01:00
Matteo Flebus
eb5f57cbaa fix(parser): rename cmd => command 2026-01-15 17:46:24 +01:00
Matteo Flebus
74bba63025 Merge branch 'ast' into dev 2026-01-15 17:42:26 +01:00
Matteo Flebus
f0e3c2f41b fix(ast): rename *_cmd() functions to *_command() 2026-01-15 17:41:15 +01:00
Matteo Flebus
f7bf0ece52 Merge branch 'parser' into dev 2026-01-15 17:35:21 +01:00
Matteo Flebus
89ff5f4b1e fix(parser): making it compile -- UNSTABLE 2026-01-15 17:29:34 +01:00
Matteo Flebus
e752d872c7 Merge branch 'parser' into dev 2026-01-15 17:25:35 +01:00
Matteo Flebus
1116eef083 fix(parser): make it compile 2026-01-15 17:25:21 +01:00
Matteo Flebus
30df2993ee refactor(ast): one file per ast_type -- FINISHED 2026-01-15 17:12:06 +01:00