Commit graph

573 commits

Author SHA1 Message Date
Jack Halford
742a99440e backslash should work, also keep NL when they are quoted 2017-02-12 18:11:59 +01:00
ariard@student.42.fr
80a5a8b1e2 Merge branch 'pda' of https://github.com/jzck/minishell into pda
grammar neeeded
2017-02-12 17:30:47 +01:00
ariard@student.42.fr
775d995772 grammar 2017-02-12 17:30:36 +01:00
AntoHesse
6601e2111f moar moar grammar 2017-02-12 04:09:36 +01:00
AntoHesse
516e1dade5 enforcement grammar part 1 2017-02-12 02:40:34 +01:00
ariard@student.42.fr
30494f2df2 moar grammar 2017-02-10 20:08:46 +01:00
gwojda
ab66992500 prompt zsh style : quelques petits trucs a revoir 2017-02-10 18:22:50 +01:00
ariard@student.42.fr
53ce7d5c1c grammar 2017-02-10 17:00:52 +01:00
Jack Halford
f7ed0a6bdd bq->dq seems to function 2017-02-10 13:50:46 +01:00
Jack Halford
a144239a56 pull resolved 2017-02-10 13:39:34 +01:00
Jack Halford
0a1fd7e518 dquotes->bquotes 2017-02-10 13:38:49 +01:00
gwojda
b25e6b186a fixe termcaps 2017-02-10 12:19:51 +01:00
Jack Halford
1167a23ca3 some refactoring of readline.c 2017-02-10 05:30:17 +01:00
Jack Halford
6ec9f9295e initial implementation looks ok, parenthesis needs fix 2017-02-10 05:19:26 +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
87b7d65d71 archi ok, test struct de grammaire 2017-02-09 20:34:09 +01:00
ariard@student.42.fr
e7a7fc04df proto parser en cours 2017-02-09 18:10:28 +01:00
wescande
74713d84b0 rectif memrealloc 2017-02-09 17:02:35 +01:00
ariard@student.42.fr
ebc57c0da8 parser as a pushdown automata, test 2017-02-09 16:06:05 +01:00
ariard@student.42.fr
5dc789ebda before test pushdown automata 2017-02-08 23:29:13 +01:00
ariard@student.42.fr
5ec1e4c29f before test pushdown automata 2017-02-08 23:28:18 +01:00
Jack Halford
c5263b51d0 Merge branch 'random_fixes' 2017-02-08 22:49:01 +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
wescande
6c8ea86a24 ajout memrealloc et modif token_append sur les char esc et esc2 2017-02-08 18:46:16 +01:00
Jack Halford
a99ef894e7 maakefile switch echo to printf 2017-02-07 22:42:02 +01:00
Jack Halford
bb666ba0c6 escaped codes in makefile are now \e 2017-02-07 20:16:53 +01:00
wescande
87e5d1eed0 mise norme 2017-02-07 19:58:32 +01:00
wescande
c2d979012a rectif du ./ dans le glob + optim du nb de result dans le cas de recherche cross-dir 2017-02-07 19:53:12 +01:00
wescande
90611cf046 Merge branch 'master' of github.com:jzck/minishell
rectif read
2017-02-07 19:00:51 +01:00
wescande
afd57a576c rectif invalid read on glob.c because of len instead of (len >> 3) + 1 2017-02-07 19:00:39 +01:00
Jack Halford
28acb3b814 removed lexer_var and prototype 2017-02-07 18:14:57 +01:00
Jack Halford
b613f9fb89 conflicts resolved 2017-02-07 18:06:30 +01:00
Jack Halford
a01b7b76ab redirection now works with builtins! 2017-02-07 17:57:52 +01:00
wescande
8539dc9ddf libft with new makfile 2017-02-07 17:43:22 +01:00
wescande
6648487f4a mergeing of branch var expansion 2017-02-07 17:40:10 +01:00
wescande
7610136d18 expansion des variables ok, fait a l'execution et plus dans le lexer (laissé en commentaire dans le lexer) 2017-02-07 17:22:39 +01:00
gwojda
4dea36519b correction ptit bug touche suppr 2017-02-07 15:28:35 +01:00
Jack Halford
060800769b lexer_comment done 2017-02-07 12:57:46 +01:00
Jack Halford
c56f9dac85 lexer_comment back onto master 2017-02-07 12:38:04 +01:00
Jack Halford
8ae6910122 redirection of identical fds does nothing 2017-02-07 12:03:22 +01:00
Jack Halford
d7f5116eb0 looks promising 2017-02-07 02:07:47 +01:00
Jack Halford
bb52d35f4d starting to fix redirects 2017-02-06 23:49:58 +01:00
ariard@student.42.fr
46ccf47755 loop read again if script modifierd 2017-02-06 22:04:21 +01:00
ariard@student.42.fr
c0977b20ff until exec ok 2017-02-06 21:02:37 +01:00
ariard@student.42.fr
490f81ee23 exec if + elif + else ok to-do:syntax error 2017-02-06 19:48:17 +01:00
ariard@student.42.fr
a211bfd1b0 parsing if/elsif stable 2017-02-06 17:59:48 +01:00
Jack Halford
5cac33e7cf Merge branch 'master' of https://github.com/jzck/minishell 2017-02-06 17:01:23 +01:00
Jack Halford
156e1cb29c file redirections repaired 2017-02-06 16:51:34 +01:00
wescande
80cbac03a2 rectif du glob pour ne pas chercher les fichiers/dossiers cachés 2017-02-06 16:04:03 +01:00