Commit graph

73 commits

Author SHA1 Message Date
Jack Halford
1f36fc1501 ft_cleanup called at exit, reset termios to ISIG,ICANON,ECHO 2016-12-01 14:47:28 +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
Jack Halford
af6452358c libft submodule reinit because of detached head state 2016-11-29 20:40:53 +01:00
Jack Halford
54a6cdecb0 pipes and redirection working 2016-11-29 20:30:36 +01:00
Jack Halford
1ac56a21e8 quoting FSM repaired 2016-11-29 15:39:39 +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
2f2e7c03b1 nice tree printing, starting to look good 2016-11-20 23:32:39 +01:00
Jack Halford
bce0f37b8e major stuff today: wrote a proper lexer based on finite state machines, quoting OK. next is finishing the parser, and history of line editing module 2016-11-18 23:16:32 +01:00
Jack Halford
74f9916047 input is now char* not dlist, started to write FSM for quoting git add --all 2016-11-18 00:00:32 +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
Jack Halford
43529fc845 tokenization finished. interactive shell improvements for signal handlind (ISIG option turned off). next step is parsing, thinking of AST structure 2016-11-12 23:51:34 +01:00
Jack Halford
fff4912306 some token stuff 2016-11-11 20:57:51 +01:00
Jack Halford
76535c73c1 work of 10/11/16, started tokenization 2016-11-10 17:05:15 +01:00
Jack Halford
94cdecd642 last push before starting 42 2016-11-02 23:03:56 +01:00
Jack Halford
6359eac19f interactive shell with termcaps 2016-10-28 21:24:29 +02:00
Jack Halford
4c0e368997 did setenv, exit, 0 variable 2016-10-14 21:15:25 +02:00
Jack Halford
26ce7ebf45 forgot what i did today :/ 2016-09-28 00:47:18 +02:00
Jack Halford
cc3f6e37d3 first commit 2016-09-27 05:14:51 +02:00