ariard@student.42.fr
|
b0dececf1f
|
loop_del
|
2017-01-31 22:52:36 +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
|
2212c927f8
|
ast with while ok next:execution while
|
2017-01-30 17:23:55 +01:00 |
|
ariard@student.42.fr
|
42bd66af42
|
generation liste chainee d'ast de multi commande ok, to-do : ast de while
|
2017-01-28 23:39:59 +01:00 |
|
ariard@student.42.fr
|
47a2fdd683
|
doing, parsing newline et generation liste chaine d arbre binaire
|
2017-01-26 22:43:47 +01:00 |
|
ariard@student.42.fr
|
bcaa2fb943
|
lexing while_clause, passage en buffer dynamique au readscript todo tomorrow
|
2017-01-26 01:00:03 +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
|
ca8fb52d34
|
add lst_find_until + exec script multilines ok
|
2017-01-24 18:08:32 +01:00 |
|
ariard@student.42.fr
|
0431add79c
|
modifs readscript + token newline
|
2017-01-24 01:27:25 +01:00 |
|
ariard@student.42.fr
|
830b04208e
|
shell tokenize newline debut
|
2017-01-22 23:32:57 +01:00 |
|
ariard@student.42.fr
|
f81a51cdd8
|
others shebang ok
|
2017-01-22 22:55:34 +01:00 |
|
ariard@student.42.fr
|
e4682de358
|
read script queue ok
|
2017-01-22 21:40:30 +01:00 |
|
ariard@student.42.fr
|
133f4bf052
|
read script init
|
2017-01-22 00:38:27 +01:00 |
|
Jack Halford
|
4b22633cab
|
backquotes ok for simple, need to do furthur testing later, also check how bash handles nested backquotes
|
2017-01-18 14:28:49 +01:00 |
|
Jack Halford
|
dfdf245b1a
|
backquote work, still some segfaults, end of day commit
|
2017-01-12 18:09:16 +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
|
757976474e
|
j'avais cassé Ctrl-Z en mergeant, c'est fix
|
2017-01-10 18:05:24 +01:00 |
|
Jack Halford
|
8b414aac13
|
merge stash
|
2017-01-10 17:07:25 +01:00 |
|
Jack Halford
|
8f70df9264
|
addded my old set_termios
|
2017-01-10 17:05:17 +01:00 |
|
Jack Halford
|
f011ea258d
|
first try at $ expansion, done on the fly in the lexer, not tested thoroughly
|
2017-01-10 15:20:45 +01:00 |
|
Jack Halford
|
0c99e8012c
|
lexer improvements
|
2017-01-10 14:09:18 +01:00 |
|
Jack Halford
|
e4e32db599
|
merge done
|
2017-01-10 13:23:21 +01:00 |
|
Jack Halford
|
da285e7c1f
|
removed debug messages in job control before merge
|
2017-01-10 12:34:27 +01:00 |
|
Jack Halford
|
21276905b7
|
petit commit avant de merge job_control: unification de data_singleton (Samuel n'utilisais pas le meme) et quelques petites retouches. beau boulet sur le readline @sbenning
|
2017-01-10 11:58:03 +01:00 |
|
Jack Halford
|
9d02933f72
|
builtin_bg done, doesnt take arguments yet
|
2017-01-09 17:00:56 +01:00 |
|
Jack Halford
|
153b9aec79
|
pipelines fixed, job messaging better for notification & for builtin_jobs. still gotta fix cat (See previous commits msgs)
|
2017-01-09 16:26:54 +01:00 |
|
Jack Halford
|
204d5b9795
|
pipelines broken in this commit
|
2017-01-09 16:01:09 +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
|
df1f449778
|
pipelines fixed
|
2017-01-07 22:27:13 +01:00 |
|
Jack Halford
|
9e8939d588
|
cleanup after merge (few segfaults remained because of auto merge done the wrong way around. process_reset added
|
2017-01-02 21:31:20 +01:00 |
|
Jack Halford
|
14e5d176aa
|
end of holidays commit
|
2017-01-02 17:22:50 +01:00 |
|
Jack Halford
|
72b9e72fc8
|
days work, still a lot to do
|
2016-12-15 18:32:48 +01:00 |
|
Jack Halford
|
fc53e40a4f
|
mostly compile-time error fixing
|
2016-12-14 23:26:29 +01:00 |
|
Jack Halford
|
e3b344bbb9
|
big refactoring in progress, will finish tomorrow
|
2016-12-13 17:59:58 +01:00 |
|
Jack Halford
|
160810b3bc
|
stuff i did before pulling
|
2016-12-13 12:58:18 +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
|
83bde42e02
|
data singleton and sigchld handler advancements
|
2016-12-12 00:43:03 +01:00 |
|
Jack Halford
|
09e823bf2b
|
job control: retrieval of dat as a global g_data so signal handlers can access it
|
2016-12-10 18:26:09 +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
|
1f36fc1501
|
ft_cleanup called at exit, reset termios to ISIG,ICANON,ECHO
|
2016-12-01 14:47:28 +01:00 |
|
Jack Halford
|
007b4c6a3f
|
signal handling works like bash for sigint: doesnt interrupt cat
|
2016-12-01 14:27:52 +01:00 |
|
Jack Halford
|
9b85099485
|
env -i ./minishell quits and doesnt segfault. fixed behaviour for builtins in pipeline (fork when out isnt stdout)
|
2016-12-01 12:35:37 +01:00 |
|
Jack Halford
|
07b8519239
|
added &&,|| and & operators to lexer/parser
|
2016-11-30 22:09:55 +01:00 |
|