Commit graph

218 commits

Author SHA1 Message Date
Gu://em_
83935e9180 feat: vla les tests 2026-01-24 17:19:03 +01:00
matteo
f3be15abb5 fix: testsuite sees the BIN_PATH, default value is to src/42sh 2026-01-24 15:46:19 +01:00
matteo
da948f58fe fix(execution): ast_void does not affect return value => if statements now work 2026-01-24 14:52:37 +01:00
matteo
6be3dde607 fix(main): memeory leaks from vars on error_input_processing 2026-01-24 13:20:29 +01:00
matteo
71fadb1b4a fix: clang tidy + made static what could be instead of malloc 2026-01-24 12:55:11 +01:00
matteo
de9173a71f fix: testsuite 2026-01-23 23:20:32 +01:00
matteo
a3998358ea fix: make check calls the functional testsuite 2026-01-23 20:38:52 +01:00
matteo
01c2505489 Merge branch 'functional-testing' into dev 2026-01-23 20:33:33 +01:00
matteo
b9d7dbce1f feat: build system ready for testsuite using make check 2026-01-23 20:31:49 +01:00
matteo
e853249fbf fix(lexer): $# and backslash implemented (partial version) 2026-01-23 20:11:21 +01:00
matteo
0c80663d7c Merge branch 'lexer' into dev 2026-01-23 19:37:14 +01:00
matteo
1e5593fc8e feat(lexer): operators done 2026-01-23 19:34:47 +01:00
william.valenduc
67ffea83d3 feat(vars): $UID 2026-01-23 17:13:41 +00:00
william.valenduc
7bcf48f63e feat(args): $0, $1, ... in vars 2026-01-23 17:05:56 +00:00
matteo
3cdba0ad9c feat(lexer): comments done + operator WIP 2026-01-23 15:56:21 +01:00
Matteo Flebus
82f35cfa08 feat(parser): and_or_rule in progress 2026-01-22 19:57:49 +01:00
Matteo Flebus
5faa179b63 fix(parser): rule if now works 2026-01-22 19:06:58 +01:00
Matteo Flebus
2f2509f1c9 fix: clean merge of pretty-print with no memory leaks 2026-01-22 17:19:17 +01:00
Jean Herail
f2e44d93f4 Merge branch 'dev' of gitlab.cri.epita.fr:guillem.george/42sh into dev 2026-01-22 16:49:12 +01:00
Jean Herail
3445a36a7c Pretty_print 2026-01-22 16:46:33 +01:00
william.valenduc
6dd19a75ad feat(execution): set $? var 2026-01-22 13:10:23 +00:00
Matteo Flebus
f20a02ddab Merge branch 'lexer' into dev 2026-01-22 14:06:25 +01:00
Matteo Flebus
fbc36f35b2 fix(IOB): EOF in stdin works 2026-01-22 14:05:49 +01:00
william.valenduc
4fc43e4678 feat(dev): expansion 2026-01-22 12:09:18 +00:00
Matteo Flebus
609c1667af fix(lexer): POKEDALLARS 2026-01-22 12:59:04 +01:00
Matteo Flebus
687f38523b fix(main_loop): no double echo 2026-01-22 12:08:51 +01:00
Matteo Flebus
8f5733be19 feat: all merged 2026-01-22 12:05:01 +01:00
Matteo Flebus
d6b103dcd2 Merge branch 'iobackend' into dev 2026-01-22 11:57:45 +01:00
Gu://em_
ed6e761f9c feat: testsuite summary and enhanced tests look 2026-01-21 22:59:33 +01:00
Matteo Flebus
39ca927c06 fix(IOB): EOF does not overwrite last char anymore 2026-01-21 20:00:48 +01:00
Jean Herail
527c635d3f Merge branch 'pretty_print' into dev 2026-01-21 19:59:12 +01:00
Jean Herail
0ede8d3eef Re-functionnal pretty-printing 2026-01-21 19:57:44 +01:00
Jean Herail
4a1fa12941 Added documentation for try_builtin 2026-01-21 19:39:11 +01:00
Gu://em_
402b1614b5 feat: Extended base tools for testing and made a basic test 2026-01-21 19:17:29 +01:00
Matteo Flebus
627c3057e9 fix(main): return code because of ast_free 2026-01-21 19:11:38 +01:00
Matteo Flebus
306b13308b feat(lexer): comment handling + healthy changes 2026-01-21 19:01:53 +01:00
Matteo Flebus
03e5305b56 fix(IOB): stdin and script should work 2026-01-21 18:59:53 +01:00
Matteo Flebus
a191f91bff Merge branch 'lexer' into dev 2026-01-21 16:20:45 +01:00
Matteo Flebus
26ac0ffe05 feat(lexer): created parser utils 2026-01-21 16:19:10 +01:00
Matteo Flebus
7e413547e1 fix: free hash_map for variables at end of program 2026-01-21 15:14:22 +01:00
Gu://em_
4d27cea46b feat: basic foundations for functional testing 2026-01-20 23:00:20 +01:00
Gu://em_
b5b40f303c fix: made all includes relatives for the wellbeing of all LSPs seeing this project 2026-01-20 22:16:46 +01:00
Matteo Flebus
71e58e38b8 fix: new lexer is linked to everything 2026-01-20 20:32:59 +01:00
Matteo Flebus
d5a1ec3ca6 fix(parser): adapting to new lexer 2026-01-20 20:27:46 +01:00
Matteo Flebus
bf929d413f Merge branch 'lexer' into dev 2026-01-20 19:59:06 +01:00
Matteo Flebus
a1a8cffbce Merge branch 'parser' into dev 2026-01-20 19:58:47 +01:00
Matteo Flebus
c3ab2585e1 feat(parser): adapted to new lexer without static var 2026-01-20 19:54:29 +01:00
Matteo Flebus
f1955f0532 refactor(lexer): now use struct instead of static var 2026-01-20 19:41:55 +01:00
Matteo Flebus
d59b72dc45 feat(lexer): destroy_lexer_context 2026-01-20 19:40:00 +01:00
Matteo Flebus
927e4ea25a fix(lexer): typo in func name 2026-01-20 19:29:24 +01:00