Commit graph

274 commits

Author SHA1 Message Date
Jack Halford
338913ade0 ctrlD ok 2017-03-20 20:53:23 +01:00
Antoine Riard
31bb8797c4 better historique, but do_lexer_routine no more 'a la Norme' 2017-03-20 16:43:42 +01:00
wescande
f8753646e2 merge 2017-03-20 14:47:03 +01:00
wescande
229864750f new Makefile compile libft without relink. change on exec for forker. change on all builtin for return status & set exit status 2017-03-20 14:42:49 +01:00
Jack Halford
33f6c24b0e job control minor fixes 2017-03-20 11:49:00 +01:00
wescande
714b0854be catch fix on master 2017-03-20 11:37:57 +01:00
wescande
ac27fb4ce1 Merge branch 'master' of github.com:jzck/42sh 2017-03-19 17:45:32 +01:00
wescande
60f150a4b4 modif env, modif command get ouput, modif hash (just a str is needed) 2017-03-19 17:45:29 +01:00
gwojda
5b27418ead fix invalid read/leaks completion 2017-03-19 15:35:21 +01:00
wescande
c8c9049661 modif makefile + script 2017-03-19 13:44:44 +01:00
Antoine Riard
3a58fcd715 no more from pop_stack and ast_free 2017-03-18 17:38:26 +01:00
gwojda
40f852345e fix histo avec ! + completion multiligne + rematch 2017-03-18 15:20:38 +01:00
gwojda
cffec70bf1 dsl pr les makefile... 2017-03-18 14:15:47 +01:00
gwojda
01461bd036 fix leaks completion 2017-03-18 14:12:15 +01:00
gwojda
112e72d9ab fix export 2017-03-18 11:48:17 +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
043b0247b8 token and ast not in data_singleton() 2017-03-17 21:02:13 +01:00
Antoine Riard
7f236af741 correction syntax + mise a la norme parser 2017-03-17 18:43:21 +01:00
gwojda
0967785551 flag makefile 2017-03-17 15:13:45 +01:00
gwojda
b4b8c1ddda mise a la norme edition de ligne 2017-03-17 15:13:02 +01:00
Antoine Riard
1ad56ece41 master steady, merged end 2017-03-17 00:22:47 +01:00
Antoine Riard
ad3525b9d6 end merge 2017-03-17 00:15:40 +01:00
Antoine Riard
d4ef4b319a master steady with new main 2017-03-17 00:05:10 +01:00
Jack Halford
0c848e75d3 lexer NORM, bquote/dquote lexing refactoring 2017-03-16 23:17:33 +01:00
Antoine Riard
64d5500c8d main good 2017-03-16 22:30:02 +01:00
Jack Halford
6efd4c7e1f main refactoring 2017-03-16 14:20:44 +01:00
M600
c4df4b837b Norme for autocompletion module 2017-03-16 09:18:25 +01:00
Jack Halford
85fbbe3d8a some norme, builtin_read refactoring 2017-03-15 21:54:30 +01:00
Jack Halford
6bfd442e82 #1, removed perror illegal function 2017-03-15 18:12:10 +01:00
Jack Halford
124fb2138a Makefile update: binary stripping. #1 easier to see illegal functions 2017-03-15 18:09:39 +01:00
gwojda
26e20534cf correction, merci wescande 2017-03-15 16:53:35 +01:00
gwojda
10ff285727 fixe some leaks 2017-03-15 16:38:04 +01:00
gwojda
dbdf84c00f fixe some leaks 2017-03-15 16:18:15 +01:00
Antoine Riard
36e0522fb3 math as a builtin 2017-03-14 22:58:22 +01:00
Antoine Riard
8791eae9c3 math as a builtin 2017-03-14 22:49:44 +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
gwojda
9545cb5e00 avec le header c'est mieux... 2017-03-14 13:51:06 +01:00
gwojda
c654e524f4 fix somes bugs #100 2017-03-14 12:14:06 +01:00
Antoine Riard
f02222d882 modifs var 2017-03-14 00:52:51 +01:00
Antoine Riard
95cebeaded news parsing if and case 2017-03-13 22:51:07 +01:00
Antoine Riard
1c1c75934a news parsing if and case 2017-03-13 22:50:02 +01:00
Jack Halford
b7804d547a big refactoring of execution and process handling 2017-03-13 22:39:12 +01:00
Jack Halford
c167d80270 brace group execution done 2017-03-13 19:23:20 +01:00
Jack Halford
047f77abd6 issue #91 2017-03-13 17:42:00 +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
gwojda
e43f743d4c merge completion 2017-03-10 17:45:53 +01:00
gwojda
7e55dc5b7a merge completion 2017-03-10 17:45:01 +01:00
gwojda
b8e9a9e094 pr compiler 2017-03-10 17:34:31 +01:00
Antoine Riard
e96638aca1 execution bang 2017-03-10 16:18:36 +01:00
M600
b8324bdc51 Add early arrow support 2017-03-10 10:00:43 +01:00
M600
328db0b260 Add rolling list 2017-03-10 08:48:21 +01:00
gwojda
7508a136b2 on compile mnt 2017-03-09 17:35:42 +01:00
gwojda
0872af38f0 ajout module de glob + match sur les vars d'environnement 2017-03-09 17:29:55 +01:00
Jack Halford
a9799debda issue #72, tried to reset file descriptors but still not working 2017-03-09 15:24:00 +01:00
Antoine Riard
762623f4a1 la c est bon 2017-03-09 00:21:25 +01:00
Antoine Riard
4d13a2e6e6 end merge 2017-03-08 23:44:03 +01:00
Antoine Riard
a8881bfed3 end 2017-03-08 23:20:28 +01:00
Antoine Riard
791b99e469 last commit 2017-03-08 23:18:55 +01:00
wescande
029e1a1bbe Merge branch 'pda' of github.com:jzck/42sh into pda 2017-03-08 16:24:33 +01:00
wescande
86a733ffe5 ajout affichage du job control 2017-03-08 16:24:25 +01:00
Jack Halford
794a3f9936 heredoc changes to lexer done 2017-03-08 15:53:10 +01:00
Jack Halford
95be4e209c stuff 2017-03-08 14:52:44 +01:00
Jack Halford
e711ffc927 issue #50 done 2017-03-08 13:07:46 +01:00
wescande
9f8f9bb729 normalement les fonctions sont fonctionnelles. necessitent plus de test. 2017-03-08 04:49:50 +01:00
Antoine Riard
cc5ba1dc75 pull done 2017-03-08 03:07:16 +01:00
Antoine Riard
bce509e19c wefwef 2017-03-08 03:05:01 +01:00
wescande
157519224d ajout des free en fonction du process 2017-03-08 02:40:58 +01:00
Antoine Riard
37970c7274 ft_lstdup 2017-03-08 01:47:40 +01:00
wescande
3a186407b1 working but no subshell 2017-03-08 01:45:29 +01:00
wescande
26222441cc ajout execution des while, if, for, case, until 2017-03-07 22:45:48 +01:00
wescande
bac6e9d6d8 permet de compiler 2017-03-07 21:25:40 +01:00
wescande
ad5bea849e working on job_control, need to catch Jack work's 2017-03-07 20:53:11 +01:00
gwojda
b4e7d8ab5e mise a la norme edition de ligne 2017-03-07 17:37:32 +01:00
Antoine Riard
d30519ced2 with math 2017-03-07 14:40:44 +01:00
Antoine Riard
14be331b4e expr math doing 2017-03-07 12:22:05 +01:00
wescande
7ae114fd55 permet la compilation en commentant exec_var 2017-03-07 12:19:10 +01:00
AntoHesse
6c8c3ea792 parsing math ok 2017-03-07 02:09:33 +01:00
Antoine Riard
1dbc4653fd expansion for + cleanage code get_reserved_word 2017-03-06 19:05:43 +01:00
wescande
d3821b9ac7 some correctif 2017-03-06 16:20:06 +01:00
gwojda
21a2aca244 ajout control L 2017-03-05 19:41:13 +01:00
Jack Halford
23cdcb2dbb merged new reidrection layout from pda 2017-03-05 19:30:27 +01:00
Antoine Riard
cba548d0ae redir io number seems good 2017-03-05 18:17:51 +01:00
Jack Halford
b998f45e49 comments with # 2017-03-05 17:30:32 +01:00
Jack Halford
77ed38038a merged 2017-03-05 16:33:11 +01:00
Jack Halford
ee883b38a9 parens and curly braces lexing OK 2017-03-05 16:30:48 +01:00
william
eb6e104812 compilation sous linux possible, mise en commentaire des variables set but not used 2017-03-05 15:44:12 +01:00
Jack Halford
566cd522ae builtins no longer remain in job control 2017-03-05 15:07:43 +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
wescande
6ce2a1ec14 rectif free on expand_var 2017-03-03 20:45:36 +01:00
Antoine Riard
b4fdc05f64 ast free 2017-03-03 20:12:57 +01:00
Antoine Riard
29692ef8fa ast free 2017-03-03 20:02:53 +01:00
Jack Halford
20e96b751f pipes work 2017-03-03 18:50:13 +01:00
Jack Halford
bc40339015 merged more stuff 2017-03-03 18:06:04 +01:00
Jack Halford
783cd963e4 merged things 2017-03-03 18:05:17 +01:00
Jack Halford
03c62f69a6 stuff 2017-03-03 18:03:17 +01:00
wescande
d146126135 rectif makefile 2017-03-03 18:01:25 +01:00
Jack Halford
2ad34631e3 parentheses dont trigger more input after lexing 2017-03-03 17:58:08 +01:00