Commit graph

40 commits

Author SHA1 Message Date
Antoine Riard
8791eae9c3 math as a builtin 2017-03-14 22:49:44 +01:00
Antoine Riard
f02222d882 modifs var 2017-03-14 00:52:51 +01:00
Antoine Riard
a2628f4302 new parsing des if 2017-03-10 18:09:13 +01:00
Antoine Riard
5e5a4a122a parsing tk_bang && brace_clause} 2017-03-09 19:48:34 +01:00
Antoine Riard
37970c7274 ft_lstdup 2017-03-08 01:47:40 +01:00
AntoHesse
6c8c3ea792 parsing math ok 2017-03-07 02:09:33 +01:00
AntoHesse
2b5b23e981 execution case without extension 2017-03-06 02:11:03 +01:00
Antoine Riard
2b456eac9c rectification cleanage code 2017-03-05 16:40:22 +01:00
Antoine Riard
b4fdc05f64 ast free 2017-03-03 20:12:57 +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
Antoine Riard
b90a17f2fa googd redir 2017-03-03 14:37:22 +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
7b1d505a5b gen func ok, todo: multi branch declaration, probleme lexer sur brackets 2017-02-25 00:31:51 +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
79bceb05a9 trop fatigue pour debug les case nesting, fuck it, todo tomorrow 2017-02-23 01:55:09 +01:00
Jack Halford
ec79b05131 new instruction handler looks good 2017-02-21 20:21:52 +01:00
Jack Halford
c04006a471 fixed some merging problems : it compiles now 2017-02-20 22:41:02 +01:00
ariard@student.42.fr
2e012b3e91 if elif ok, else coming 2017-02-20 17:20:34 +01:00
ariard@student.42.fr
96e439b652 parsing while simple ok 2017-02-17 23:43:44 +01:00
AntoHesse
7f83e231aa && || 2017-02-17 02:38:56 +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
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
65b6658978 parse newline 2017-02-05 00:41:00 +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
ariard@student.42.fr
2212c927f8 ast with while ok next:execution while 2017-01-30 17:23:55 +01:00
Jack Halford
f011ea258d first try at $ expansion, done on the fly in the lexer, not tested thoroughly 2017-01-10 15:20:45 +01:00
Jack Halford
0c99e8012c lexer improvements 2017-01-10 14:09:18 +01:00
Jack Halford
4feaa64e08 exitstatus function, so i can set ? variable in one line with not memory handling. No more leaks, sexy debug macro DG(), valgrind suppression, gitignore 2016-12-10 00:20:59 +01:00
Jack Halford
768d996b7a commit de reference 2016-12-03 15:37:50 +01:00
Jack Halford
2d631469e6 execution of &&/|| done, added aol_status and aol_search to data (aol=and_or_list) 2016-12-01 17:47:41 +01:00
Jack Halford
07b8519239 added &&,|| and & operators to lexer/parser 2016-11-30 22:09:55 +01:00
Jack Halford
569812ddcb pipeline working, added stack of old qstates to make the FSM adiabatic 2016-11-28 19:30:31 +01:00
Jack Halford
2f2e7c03b1 nice tree printing, starting to look good 2016-11-20 23:32:39 +01:00
Renamed from 42sh/src/parser/tree_type.c (Browse further)