Jean
|
6948bbae63
|
fix(execution): Reimplemented the redirection logic
|
2026-01-29 18:51:07 +01:00 |
|
william.valenduc
|
3d26c0a897
|
fix(ast)!: assignment typo
|
2026-01-29 18:51:07 +01:00 |
|
william.valenduc
|
a0b723fb30
|
feat(execution): update $PWD and $OLD_PWD
|
2026-01-29 18:51:07 +01:00 |
|
matteo
|
dd8a7165e1
|
Revert "feat(ast_assignement): changed (name, value) to assignement"
This reverts commit ac77d79a60.
|
2026-01-29 12:19:21 +01:00 |
|
matteo
|
2884fa78d9
|
feat(ast_assignement): changed (name, value) to assignement
|
2026-01-29 12:19:21 +01:00 |
|
matteo
|
6da801675a
|
feat(lexer): implementing assignements
|
2026-01-29 12:19:21 +01:00 |
|
matteo
|
46dde29c20
|
fix: small errors in exec and parser
|
2026-01-29 12:19:21 +01:00 |
|
matteo
|
d775ab6c1a
|
feat(ast): add ast_assignements. Similar to how redirections are handled.
|
2026-01-29 12:19:21 +01:00 |
|
william.valenduc
|
308ac9ac8d
|
feat(expansion): remove double quotes
|
2026-01-29 12:19:21 +01:00 |
|
Jean
|
ed64a1bc18
|
began to reimplement the new execution
|
2026-01-29 12:19:21 +01:00 |
|
matteo
|
050a1909f0
|
feat(parser): helper static function
|
2026-01-29 12:19:21 +01:00 |
|
matteo
|
967a78e1a4
|
fix(parser): small typos
|
2026-01-29 12:19:21 +01:00 |
|
matteo
|
efb0a6f148
|
style(parser): refactor parse_command
|
2026-01-29 12:19:21 +01:00 |
|
matteo
|
51fc8a3330
|
feat(parser): parse_command version with prefixes and elements
|
2026-01-29 12:19:21 +01:00 |
|
matteo
|
9d586402df
|
fix: redirections types
|
2026-01-29 12:19:21 +01:00 |
|
Matteo Flebus
|
1e4b3fb0a8
|
feat(redirections): ast commands now have a field for the list of redirections + redirections implemented in parser
|
2026-01-29 12:19:21 +01:00 |
|
matteo
|
f1310b7b09
|
feat(lexer): parsing and_or operators
|
2026-01-28 16:42:40 +01:00 |
|
Jean HERAIL
|
a8b4e5d6df
|
fix(execution): reimplemented the builtins
|
2026-01-27 21:10:24 +01:00 |
|
Matteo Flebus
|
8a5c589742
|
feat(parser): redirections
|
2026-01-27 19:56:33 +01:00 |
|
Matteo Flebus
|
04ff7376eb
|
Merge branch 'parser' into dev
|
2026-01-27 19:10:53 +01:00 |
|
Matteo Flebus
|
9ea979b303
|
fix(parser): initialization is not heap buffer overflowing anymore
|
2026-01-27 19:10:32 +01:00 |
|
Matteo Flebus
|
b0c4400cdf
|
Merge branch 'parser' into dev
|
2026-01-27 18:01:13 +01:00 |
|
Matteo Flebus
|
13018e0a03
|
fix: small bugs to make it compile
|
2026-01-27 18:00:59 +01:00 |
|
Matteo Flebus
|
9003675c40
|
feat(lexer): negation
|
2026-01-27 16:44:53 +01:00 |
|
Matteo Flebus
|
c48d86c8de
|
feat(parser): negation handled
|
2026-01-27 16:35:30 +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
|
07e7d83c60
|
fix(parser): error message now displayed on stderr
|
2026-01-26 19:54:43 +01:00 |
|
Matteo Flebus
|
666517e3c1
|
feat(parser): implementing all redirection types -- WIP
|
2026-01-26 19:00:20 +01:00 |
|
Matteo Flebus
|
d707c6180b
|
merge new parser into dev
|
2026-01-26 18:40:10 +01:00 |
|
Matteo Flebus
|
23f6815162
|
feat(parser): redirections types handled in grammar init
|
2026-01-26 18:35:48 +01:00 |
|
Jean
|
351562bb89
|
feat: flemme scripts for building and testing
|
2026-01-26 18:35:08 +01:00 |
|
Matteo Flebus
|
f1ad31c442
|
Merge branch 'dev'
|
2026-01-26 17:22:06 +01:00 |
|
Matteo Flebus
|
c8c72085cb
|
fix(testsuite): files .sh now have the correct shebang
|
2026-01-26 17:21:34 +01:00 |
|
Gu://em_
|
69bdecbb62
|
fix: fixed testsuite reporting false failures
|
2026-01-25 16:50:22 +01:00 |
|
matteo
|
668bba5b02
|
Merge branch 'testsuite' into dev
|
2026-01-24 17:49:07 +01:00 |
|
matteo
|
5ce56702a4
|
Merge branch 'execution' into dev
|
2026-01-24 17:46:44 +01:00 |
|
matteo
|
0c23863580
|
fix(functional-testsuite): timeout shorter, 2s => 0.2s
|
2026-01-24 17:45:17 +01:00 |
|
Jean
|
9276e1a8a5
|
Fixed the length of the execution function
|
2026-01-24 17:35:06 +01:00 |
|
matteo
|
3b538cbb79
|
fix(lexer): edge cases where 'f' can be lexed as 'fi' for example
|
2026-01-24 17:21:45 +01:00 |
|
Gu://em_
|
adc1bdc841
|
Merge branch 'functional-testing' into dev
|
2026-01-24 17:19:50 +01:00 |
|
Gu://em_
|
83935e9180
|
feat: vla les tests
|
2026-01-24 17:19:03 +01:00 |
|
william.valenduc
|
32d38c0d13
|
feat(vars): $@ and $* init
|
2026-01-24 16:03:25 +00:00 |
|
matteo
|
e11eca72dc
|
fix(testsuite): iobackend tests are now useable
|
2026-01-24 16:54:26 +01:00 |
|
Gu://em_
|
787b1aed35
|
fix: random fixes
|
2026-01-24 16:48:21 +01:00 |
|
matteo
|
79a73a23a0
|
fix(testsuite): unit testing running
|
2026-01-24 16:36:23 +01:00 |
|
william.valenduc
|
00c2b9c979
|
fix(lists): restored lists in splitted files
|
2026-01-24 15:24:07 +00:00 |
|
Gu://em_
|
3ee4a0b9ca
|
feat: finished the new firsts system and began supporting redirections
|
2026-01-24 16:13:16 +01:00 |
|
matteo
|
91806d926e
|
fix: testsuite sees the BIN_PATH, default value is to src/42sh
|
2026-01-24 16:04:42 +01:00 |
|