Commit graph

83 commits

Author SHA1 Message Date
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
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
Maieul BOYER
b4f948d98d
WIP: got back to working state 2024-08-01 07:35:42 +02:00
Maieul BOYER
f29e4ad7ef Changed some stuff 2024-07-31 18:09:07 +00:00
Maieul BOYER
18bf872c44 Updated grammar to remove input fd for redirection 2024-07-31 16:50:00 +00:00
Raphael (rparodi)
25e6159748 Merge remote-tracking branch 'origin/master' 2024-07-30 17:25:04 +02:00
Raphael (rparodi)
2d90e2dd6b Changing directory ast_free & normed ast_asrirh 2024-07-30 17:24:44 +02:00
Maieul BOYER
e5498d92bc
Still working on the exec part 2024-07-30 17:16:28 +02:00