Commit Graph

33 Commits

Author SHA1 Message Date
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
214d7c24d2 update: added echo builtin 2025-11-02 03:14:43 +01:00
52807ca13c Merge branch 'develop' into feature/builtins 2025-11-01 20:42:49 +01:00
2800c7fd6d update: added HYPHEN and UNDERSCORE chardefs 2025-11-01 20:41:06 +01:00
0185d487d1 fix: BACKSLASH was equal to SINGLE_QUOTE 2025-11-01 20:37:51 +01:00
09f7e8aac0 update: added ft_args library 2025-11-01 20:10:40 +01:00
ee7a879de5 update: added cd builtin 2025-10-31 01:41:50 +01:00
5fc0af6bb3 update: minishell execution is now dependant on minishell.exit 2025-10-30 22:39:22 +01:00
8194a1d8d8 Merge branch 'feature/builtins' into develop 2025-10-30 13:25:09 +01:00
78944cfa67 Merge branch 'feature/executor' into develop 2025-10-30 13:24:31 +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
a6bf9cb60f update: added characters to chardefs 2025-10-30 12:52:30 +01:00
64610183aa update: updated parameters for pwd builtin 2025-10-30 12:07:21 +01:00
0a0fa27b6b update: added exit builtin function definition 2025-10-30 12:04:39 +01:00
1781fa96c4 update: added builtins header file 2025-10-30 01:18:39 +01:00
31a8717bbe update: added simple executor 2025-10-29 20:57:15 +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
4546c7c252 update: added extremely basic parsing, only for separated environment variables 2025-10-23 14:33:57 +02:00
b55dd50aa5 update: added extremely basic parsing, only for separated environment variables 2025-10-23 14:10:48 +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
c680555c0d chore: added core base utilities 2025-10-22 17:05:00 +02:00
982bbca0fc update: added header file with library inclusions 2025-10-20 20:40:49 +02:00
56a19a23bc restart: deleted all source and header files, restarting project 2025-10-20 12:49:35 +02:00
161ac6b69d saved changes before repartition 2025-09-12 12:41:24 +02:00
3e7dd56340 update: functions done: echo + echo -n, pwd, exit with and without arguments / parser appears to work, test with commands and local files (only tested with ls -l) 2025-08-04 00:38:53 +02:00
e89de4e20b update: removed .gitkeep from all directories 2025-08-01 03:32:08 +02:00
sdevsantiago
7b7d500db9 update: executes commands only in /usr/bin 2025-07-31 14:45:06 +02:00
Sergio
8f8f91994e Initial commit 2025-07-31 03:22:38 +02:00