Commit Graph

40 Commits

Author SHA1 Message Date
1715f2dd40 typo: fixed typo 2026-02-10 12:34:56 +01:00
63dd69b01c update: removed const modifier on token value
following steps on the parsing process can change its content
2026-02-10 09:24:18 +01:00
609a644fa9 update: token is now stored as value of the token instead of null
this change is made so that it is easier to print an error message when
invalid syntax
2026-02-10 09:20:46 +01:00
3d97d6506a fix: removed putendl on malloc 2026-02-10 08:54:11 +01:00
1f0f38e42f fix: removed putendl on free 2026-02-10 08:52:24 +01:00
97d8a6838f norminette: fixed line too long 2026-02-10 08:45:31 +01:00
6ad68a8752 update: added lexer 2026-02-09 23:11:33 +01:00
280fa51f94 save commit 2026-02-09 20:47:43 +01:00
e983f7fe64 update: builtins hashmap initialized and moved env hashmap initialization to set_envp() 2025-12-02 09:13:59 +01:00
b1cf1d8560 update: integrated hashmaps in builtins, and replaced command calls by builtins 2025-12-02 09:11:01 +01:00
dce51960b1 fix: fixed ignored result compilation errro 2025-12-01 16:31:02 +01:00
e9a07a6bfb fix: fixed compilation error 2025-12-01 14:12:15 +01:00
a9ba8492a2 fix: executor.c/handle_child was not using the real envp 2025-12-01 14:09:32 +01:00
027fd2ac5e Merge branch 'feature/builtins' into develop 2025-12-01 14:01:24 +01:00
30ce96284a fix: get_env call was not using minishell struct 2025-12-01 14:01:08 +01:00
956505c06a Merge branch 'feature/builtins' into develop 2025-12-01 14:00:13 +01:00
212c4e3fee update: updated getenv calls by get_env 2025-12-01 13:59:52 +01:00
50736d533d update: changed getenv calls by get_env 2025-12-01 13:52:28 +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
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
85d074e9d2 update: added exit command with arguments 2025-10-30 11:59:19 +01:00
bbc3b9e9e7 update: added pwd 2025-10-30 01:16:21 +01:00
31a8717bbe update: added simple executor 2025-10-29 20:57:15 +01:00
f12a3d8965 chore: suppresed variables that caused errors and removed misplaced function 2025-10-23 23:17:56 +02:00
Paula Adan Perez
9be000792d hola sedesan 2025-10-23 23:17:56 +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
186443f036 structure: moved minishell.c to src root 2025-10-22 18:36:04 +02:00
c680555c0d chore: added core base utilities 2025-10-22 17:05:00 +02:00
56a19a23bc restart: deleted all source and header files, restarting project 2025-10-20 12:49:35 +02:00
sede-san
e208cc0317 fix: fixed compilation errors 2025-10-17 20:15:28 +02:00
83263bb269 fix: updated gnl include path and function names that caused compilation errors 2025-10-17 08:54:38 +02:00
161ac6b69d saved changes before repartition 2025-09-12 12:41:24 +02:00
8158998fbb fix: exit was not behaving properly when executed with multiple arguments and message was not being printed on a separate line 2025-08-05 09:44:28 +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