Commit graph

86 commits

Author SHA1 Message Date
maix0
8242d8eaaf update: now it builds correctly 2024-10-06 14:42:05 +02:00
maix0
d459a8b8dc update: should handle built-in variables 2024-10-06 14:37:54 +02:00
maix0
09dbd2de91 update: allow makefile to do a fresh build 2024-10-03 21:45:18 +02:00
maix0
fba538e344 update: normed exec and finish the glob for current directory 2024-09-18 22:18:31 +02:00
maix0
cc1e2b7fdc update: fixed heredoc finaly :D 2024-09-18 14:46:19 +02:00
Raphael
da223422b0 build: adding all the new files on the filelist
feat: adding the command asked by maiboyer
2024-09-17 22:40:43 +02:00
Raphael
9fc0bc4a1f fix: corrected the not compilation on the private spawn cmd 2024-09-17 21:42:41 +02:00
maix0
678587d481 update: normed lots of stuff 2024-09-16 19:23:28 +00:00
Maieul BOYER
84a825cb0b
wip: splitting function for exec 2024-09-16 17:43:33 +02:00
Maieul BOYER
f15d420fc5
update: it is now possible to write heredocs by hand :D 2024-09-16 17:14:10 +02:00
Raphaël
9170242925 style: corrected some little norm error 2024-09-16 13:53:45 +02:00
maix0
43b969183d update: changed the way heredocs are parsed 2024-09-15 20:29:27 +00:00
maix0
8272d72997 update: fixed an issue 2024-09-14 14:38:00 +00:00
maix0
392fd77eca update: splitted stuff into differnt files for run_ast.c 2024-09-14 12:46:57 +00:00
Maix0
bae0126d8e update: fixed funcheck not finishing due to pid stopping 2024-09-11 18:35:40 +02:00
Maieul BOYER
8146ed2176 Updated to fully support heredocs with no fd leaks 2024-09-04 17:06:29 +00:00
Raphaël
2247d3662e Corrected the norm on operator (exec/run_arith) 2024-09-02 19:28:06 +02:00
Maieul BOYER
993efe4287
Updated WIP 2024-09-02 16:28:13 +02:00
Maieul BOYER
0ebc161857
Updated: normed everything except the big ass file 2024-08-30 19:30:20 +02:00
Raphael
7114085b82 Normed the arithmetic part 2024-08-30 18:03:08 +02:00
Raphael
4c00800ad3 Adding files for normed 2024-08-30 17:55:13 +02:00
Raphael
ef7677f2ee Normed the builtins 2024-08-30 16:59:32 +02:00
Maix0
a6246a52a0 Updated export and env to use similar printing methods 2024-08-18 22:58:40 +02:00
Maix0
1d4ff310d0 Called the function to handle single quotes in the export builtin 2024-08-18 21:52:07 +02:00
Raphaël
1a74bb38d3 Adding the simple quotes management 2024-08-18 18:11:32 +02:00
Maix0
6909456ce5 Updated so export sorts the output 2024-08-15 14:12:46 +02:00
Maieul BOYER
dc6a4b1c98
WIP: doing stuff in the parser lib 2024-08-14 19:20:19 +02:00
Maieul BOYER
13bc603a59
Merge commit, fixed warnings 2024-08-14 18:16:54 +02:00
Maieul BOYER
0ba9a1a1b5
Update exec to support subshells 2024-08-14 18:12:06 +02:00
Maieul BOYER
42e1b718a2
fixed the list issue 2024-08-14 17:39:42 +02:00
Maix0
4e56302770 Started working on list 2024-08-13 17:08:46 +02:00
Maix0
aac10822d3 Fixed waiting on previous command for pipeline to spawn next 2024-08-13 16:01:45 +02:00
Raphaël
45bacdd3c0 Patching the fucking pwd 2024-08-12 18:15:29 +02:00
Maix0
df92e9fa7c added cd builtin 2024-08-12 17:26:15 +02:00
Maix0
132d7d8bc7 Fixed a leak using hmap_<name>_remove 2024-08-12 17:15:13 +02:00
Maix0
11ec5cfa3c Update so '$BANANE=truc' works 2024-08-12 17:02:46 +02:00
Maix0
ecf01a6b8b Fixed exit builtin 2024-08-11 12:53:03 +02:00
Maix0
ea1908e644 Fixed fd leaking when second cmd doesn't exist in pipe 2024-08-11 12:20:26 +02:00
Maix0
45a55df528 Polished echo, and the builtins should work now (not tested in pipes) 2024-08-11 11:42:44 +02:00
Maix0
85910da2fd did env, exit and export (only env printing) 2024-08-10 20:02:12 +02:00
Maix0
3f08544384 Created file for builtins and fixed a bug about expansion not working correctly 2024-08-10 19:50:26 +02:00
Maieul BOYER
4f5cf3cf10
Pipeline works but leaks an fd 2024-08-05 17:33:51 +02:00
Maieul BOYER
933d68c2da
Pipeline works with invalid free(TM) 2024-08-05 17:17:20 +02:00
Maieul BOYER
dc9005218c
Fixed small leaks 2024-08-05 15:31:02 +02:00
Maieul BOYER
887601bf2b
We have an exec that work (only once tho) 2024-08-03 16:35:16 +02:00
Maieul BOYER
8ee24b1bcf
update 2024-08-03 16:18:15 +02:00
Maieul BOYER
709c124028
update stuff 2024-08-03 00:00:42 +02:00
Maieul BOYER
72b90debcc
Moved files a bit to reflect their use 2024-08-02 19:27:52 +02:00
Raphael
2b7c561cca Norming 2024-08-02 14:46:14 +02:00
Maieul BOYER
e7e395ed10
Changed even more the the grammar 2024-08-01 13:53:00 +02:00