Commit graph

111 commits

Author SHA1 Message Date
wescande
38caf98d79 fix env + fix cliopts 2017-03-25 02:17:07 +01:00
wescande
1c213a5f11 norme on data_init 2017-03-24 17:13:11 +01:00
wescande
1b9d0540da rectif bquote quand on change de dossier + ajout option -v pour le script + je sais plus trop quoi mais cest good 2017-03-24 14:49:46 +01:00
Antoine Riard
be76e38a56 builtin, lexer et parser .h a la nomre 2017-03-22 17:30:34 +01:00
Antoine Riard
e83a22b16b builtin, lexer et parser .h a la nomre 2017-03-22 17:28:32 +01:00
Jack Halford
01ebed7cf6 forgot to remove exit 2017-03-22 17:25:37 +01:00
Jack Halford
aa7dc0bbc8 builtin_read pipes 2017-03-22 16:50:40 +01:00
Jack Halford
b1f730a833 env ./42sh still making problems 2017-03-22 00:29:03 +01:00
Antoine Riard
6673422632 close #130 2017-03-21 19:38:47 +01:00
Jack Halford
89fd444e84 job control fine tuning 2017-03-21 15:13:32 +01:00
Jack Halford
95e828b7b7 please use SH_ERR to display error messages 2017-03-21 14:03:29 +01:00
wescande
84bf7575c2 rectif exec of script + rectif job_control+ MOTHER FUCKER YEAH 2017-03-21 02:15:59 +01:00
Jack Halford
38d8847f82 fd fix, process state now enum not flag 2017-03-20 11:22:43 +01:00
Jack Halford
f482f78254 data_init and get_fd refactoring 2017-03-20 09:56:58 +01:00
Jack Halford
dfaf728660 builtin_read many changes 2017-03-19 15:08:30 +01:00
Antoine Riard
137aa1d976 protecting against malloc failure in parser 2017-03-18 19:20:00 +01:00
Antoine Riard
6f58bb20b3 heredoc ok 2017-03-18 19:00:46 +01:00
Antoine Riard
50971a7e23 modifs math 2017-03-17 23:21:25 +01:00
Antoine Riard
a1cb831783 math correction 2017-03-17 23:17:48 +01:00
Jack Halford
6f4ecd2960 bquotes and '-c' work again 2017-03-17 21:16:54 +01:00
Jack Halford
043b0247b8 token and ast not in data_singleton() 2017-03-17 21:02:13 +01:00
Antoine Riard
1ad56ece41 master steady, merged end 2017-03-17 00:22:47 +01:00
Jack Halford
0c848e75d3 lexer NORM, bquote/dquote lexing refactoring 2017-03-16 23:17:33 +01:00
gwojda
10ff285727 fixe some leaks 2017-03-15 16:38:04 +01:00
Jack Halford
c6a23fb2ac no more custom parsing, all is done w/ cliopts 2017-03-14 21:51:40 +01:00
Jack Halford
4572a81c5a export finished, added cliopts 2017-03-14 21:11:28 +01:00
Antoine Riard
55b72823cb before pull 2017-03-13 14:06:54 +01:00
Antoine Riard
7708a456a9 redir ok if + case 2017-03-11 15:21:11 +01:00
Jack Halford
6660c5ed2c issue #73 2017-03-09 14:35:49 +01:00
Antoine Riard
791b99e469 last commit 2017-03-08 23:18:55 +01:00
Jack Halford
8cba9bc113 issue #52: rewrote lexer_sep entirely 2017-03-08 12:21:13 +01:00
wescande
bac6e9d6d8 permet de compiler 2017-03-07 21:25:40 +01:00
Jack Halford
6ef7a1289a compilation error 2017-03-07 18:38:20 +01:00
Jack Halford
764c62cc45 changed header layout 2017-03-07 18:37:13 +01:00
Jack Halford
a5f186eb59 new process logic 2017-03-07 15:05:04 +01:00
Antoine Riard
3dc47431ba gestion error ok + moar grammar pipe 2017-03-04 16:51:38 +01:00
AntoHesse
0f684e6189 clean instruction (token, parser, error) whatever succes or error, still issue lexing after syntax error 2017-03-04 02:51:52 +01:00
Jack Halford
3857b06785 execution much simpler with new parser, thx ariard! 2017-03-02 21:17:16 +01:00
AntoHesse
9c0984658e exec flow control 2017-02-26 01:13:47 +01:00
Jack Halford
ec79b05131 new instruction handler looks good 2017-02-21 20:21:52 +01:00
Jack Halford
661cb0eb8b get_fd 2017-02-21 14:35:14 +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
gwojda
ea073dceaf correction segv edition de ligne + ajout table de hash 2017-02-18 14:42:43 +01:00
ariard@student.42.fr
185ed2ebd3 gen ast en cours 2017-02-15 20:58:41 +01:00
gwojda
b67c7fd7d3 ajout d'env avec opt -i -u / export / unset 2017-02-15 15:46:43 +01:00
ariard@student.42.fr
1358c367e6 jack a raison: les enums ca marche.. 2017-02-10 01:43:20 +01:00
Jack Halford
e8cd4f45b0 started to work on lexer_stack 2017-02-10 00:38:45 +01:00
ariard@student.42.fr
5ec1e4c29f before test pushdown automata 2017-02-08 23:28:18 +01:00
Jack Halford
5a033a8789 fcntl for saving fds, new option to distinguish interactive shell or not 2017-02-08 22:48:37 +01:00