Antoine Riard
|
69732b44fe
|
conflcit resolved
|
2017-03-07 19:43:59 +01:00 |
|
Antoine Riard
|
02286b88bf
|
moar grammmar
|
2017-03-07 19:41:25 +01:00 |
|
Jack Halford
|
764c62cc45
|
changed header layout
|
2017-03-07 18:37:13 +01:00 |
|
Jack Halford
|
7018cfc326
|
no more atexit, we call builtin_exit at end of main or at ctrl D
|
2017-03-07 15:25:28 +01:00 |
|
wescande
|
b2af159f64
|
pour merge
|
2017-03-07 15:12:20 +01:00 |
|
Antoine Riard
|
1dbc4653fd
|
expansion for + cleanage code get_reserved_word
|
2017-03-06 19:05:43 +01:00 |
|
Antoine Riard
|
8873f31f79
|
protection stack symbolique
|
2017-03-06 17:57:51 +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
|
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 |
|
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 |
|
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
|
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 |
|
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
|
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
|
3dc47431ba
|
gestion error ok + moar grammar pipe
|
2017-03-04 16:51:38 +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
|
03c62f69a6
|
stuff
|
2017-03-03 18:03:17 +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 |
|
Jack Halford
|
418859e9e8
|
it compiles ! much more testing for simple commands to work
|
2017-03-03 16:51:18 +01:00 |
|
wescande
|
d0c9baeeb8
|
modif assignment word
|
2017-03-03 16:11:42 +01:00 |
|
Antoine Riard
|
37d9898f59
|
doing pipe + lst cmds
|
2017-03-02 22:02:53 +01:00 |
|
Jack Halford
|
3857b06785
|
execution much simpler with new parser, thx ariard!
|
2017-03-02 21:17:16 +01:00 |
|
ariard@student.42.fr
|
f5fafb4c19
|
before pull
|
2017-03-01 16:25:53 +01:00 |
|
ariard@student.42.fr
|
871b4da000
|
test
|
2017-02-28 19:28:01 +01:00 |
|
Jack Halford
|
ca1e060463
|
fixed problem with redirection lexing
|
2017-02-28 18:53:58 +01:00 |
|
Jack Halford
|
9a29a9dcb3
|
issue #46
|
2017-02-27 16:59:28 +01:00 |
|
ariard@student.42.fr
|
8c8ee2152e
|
parsing heredoc doing
|
2017-02-25 20:36:27 +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 |
|
ariard@student.42.fr
|
d50a0d1b13
|
parsing for ok
|
2017-02-24 16:29:51 +01:00 |
|
AntoHesse
|
03238b2042
|
fucking case grammar done
|
2017-02-22 22:04:45 +01:00 |
|
AntoHesse
|
2fbea4837d
|
gramamr for
|
2017-02-22 19:50:29 +01:00 |
|
AntoHesse
|
5976d0d281
|
grammar case part 1 motherfucker
|
2017-02-22 01:43:25 +01:00 |
|
ariard@student.42.fr
|
49b79603b3
|
insert newline add
|
2017-02-21 22:45:59 +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 |
|
ariard@student.42.fr
|
cdfc6c6d55
|
until ok
|
2017-02-20 18:58:46 +01:00 |
|
wescande
|
169aa62b7e
|
rectif nombreuses issues + ajout de l'expansion des backquote
|
2017-02-20 15:31:13 +01:00 |
|
Jack Halford
|
c65e07038b
|
lexing problems w/ less and great
|
2017-02-19 15:03:51 +01:00 |
|
Jack Halford
|
8abf9fe433
|
lexer function increment lexer.pos not lexer.str
|
2017-02-19 14:43:45 +01:00 |
|
ariard@student.42.fr
|
4ef7af6e20
|
while error check doing
|
2017-02-17 19:49:12 +01:00 |
|
Jack Halford
|
957d568352
|
bquotes expand correctly /w single quotes and double quotes
|
2017-02-17 16:39:28 +01:00 |
|
Jack Halford
|
b8bf58fbab
|
doing some bquote expansion fix
|
2017-02-17 15:49:03 +01:00 |
|
Jack Halford
|
73f12e7e96
|
merged heredoc support; moved history/ into src/ because of makefile
problems
|
2017-02-15 07:06:57 +01:00 |
|
Jack Halford
|
3f984ad498
|
multiple heredocs on one line word OK
|
2017-02-15 00:00:39 +01:00 |
|
Jack Halford
|
c764027070
|
heredoc starting to work; goto do multiple heredoc and execution part
|
2017-02-14 20:32:34 +01:00 |
|
Jack Halford
|
75c11ff4a6
|
first batch of fixes on lexer and bquote expansion
|
2017-02-14 14:54:01 +01:00 |
|
Jack Halford
|
665c593f5d
|
merged new lexer/line-edit architecture
|
2017-02-14 01:16:54 +01:00 |
|
Jack Halford
|
be6be17f2a
|
bquotes expansion refactoring for future norm checks; still need to preventh field splitting for dquoted bquotes; also need to fuse bquote expansion into the globbing module
|
2017-02-14 00:42:41 +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
|
f7ed0a6bdd
|
bq->dq seems to function
|
2017-02-10 13:50:46 +01:00 |
|
Jack Halford
|
0a1fd7e518
|
dquotes->bquotes
|
2017-02-10 13:38:49 +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 |
|
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 |
|
wescande
|
6c8ea86a24
|
ajout memrealloc et modif token_append sur les char esc et esc2
|
2017-02-08 18:46:16 +01:00 |
|
Jack Halford
|
28acb3b814
|
removed lexer_var and prototype
|
2017-02-07 18:14:57 +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 |
|
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
|
bb52d35f4d
|
starting to fix redirects
|
2017-02-06 23:49:58 +01:00 |
|
ariard@student.42.fr
|
c0977b20ff
|
until exec ok
|
2017-02-06 21:02:37 +01:00 |
|
ariard@student.42.fr
|
a211bfd1b0
|
parsing if/elsif stable
|
2017-02-06 17:59:48 +01:00 |
|
Jack Halford
|
a919dc53b9
|
added parsing error when words follow a subshell
|
2017-02-06 14:42:21 +01:00 |
|
Jack Halford
|
1649b6a294
|
read works with escape sequences
|
2017-02-06 14:05:44 +01:00 |
|
ariard@student.42.fr
|
9bb45abb3d
|
currently parsing if, to-do:syntax error, clean code& interactive shell
|
2017-02-06 00:05:32 +01:00 |
|
ariard@student.42.fr
|
cd2019c0fd
|
fucking newline to parse
|
2017-02-05 00:15:12 +01:00 |
|
ariard@student.42.fr
|
9bbd6d7403
|
do as a sep + multiple newline
|
2017-02-04 15:52:07 +01:00 |
|
ariard@student.42.fr
|
0a5143bd69
|
multi loop ok, to-do : do as a separator(lexing), in case of multisep after do delete all (parsing), before while inspect after done (parsing)
|
2017-02-03 20:03:54 +01:00 |
|
Jack Halford
|
2f647b820f
|
no more skipping delims before lexing, removed superfluous headers from lib, readded do_job_notifications before prompt
|
2017-02-03 16:15:55 +01:00 |
|