Commit graph

123 commits

Author SHA1 Message Date
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
Maieul BOYER
5bc68504f9
Finished the norm in stdme normal code 2024-07-30 16:31:46 +02:00
Maieul BOYER
aa4b508b10
Added redirection vector and type 2024-07-30 15:58:07 +02:00
Maieul BOYER
f05826942a
Updated Filelist 2024-07-30 14:54:11 +02:00
Raphael (rparodi)
ed4015a8fe Adding the modification to compile kissou 2024-07-30 14:13:21 +02:00
Raphael (rparodi)
d9999a85d9 Editing the protoype of the funcs (arith) 2024-07-30 13:17:40 +02:00
Maieul BOYER
ab8b8a77bb
exec start 2024-07-29 19:10:26 +02:00
Raphael (rparodi)
bec7ecf5c3 Fixeed the norm on the arith part 2024-07-29 17:55:36 +02:00
Raphael (rparodi)
e3cbf39b9b Pushing the end of the arith part and normed it (except too many function in files) 2024-07-29 17:48:07 +02:00
Raphael (rparodi)
7f2e9e7f90 Adding edit 2024-07-29 16:19:37 +02:00
Maieul BOYER
0f37eb287d
Update run AST 2024-07-28 20:13:42 +02:00