Commit Graph

21 Commits

Author SHA1 Message Date
f4cfae1107 feat: added internal variables 2026-02-14 02:01:10 +01:00
marcnava-42cursus
6453abfda3 Fixed all norme from lexer, parser. minishell and builtins 2026-02-14 00:02:03 +01:00
3f17f7789c update: added isatty support and prompt usage 2026-02-13 20:18:26 +01:00
marcnava-42cursus
c166d0f77a feat: Added signals
Added functionality of the signals ctrl+d, ctrl+c and ctr+\
2026-02-13 18:11:48 +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
3c7ee5b161 Merge branch 'feature/builtins-gl' into feature/executor-gl
# Conflicts:
#	src/parser/parser.c
2026-02-12 18:36:05 +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
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
marcnava-42cursus
d39eca2c94 Fixed compilation 2026-02-09 22:48:12 +01:00
marcnava-42cursus
778e0c0481 Builtins fixed
The builtins wasnt protected, now all data received is protected, the hashmap addition is protected and added functionality of env, export and unset (not implemented in this version). Added fixed details documentation in docs/builtins_fixes.md generated by codex and created tests/builtins_edge_cases.sh to test all the builtins to work correctly
2026-02-09 22:08:45 +01:00
280fa51f94 save commit 2026-02-09 20:47:43 +01:00
b1cf1d8560 update: integrated hashmaps in builtins, and replaced command calls by builtins 2025-12-02 09:11:01 +01:00
daad208a00 update: added hashmap functionality to environment variables 2025-12-01 13:47:17 +01:00
5fc0af6bb3 update: minishell execution is now dependant on minishell.exit 2025-10-30 22:39:22 +01:00
cbfedb7bc5 structure: moved t_command struct definition from parser header file to core header file 2025-10-30 12:56:35 +01:00
c90fb3ef67 Merge branch 'feature/core' into develop 2025-10-23 23:20:58 +02:00
f8c6aed23d update: variables are now stored separeatedly in t_variables and lines are stored and parsed on each execution 2025-10-23 14:33:57 +02:00
92ed2bbd3e structure: moved core functions (init, run, clear) to core.h to prevent circular include 2025-10-22 19:36:59 +02:00
b337b86190 structure: moved core functions (init, run, clear) to core.h to prevent circular include 2025-10-22 19:35:38 +02:00