Commit graph

92 commits

Author SHA1 Message Date
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
e0bf10f117 norm: Adding the header run_ast to the 42 norm 2024-09-16 14:00:26 +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
Raphael
74937f457f style: norming the scanner.c (missing some stuff like too many lines) 2024-09-14 16:21:39 +02: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
475038e2b7
update: Updated stuff so the scanner works great now 2024-09-06 16:46:01 +02:00
Raphaël
0b3c966eaa normed: corrected the norm of the stdme 2024-09-06 15:28:55 +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
009be4a4b4 splitted more stuff 2024-08-31 17:18:02 +00:00
Maieul BOYER
0ebc161857
Updated: normed everything except the big ass file 2024-08-30 19:30:20 +02:00
Maieul BOYER
fa5990b00c
Update: normed the shitty thing in exec 2024-08-30 19:15:33 +02:00
Raphael
658d5bd243 Normed the header of exec part 2024-08-30 18:22:27 +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
Raphaël
9041c2ce6a Merge remote-tracking branch 'origin/master' 2024-08-14 18:09:08 +02:00
Raphaël
241a382c43 Normed the includes of exec 2024-08-14 18:04:19 +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