Commit graph

354 commits

Author SHA1 Message Date
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
Gu://em_
603def1597 fix: includes with relative path and memory leaks 2026-01-20 19:25:55 +01:00
Matteo Flebus
bbb69fddca refactor(lexer): now use struct instead of static var 2026-01-20 18:59:40 +01:00
Matteo Flebus
f38e828c0a Merge branch 'parser' into dev (keeping parser) 2026-01-19 19:37:59 +01:00
william.valenduc
4c7029ccc0 Merge branch 'vars' into dev 2026-01-19 18:21:13 +00:00
william.valenduc
913e3bb5f5 feat(expansion): add special var expansion tests $$ and $? 2026-01-19 18:20:26 +00:00
william.valenduc
868b1cae17 fix(vars): vars_default var name $$ -> $ 2026-01-19 18:20:20 +00:00
william.valenduc
e640e7bdbd fix(ast): update include paths to relative 2026-01-19 18:15:57 +00:00
william.valenduc
e569439e78 fix(string_utils): update include sys/types.h -> stddef.h 2026-01-19 18:15:57 +00:00
Matteo Flebus
c1f1a2fc37 fix(parser): 3098750984535 compilations errors in parsing_utils 2026-01-19 19:15:28 +01:00
william.valenduc
b443cd1876 feat(expansion) 10291 expansion 2026-01-19 17:55:16 +00:00
Matteo Flebus
6b539d1eac Merge branch 'lexer' into dev 2026-01-19 18:52:44 +01:00
Matteo Flebus
e6bd92af38 fix(lexer): now raising error on unmatched quote, rather than crashing 2026-01-19 18:52:23 +01:00
Matteo Flebus
e3a038677f Merge branch 'lexer' into dev 2026-01-19 18:20:08 +01:00
Matteo Flebus
454bd76abc fix(lexer): now really handling quotes 2026-01-19 18:19:35 +01:00