Jack Halford
|
418859e9e8
|
it compiles ! much more testing for simple commands to work
|
2017-03-03 16:51:18 +01:00 |
|
Jack Halford
|
3857b06785
|
execution much simpler with new parser, thx ariard!
|
2017-03-02 21:17:16 +01:00 |
|
Jack Halford
|
03152a9e2b
|
conflicts resolved
|
2017-02-28 21:40:22 +01:00 |
|
Jack Halford
|
8084ffb6a1
|
pipes done
|
2017-02-21 22:42:13 +01:00 |
|
ariard@student.42.fr
|
fffb8c74a5
|
before pull main clean
|
2017-02-21 20:29:46 +01:00 |
|
ariard@student.42.fr
|
7856564ecb
|
main clean
|
2017-02-21 18:34:31 +01:00 |
|
ariard@student.42.fr
|
07c2101df4
|
EOF error add
|
2017-02-21 18:15:21 +01:00 |
|
Jack Halford
|
c04006a471
|
fixed some merging problems : it compiles now
|
2017-02-20 22:41:02 +01:00 |
|
ariard@student.42.fr
|
8d23821d69
|
after mege
|
2017-02-20 21:05:12 +01:00 |
|
AntoHesse
|
7f83e231aa
|
&& ||
|
2017-02-17 02:38:56 +01:00 |
|
ariard@student.42.fr
|
46ccf47755
|
loop read again if script modifierd
|
2017-02-06 22:04:21 +01:00 |
|
ariard@student.42.fr
|
c0977b20ff
|
until exec ok
|
2017-02-06 21:02:37 +01:00 |
|
ariard@student.42.fr
|
490f81ee23
|
exec if + elif + else ok to-do:syntax error
|
2017-02-06 19:48:17 +01:00 |
|
ariard@student.42.fr
|
a211bfd1b0
|
parsing if/elsif stable
|
2017-02-06 17:59:48 +01:00 |
|
Jack Halford
|
156e1cb29c
|
file redirections repaired
|
2017-02-06 16:51:34 +01:00 |
|
ariard@student.42.fr
|
9bb45abb3d
|
currently parsing if, to-do:syntax error, clean code& interactive shell
|
2017-02-06 00:05:32 +01:00 |
|
ariard@student.42.fr
|
fcea6dda9b
|
scripting stable before new lexing and parsing(merged with master)
|
2017-02-03 15:41:14 +01:00 |
|
ariard@student.42.fr
|
e708ce1e16
|
merge resolved
|
2017-02-03 14:44:35 +01:00 |
|
Jack Halford
|
62be4bc470
|
new architecture for redirection inside of fork(), chained redirects dont work properly yet
|
2017-02-03 14:11:34 +01:00 |
|
Jack Halford
|
985745f881
|
starting to fixi redirections
|
2017-02-03 13:21:06 +01:00 |
|
Jack Halford
|
b08b727779
|
orphan backquotes and orpan parens generate parse errors
|
2017-02-02 15:28:18 +01:00 |
|
Jack Halford
|
073ef322e4
|
fixed backquotes
|
2017-02-02 14:57:30 +01:00 |
|
ariard@student.42.fr
|
73b4cc3060
|
resolution empty tree + nested loop + while error lexing
|
2017-01-31 22:12:49 +01:00 |
|
ariard@student.42.fr
|
0dc029406f
|
exec while ok nxt: resoudre bug empty tree
|
2017-01-30 23:47:05 +01:00 |
|
ariard@student.42.fr
|
000ae4116a
|
generation subtree test_commands + consequent_commands
|
2017-01-30 19:31:34 +01:00 |
|
ariard@student.42.fr
|
a011f94bcb
|
comment same bug that with a space in input execution, tree empty cause bug execution
|
2017-01-24 20:17:46 +01:00 |
|
ariard@student.42.fr
|
f81a51cdd8
|
others shebang ok
|
2017-01-22 22:55:34 +01:00 |
|
ariard@student.42.fr
|
133f4bf052
|
read script init
|
2017-01-22 00:38:27 +01:00 |
|
Jack Halford
|
ef400aa225
|
first effort towards subshells and backquotes, lexer done, execution done for subshells
|
2017-01-11 18:06:26 +01:00 |
|
Jack Halford
|
bbdaedef06
|
fg works with vim but not cat, probablty something to do w/ SIGTTIN or SIGTTOU.
|
2017-01-08 16:14:31 +01:00 |
|
Jack Halford
|
d2982d89bc
|
next to do: end of pipe doesnt terminate by itself
|
2017-01-03 15:36:53 +01:00 |
|
Jack Halford
|
72b9e72fc8
|
days work, still a lot to do
|
2016-12-15 18:32:48 +01:00 |
|
Jack Halford
|
e3b344bbb9
|
big refactoring in progress, will finish tomorrow
|
2016-12-13 17:59:58 +01:00 |
|
Jack Halford
|
6cfac2eaff
|
job control advances, still have to do ctrl-z, fg, bg, jobs
|
2016-12-12 18:13:29 +01:00 |
|
Jack Halford
|
4cfeb62747
|
job_control first commit:
|
2016-12-10 17:47:36 +01:00 |
|
Jack Halford
|
4feaa64e08
|
exitstatus function, so i can set ? variable in one line with not memory handling. No more leaks, sexy debug macro DG(), valgrind suppression, gitignore
|
2016-12-10 00:20:59 +01:00 |
|
Jack Halford
|
d24633c9e6
|
execution functions changes: they now take reference of nodes, they now
delete nodes after operations (suffix).
|
2016-12-10 00:14:33 +01:00 |
|
Jack Halford
|
768d996b7a
|
commit de reference
|
2016-12-03 15:37:50 +01:00 |
|
Jack Halford
|
972e3e6cbc
|
pad mal de norme, aussi on enleve le backslash si necessaire au lexing
|
2016-12-03 13:15:58 +01:00 |
|
Jack Halford
|
2d631469e6
|
execution of &&/|| done, added aol_status and aol_search to data (aol=and_or_list)
|
2016-12-01 17:47:41 +01:00 |
|
Jack Halford
|
07b8519239
|
added &&,|| and & operators to lexer/parser
|
2016-11-30 22:09:55 +01:00 |
|
Jack Halford
|
569812ddcb
|
pipeline working, added stack of old qstates to make the FSM adiabatic
|
2016-11-28 19:30:31 +01:00 |
|
Jack Halford
|
b59f05eb77
|
test.c to understant pipe()
|
2016-11-27 23:52:36 +01:00 |
|
Jack Halford
|
b0e7229c54
|
stuck at dup2
|
2016-11-26 23:05:23 +01:00 |
|
Jack Halford
|
aa456796ac
|
parsing virtually finished exept heredoc
|
2016-11-24 23:11:07 +01:00 |
|
Jack Halford
|
5f329666d3
|
more parsing and some exec
|
2016-11-14 18:50:18 +01:00 |
|
Jack Halford
|
92f2557e7e
|
libft btree
|
2016-11-13 23:59:34 +01:00 |
|