Commit graph

738 commits

Author SHA1 Message Date
wescande
6c2dbb0a57 expansion des variables locales au shell. 2017-03-07 12:11:13 +01:00
gwojda
1c41155c50 on a retrouvé le builtin history 2017-03-07 11:24:20 +01:00
gwojda
dea350d925 fixe bug history 2017-03-07 11:21:21 +01:00
AntoHesse
6c8c3ea792 parsing math ok 2017-03-07 02:09:33 +01:00
AntoHesse
bc1c16a45b parsing func stable, todo parsing brace_group 2017-03-07 01:17:58 +01:00
AntoHesse
f70f8bd3b5 exec var 2017-03-06 23:51:26 +01:00
Antoine Riard
4be3a84471 expansion case yeaaah 2017-03-06 19:46:09 +01:00
Antoine Riard
1dbc4653fd expansion for + cleanage code get_reserved_word 2017-03-06 19:05:43 +01:00
Antoine Riard
9f87126762 pull ok 2017-03-06 17:59:07 +01:00
Antoine Riard
8873f31f79 protection stack symbolique 2017-03-06 17:57:51 +01:00
Jack Halford
e9633119e5 >& and <& check if fd is open for reading/writing specifically 2017-03-06 16:58:47 +01:00
wescande
c42357efa3 merge of stuff 2017-03-06 16:22:01 +01:00
wescande
d3821b9ac7 some correctif 2017-03-06 16:20:06 +01:00
Antoine Riard
e675eceb87 redirection ok, further test needed 2017-03-06 15:58:30 +01:00
Antoine Riard
21245cac3b merge 2017-03-06 14:55:48 +01:00
Antoine Riard
65930ddf07 Merge branch 'pda' of https://github.com/jzck/42sh into pda
"recup work last night"
2017-03-06 14:51:32 +01:00
AntoHesse
2b5b23e981 execution case without extension 2017-03-06 02:11:03 +01:00
AntoHesse
4849c899e4 execution for without expansion 2017-03-06 01:10:54 +01:00
Jack Halford
40aebb29b2 redirect greatand / lessand execution done (parsing not functional yet) 2017-03-05 19:48:56 +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
b23c28bf2f subshell doing 2017-03-05 19:21:00 +01:00
Antoine Riard
314daa62a6 clean subshell 2017-03-05 19:19:45 +01:00
william
a0086265e4 merge correctif > < >& <&
3
2017-03-05 18:43:06 +01:00
william
08f437a573 scission apres les TOKEN_GREAT / LESS / GREATAND / LESSAND 2017-03-05 18:42:00 +01:00
Antoine Riard
cba548d0ae redir io number seems good 2017-03-05 18:17:51 +01:00
Jack Halford
25a8e2f65e getoutput temporary fix 2017-03-05 18:15:09 +01:00
Jack Halford
510a0c303a Merge branch 'pda_execution' of https://github.com/jzck/minishell into pda_execution 2017-03-05 17:30:38 +01:00
Jack Halford
b998f45e49 comments with # 2017-03-05 17:30:32 +01:00
Antoine Riard
1086d95d89 merge resolved 2017-03-05 17:23:02 +01:00
Antoine Riard
b6c0355904 redir without IO_NUMBER good 2017-03-05 17:20:43 +01:00
william
0d5408b114 qMerge branch 'pda_execution' of github.com:jzck/42sh into pda_execution 2017-03-05 17:18:57 +01:00
william
9bd9130ca6 rectif lexer number multi token 2017-03-05 17:18:37 +01:00
Antoine Riard
9e0c2bd906 merged done 2017-03-05 16:50:27 +01:00
Jack Halford
e645db2f0f changed libft preprocessor apple/linux dichotomy 2017-03-05 16:49:21 +01:00
Antoine Riard
5035122523 merge 2017-03-05 16:46:05 +01:00
Antoine Riard
2b456eac9c rectification cleanage code 2017-03-05 16:40:22 +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
0e85867fd8 IO_NUMBER sur plusieurs digits 2017-03-05 16:09:49 +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
9a038e9290 && || seem to work now 2017-03-05 15:19:18 +01:00
Jack Halford
566cd522ae builtins no longer remain in job control 2017-03-05 15:07:43 +01:00
Antoine Riard
56b106ee0f gen ast cleand 2017-03-04 22:08:31 +01:00
Antoine Riard
7d660fec7c execution if/elif/else + while ok 2017-03-04 18:02:38 +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
AntoHesse
dc423db858 stack is now a beautiful linked list 2017-03-04 02:17:06 +01:00
AntoHesse
af311380f4 further streamile grammar around pipe 2017-03-04 01:26:20 +01:00
wescande
6ce2a1ec14 rectif free on expand_var 2017-03-03 20:45:36 +01:00