Commit graph

433 commits

Author SHA1 Message Date
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
Maieul BOYER
f4f749830f
redirected statement now doesn't break pipeline 2024-08-14 17:34:48 +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
c5a06ce9df Fixed segv 2024-08-12 17:33:40 +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
6a504cab3e Cleaned up a bit the Makefiles 2024-08-12 17:06:30 +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
Raphaël
1ecfba4340 adding the normed version 2024-08-09 16:26:57 +02:00
Raphaël
dae891f20f Norminetting the redirect / scripting 2024-08-09 14:35:27 +02:00
Raphaël
84b7e3e1e9 Adding for the norm 2024-08-07 14:27:29 +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
d9eb6eed00 Merge remote-tracking branch 'origin/master' 2024-08-04 15:48:20 +00:00
Maieul BOYER
91bb0a7533 Updated to not have headers in source directories 2024-08-04 15:48:08 +00:00
Raphael
4b065cb7aa corrected the print 2024-08-04 16:39:57 +02:00
Raphael
0c435ed040 Adding the not done function working on darwin 2024-08-04 16:37:09 +02:00
Maieul BOYER
0078321b7e Should work now 2024-08-04 14:28:42 +00:00
Maieul BOYER
8187eb4b15 flake.nix 2024-08-04 14:24:13 +00:00
Maieul BOYER
544711e05c Update to not use the small parse table map 2024-08-04 14:18:29 +00:00
Maieul BOYER
531134f575 Make it so it should be possible to compile on MacOS 2024-08-04 12:58:25 +00:00
Raphael
51b0ecda20 Norming the redirection shit 2024-08-04 11:54:40 +02:00
Raphael
61cd8f3c0b Starting the norminette on from node ;) 2024-08-04 11:24:20 +02:00
Raphael
bb6f4da3f4 Norming the header minishell 2024-08-03 17:49:07 +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
Raphael
24b210fe86 Patching the double comparaison 2024-08-02 23:21:41 +02:00
Maieul BOYER
72b90debcc
Moved files a bit to reflect their use 2024-08-02 19:27:52 +02:00
Maieul BOYER
7ac90bac55
updated stuff in ast 2024-08-02 17:05:20 +02:00
Raphael
27067e158e Norming (except too many function or too long functions) 2024-08-02 15:49:01 +02:00
Raphael
2b7c561cca Norming 2024-08-02 14:46:14 +02:00
Raphael
1c840b41fd Adding the files normed (Not possible yet for the from node) 2024-08-02 12:55:03 +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
4e72b48b4a
stdme is fully normed ! 2024-08-01 07:34:51 +02:00
Maieul BOYER
2c9a3ee834
stdme os revamped 2024-08-01 07:26:32 +02:00
Maieul BOYER
f29e4ad7ef Changed some stuff 2024-07-31 18:09:07 +00:00