matteo
|
a550f9747e
|
feat(ast): ast_function
|
2026-01-31 11:57:51 +01:00 |
|
Gu://em_
|
f31fca4204
|
feat: full while/until loops support, important bug fixes and more tests
|
2026-01-30 23:43:49 +01:00 |
|
Gu://em_
|
d6e6bfacf2
|
feat: Merge branch 'parser' into dev
|
2026-01-30 21:32:57 +01:00 |
|
Gu://em_
|
b663655d53
|
fix: strdup a la con
|
2026-01-30 21:27:23 +01:00 |
|
Matteo Flebus
|
828b0e8be3
|
fix: coverage tests and hash_map_free on NULL
|
2026-01-30 20:28:38 +01:00 |
|
Matteo Flebus
|
4d271981df
|
merge parser into dev with ast loops
|
2026-01-30 19:57:36 +01:00 |
|
Matteo Flebus
|
32c35c4bf7
|
fix: add dependencies in Makefile for new ast
|
2026-01-30 19:55:09 +01:00 |
|
Gu://em_
|
423793903d
|
feat: while and for loops support for parser, plus new ASTs, new tokens and fixes inside parser
|
2026-01-30 19:48:31 +01:00 |
|
Matteo Flebus
|
aa45e3d30f
|
feat: export handling, except exec
|
2026-01-30 19:37:05 +01:00 |
|
matteo
|
52d35cf355
|
fix: memory issues, parser errors and get_ast_if returning always NULL
|
2026-01-30 17:42:42 +01:00 |
|
matteo
|
5740195cb3
|
fix: heap-use-after-free and memory leaks on erorr cases
|
2026-01-30 17:42:42 +01:00 |
|
matteo
|
f8b91d4da3
|
fix: memory issues, parser errors and get_ast_if returning always NULL
|
2026-01-30 16:51:10 +01:00 |
|
matteo
|
3fa7b97282
|
fix: heap-use-after-free and memory leaks on erorr cases
|
2026-01-30 12:21:29 +01:00 |
|
william.valenduc
|
f0b39535fb
|
feat(utils): lists tests
|
2026-01-29 20:35:56 +00:00 |
|
matteo
|
028d4312af
|
feat: fuckning working
|
2026-01-29 20:29:02 +01:00 |
|
Jean
|
6ca10b673a
|
feat(compiling en fait): Execution
|
2026-01-29 19:35:08 +01:00 |
|
matteo
|
08803bd591
|
fix(ast_command): ast_list redir -> list redir
|
2026-01-29 19:20:29 +01:00 |
|
matteo
|
98d18eef7d
|
fix: ast_redir and ast_assignment accorded for every part
|
2026-01-29 18:46:11 +01:00 |
|
Jean
|
ec63be42e5
|
fix(execution): Reimplemented the redirection logic
|
2026-01-29 18:18:04 +01:00 |
|
william.valenduc
|
a98161d885
|
fix(ast)!: assignment typo
|
2026-01-29 11:40:55 +00:00 |
|
matteo
|
fe3c4243c8
|
Revert "feat(ast_assignement): changed (name, value) to assignement"
This reverts commit ac77d79a60.
|
2026-01-29 11:37:20 +01:00 |
|
matteo
|
ac77d79a60
|
feat(ast_assignement): changed (name, value) to assignement
|
2026-01-29 11:32:15 +01:00 |
|
matteo
|
fde653ac5d
|
feat(ast): add ast_assignements. Similar to how redirections are handled.
|
2026-01-29 09:56:28 +01:00 |
|
matteo
|
9a0f9bc6f1
|
fix: redirections types
|
2026-01-28 11:34:29 +01:00 |
|
Matteo Flebus
|
399d1ed3e1
|
feat(redirections): ast commands now have a field for the list of redirections + redirections implemented in parser
|
2026-01-27 21:06:36 +01:00 |
|
Matteo Flebus
|
8a5c589742
|
feat(parser): redirections
|
2026-01-27 19:56:33 +01:00 |
|
Matteo Flebus
|
13018e0a03
|
fix: small bugs to make it compile
|
2026-01-27 18:00:59 +01:00 |
|
Matteo Flebus
|
7614370d00
|
feat(parser): implementing redirections...
|
2026-01-27 16:17:40 +01:00 |
|
Matteo Flebus
|
d52f603eec
|
fix: changed puts to perror + redirections in parser
|
2026-01-27 16:05:11 +01:00 |
|
Gu://em_
|
96626d9850
|
feat: toujours les mêmes qui font les pipes. Plus de assert dans ASTs (pour des raisons évidentes de stabilité du code) et nouveaux types (AST_PIPE et AST_NEG), + modifs random dans le parser
|
2026-01-27 00:30:19 +01:00 |
|
Matteo Flebus
|
d707c6180b
|
merge new parser into dev
|
2026-01-26 18:40:10 +01:00 |
|
matteo
|
5ce56702a4
|
Merge branch 'execution' into dev
|
2026-01-24 17:46:44 +01:00 |
|
Jean
|
9276e1a8a5
|
Fixed the length of the execution function
|
2026-01-24 17:35:06 +01:00 |
|
william.valenduc
|
32d38c0d13
|
feat(vars): $@ and $* init
|
2026-01-24 16:03:25 +00:00 |
|
william.valenduc
|
00c2b9c979
|
fix(lists): restored lists in splitted files
|
2026-01-24 15:24:07 +00:00 |
|
william.valenduc
|
07d345f754
|
feat(vars): $# init
|
2026-01-24 14:51:27 +00:00 |
|
Gu://em_
|
32f56beb6b
|
feat: redirection rules
|
2026-01-24 15:34:10 +01:00 |
|
matteo
|
71fadb1b4a
|
fix: clang tidy + made static what could be instead of malloc
|
2026-01-24 12:55:11 +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 |
|
Gu://em_
|
32e182bd50
|
fix: random fixes
|
2026-01-23 17:33:15 +01:00 |
|
Matteo Flebus
|
82f35cfa08
|
feat(parser): and_or_rule in progress
|
2026-01-22 19:57:49 +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 |
|
william.valenduc
|
4fc43e4678
|
feat(dev): expansion
|
2026-01-22 12:09:18 +00:00 |
|
Matteo Flebus
|
8f5733be19
|
feat: all merged
|
2026-01-22 12:05:01 +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 |
|