Commit graph

19 commits

Author SHA1 Message Date
a083800506
word splitting: a single word is not split
Sorry this commit is a bit big, lots of groudwork is being established here
2025-02-20 14:55:29 +01:00
abea59eba4
get_command refactor: put into own file 2025-02-20 14:40:57 +01:00
e445f668b3
env_manip: sort funcs per structure that is being manipulated
This is instead of the operation that is being performed.

I find it more logical this way, but if you prefer we can keep it as-is.

I also put the identifier_isvalid func into parser/matchers
2025-02-19 14:47:10 +01:00
Jérôme Guélen
30d32a1d53 ft_errno: integrate ft_errno library 2025-02-19 14:34:09 +01:00
Jérôme Guélen
660d785237 ENV: A small set of functions for internal env 2025-02-19 14:34:09 +01:00
Jérôme Guélen
5b00059526 refactor: rename env_get_set.c to env_get.c 2025-02-19 14:34:09 +01:00
897f6c6a6b
fix(Makefile): ASAN malloc stacktraces were being truncated 2025-02-19 14:34:09 +01:00
a6ce45ca87
tests Makefile: add rules to run C tests iwth specific sanitizer 2025-02-19 14:34:08 +01:00
c7a86eecfd
tests: tests can now use libft 2025-02-19 14:34:08 +01:00
da447a2491
env_manip: make it compile 2025-02-19 14:34:08 +01:00
67ffe772b0
Makefile: add rule to run only C tests 2025-02-13 15:42:02 +01:00
2d03d208e8
fix(Makefile): norm should check the libft 2025-02-12 17:01:43 +01:00
Jérôme Guélen
ddb2306630 libs: added libft 2025-02-12 15:12:42 +01:00
Khaïs COLIN
7a99014485
new matcher: metacharacter (separates words) 2025-02-07 15:29:43 +01:00
Khaïs COLIN
60d9b212fb
tests: add infrastructure for writing tests in C 2025-02-07 15:29:43 +01:00
Khaïs COLIN
e022ca0ce7
tests: add shellspec spec file 2025-02-07 15:29:43 +01:00
Khaïs COLIN
a23b639f78
read: read a line with readline and echo it back 2025-02-07 15:29:43 +01:00
Khaïs COLIN
6b7557f693
Makefile: add rule to check norm 2025-02-07 15:29:43 +01:00
Khaïs COLIN
2f33e82d0d
add Makefile 2025-02-07 15:29:43 +01:00