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 |
|
Jack Halford
|
2926a9d00d
|
merged pda_execution
|
2017-03-03 17:33:36 +01:00 |
|
Antoine Riard
|
d0b821c483
|
pipe fix grammar + assignement word parsing
|
2017-03-03 17:19:39 +01:00 |
|
Jack Halford
|
418859e9e8
|
it compiles ! much more testing for simple commands to work
|
2017-03-03 16:51:18 +01:00 |
|
Antoine Riard
|
b90a17f2fa
|
googd redir
|
2017-03-03 14:37:22 +01:00 |
|
wescande
|
7a72910a97
|
ajout de l'expansion du ~ + mise a la norme de command_get_output et correctif appliqué en cas de read invalid
|
2017-03-03 14:35:30 +01:00 |
|
AntoHesse
|
b9d8b949be
|
perdu entre les 2 libs de lst :( to-do tomorroz
|
2017-03-03 02:00:15 +01:00 |
|
Jack Halford
|
3857b06785
|
execution much simpler with new parser, thx ariard!
|
2017-03-02 21:17:16 +01:00 |
|
Jack Halford
|
62d3ef01d2
|
merged pda
|
2017-03-02 12:37:15 +01:00 |
|
ariard@student.42.fr
|
aa9097575d
|
rewef
|
2017-03-01 18:04:29 +01:00 |
|
ariard@student.42.fr
|
9f9d799bbe
|
merge fixed
|
2017-03-01 16:28:44 +01:00 |
|
ariard@student.42.fr
|
f5fafb4c19
|
before pull
|
2017-03-01 16:25:53 +01:00 |
|
Jack Halford
|
03152a9e2b
|
conflicts resolved
|
2017-02-28 21:40:22 +01:00 |
|
AntoHesse
|
9c0984658e
|
exec flow control
|
2017-02-26 01:13:47 +01:00 |
|
ariard@student.42.fr
|
7b1d505a5b
|
gen func ok, todo: multi branch declaration, probleme lexer sur brackets
|
2017-02-25 00:31:51 +01:00 |
|
ariard@student.42.fr
|
102196bff4
|
parsing brace_clause + func def ok
|
2017-02-24 23:17:29 +01:00 |
|
ariard@student.42.fr
|
f703185a3a
|
assignement word lexing parsing
|
2017-02-24 21:00:38 +01:00 |
|
ariard@student.42.fr
|
0461285d95
|
subshell et case ok
|
2017-02-24 19:30:20 +01:00 |
|
AntoHesse
|
79bceb05a9
|
trop fatigue pour debug les case nesting, fuck it, todo tomorrow
|
2017-02-23 01:55:09 +01:00 |
|
ariard@student.42.fr
|
49b79603b3
|
insert newline add
|
2017-02-21 22:45:59 +01:00 |
|
Jack Halford
|
8084ffb6a1
|
pipes done
|
2017-02-21 22:42:13 +01:00 |
|
Jack Halford
|
ec79b05131
|
new instruction handler looks good
|
2017-02-21 20:21:52 +01:00 |
|
ariard@student.42.fr
|
d05cec4962
|
include + parser state
|
2017-02-21 16:46:13 +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 |
|
wescande
|
4ea6fb5801
|
Merge remote-tracking branch 'origin/glob_bquote'
|
2017-02-20 19:18:23 +01:00 |
|
wescande
|
f9019aea88
|
suppression ancien backquote + deplacement command output + modif main sur l'appel a expand_bquote
|
2017-02-20 19:15:19 +01:00 |
|
wescande
|
169aa62b7e
|
rectif nombreuses issues + ajout de l'expansion des backquote
|
2017-02-20 15:31:13 +01:00 |
|
ariard@student.42.fr
|
f6aefd7739
|
grammar if then elif part one
|
2017-02-19 19:32:45 +01:00 |
|
gwojda
|
480c9810c9
|
ajout builtin hash + ajout rehash si access ne fonctionne pas sur path donné dans la table
|
2017-02-18 16:52:55 +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
|
96e439b652
|
parsing while simple ok
|
2017-02-17 23:43:44 +01:00 |
|
wescande
|
97b1dc268f
|
init
|
2017-02-17 18:19:26 +01:00 |
|
ariard@student.42.fr
|
b0a3e63ffc
|
modif redirect list
|
2017-02-17 17:15:58 +01:00 |
|
Jack Halford
|
b8bf58fbab
|
doing some bquote expansion fix
|
2017-02-17 15:49:03 +01:00 |
|
AntoHesse
|
7f83e231aa
|
&& ||
|
2017-02-17 02:38:56 +01:00 |
|
M600
|
61b193013e
|
Refreshed documentation on autocompletion module
|
2017-02-16 22:19:56 +01:00 |
|
AntoHesse
|
7477cb4c0d
|
debug exec ou parsing
|
2017-02-16 17:35:44 +01:00 |
|
M600
|
fbecb59a14
|
Reworked colors and fix a few bugs. Still missing advanced research
|
2017-02-16 15:21:23 +01:00 |
|
gwojda
|
3dfc6abb61
|
correction de quelques bugs sur le prompt - correction de segv sur env - correction de leaks
|
2017-02-16 12:46:42 +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 |
|
Jack Halford
|
73f12e7e96
|
merged heredoc support; moved history/ into src/ because of makefile
problems
|
2017-02-15 07:06:57 +01:00 |
|
AntoHesse
|
8e05bba1c6
|
less code is better
|
2017-02-15 02:22:05 +01:00 |
|
Jack Halford
|
16cfada91f
|
heredoc redirection done, looks to work OK
|
2017-02-15 00:13:02 +01:00 |
|
Jack Halford
|
c764027070
|
heredoc starting to work; goto do multiple heredoc and execution part
|
2017-02-14 20:32:34 +01:00 |
|
gwojda
|
71f13249b8
|
recollage de l'historique + control R + point d'exclamation. quelques fixes pour le prompt
|
2017-02-14 15:45:17 +01:00 |
|
Jack Halford
|
665c593f5d
|
merged new lexer/line-edit architecture
|
2017-02-14 01:16:54 +01:00 |
|
Jack Halford
|
4840051dbd
|
backquote expansion checks for splitting
|
2017-02-13 17:46:56 +01:00 |
|
Jack Halford
|
2e0b6102ce
|
bquotes expand correctly but segfault afterwards...
|
2017-02-13 15:31:21 +01:00 |
|
Jack Halford
|
742a99440e
|
backslash should work, also keep NL when they are quoted
|
2017-02-12 18:11:59 +01:00 |
|
Jack Halford
|
6ec9f9295e
|
initial implementation looks ok, parenthesis needs fix
|
2017-02-10 05:19:26 +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 |
|
ariard@student.42.fr
|
ebc57c0da8
|
parser as a pushdown automata, test
|
2017-02-09 16:06:05 +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 |
|
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
|
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 |
|