Commit graph

35 commits

Author SHA1 Message Date
Gu://em_
b663655d53 fix: strdup a la con 2026-01-30 21:27:23 +01:00
Gu://em_
f721e6db72 fix: merge local changes 2026-01-30 20:58:15 +01:00
Gu://em_
49eca6f2df fix: random parser fixes 2026-01-30 20:58:10 +01:00
Matteo Flebus
3fb5d71d66 Merge branch 'parser' into dev 2026-01-30 20:08:54 +01:00
Gu://em_
9f967dc9b4 refactor: removed duplicate code for while/until loops in parser 2026-01-30 20:00:44 +01:00
Matteo Flebus
8ca7a92e7d fix(parser): removed unused old version of static function 2026-01-30 20:00:09 +01:00
Matteo Flebus
4d271981df merge parser into dev with ast loops 2026-01-30 19:57:36 +01:00
Gu://em_
423793903d feat: while and for loops support for parser, plus new ASTs, new tokens and fixes inside parser 2026-01-30 19:48:31 +01:00
Matteo Flebus
aa45e3d30f feat: export handling, except exec 2026-01-30 19:37:05 +01:00
Matteo Flebus
115377edfe feat(lexer + parser): export handling 2026-01-30 19:13:27 +01:00
matteo
52d35cf355 fix: memory issues, parser errors and get_ast_if returning always NULL 2026-01-30 17:42:42 +01:00
matteo
5740195cb3 fix: heap-use-after-free and memory leaks on erorr cases 2026-01-30 17:42:42 +01:00
matteo
f8b91d4da3 fix: memory issues, parser errors and get_ast_if returning always NULL 2026-01-30 16:51:10 +01:00
matteo
3fa7b97282 fix: heap-use-after-free and memory leaks on erorr cases 2026-01-30 12:21:29 +01:00
Guillem George
3601c3136f feat: final firsts initialization 2026-01-29 19:47:59 +01:00
matteo
98d18eef7d fix: ast_redir and ast_assignment accorded for every part 2026-01-29 18:46:11 +01:00
matteo
25079bfebf feat(lexer + grammar): inch les redirections ca marche 2026-01-29 18:21:44 +01:00
matteo
28749a2992 feat(parser): assignments handled 2026-01-29 12:38:03 +01:00
matteo
e1291107d4 fix: small errors in exec and parser 2026-01-29 09:59:16 +01:00
matteo
c40e5c2d0f feat(parser): helper static function 2026-01-28 19:16:48 +01:00
matteo
0db50e28de fix(parser): small typos 2026-01-28 16:26:17 +01:00
matteo
97e4b6c0f3 style(parser): refactor parse_command 2026-01-28 12:21:57 +01:00
matteo
b657d65664 feat(parser): parse_command version with prefixes and elements 2026-01-28 12:11:40 +01:00
Matteo Flebus
399d1ed3e1 feat(redirections): ast commands now have a field for the list of redirections + redirections implemented in parser 2026-01-27 21:06:36 +01:00
Matteo Flebus
8a5c589742 feat(parser): redirections 2026-01-27 19:56:33 +01:00
Matteo Flebus
c48d86c8de feat(parser): negation handled 2026-01-27 16:35:30 +01:00
Matteo Flebus
d52f603eec fix: changed puts to perror + redirections in parser 2026-01-27 16:05:11 +01:00
Gu://em_
96626d9850 feat: toujours les mêmes qui font les pipes. Plus de assert dans ASTs (pour des raisons évidentes de stabilité du code) et nouveaux types (AST_PIPE et AST_NEG), + modifs random dans le parser 2026-01-27 00:30:19 +01:00
Matteo Flebus
666517e3c1 feat(parser): implementing all redirection types -- WIP 2026-01-26 19:00:20 +01:00
Gu://em_
787b1aed35 fix: random fixes 2026-01-24 16:48:21 +01:00
Gu://em_
3ee4a0b9ca feat: finished the new firsts system and began supporting redirections 2026-01-24 16:13:16 +01:00
Gu://em_
32f56beb6b feat: redirection rules 2026-01-24 15:34:10 +01:00
Gu://em_
32e182bd50 fix: random fixes 2026-01-23 17:33:15 +01:00
Gu://em_
69ee869af0 fix: merge conflict 2026-01-23 17:08:34 +01:00
Gu://em_
96ac2fea77 feat: yet another new parser architecture 2026-01-23 17:01:26 +01:00
Renamed from src/parser/parsing_utils.c (Browse further)