Commit Graph

14 Commits

Author SHA1 Message Date
8f92cf269c fix: fixed crash when reading variables with underscore 2026-02-13 08:20:27 +01:00
d06e49274b Merge branch 'feature/executor-gl' into solo 2026-02-12 21:26:12 +01:00
83553a57d5 feat: added variable expansion
quote removal is not implemented yet in this commit
2026-02-12 21:18:50 +01:00
marcnava-42cursus
d1aad3ed20 Merge branch 'solo' into feature/executor-gl
# Conflicts:
#	src/parser/parser.c
2026-02-12 18:34:26 +01:00
8882929423 update: command list is now freed completely if any error ocurrs 2026-02-12 03:09:45 +01:00
843bdc0061 fix: invalid syntax error cause shown when there was no token following a redirection 2026-02-12 02:57:15 +01:00
ac4965ca6d fix: fixed multiple syntax error logging when redirection value is not a word
pointer is moved to the last position to avoid double logging
2026-02-11 10:12:20 +01:00
9d457f1040 norminette: added space after keyword 2026-02-11 08:37:02 +01:00
6b3d2ba5e0 fix: fixed segfault caused by invalid read
NULL value caused the error logger to crash
2026-02-11 08:36:05 +01:00
c493979a18 update: parser now uses tokens from lexer
fixes pending:
 - some functions are longer than norminette allows
 - find solution to a list of commands being returned, even though a
syntax error is found when processing tokens (maybe delegate some work
to the lexer and return only a syntax-valid list?)
2026-02-11 02:51:30 +01:00
marcnava-42cursus
ae578867b2 Moved find command in path to executor, fixed env save code 2026-02-11 02:09:12 +01:00
280fa51f94 save commit 2026-02-09 20:47:43 +01:00
cc91c9f032 chore: suppresed variables that caused errors and removed misplaced function 2025-10-23 22:58:26 +02:00
b55dd50aa5 update: added extremely basic parsing, only for separated environment variables 2025-10-23 14:10:48 +02:00