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
|
fcea6dda9b
|
scripting stable before new lexing and parsing(merged with master)
|
2017-02-03 15:41:14 +01:00 |
|
ariard@student.42.fr
|
e708ce1e16
|
merge resolved
|
2017-02-03 14:44:35 +01:00 |
|
Jack Halford
|
0d8610ca65
|
exit statuses behave correctly now (like bash)
|
2017-02-02 00:56:16 +01:00 |
|
Jack Halford
|
62cdc4ca84
|
back to looking like the GNU tutorial
|
2017-02-01 17:30:45 +01:00 |
|
ariard@student.42.fr
|
f33d2be526
|
lexing if ok
|
2017-02-01 00:00:27 +01:00 |
|
ariard@student.42.fr
|
b0dececf1f
|
loop_del
|
2017-01-31 22:52:36 +01:00 |
|
ariard@student.42.fr
|
73b4cc3060
|
resolution empty tree + nested loop + while error lexing
|
2017-01-31 22:12:49 +01:00 |
|
ariard@student.42.fr
|
0dc029406f
|
exec while ok nxt: resoudre bug empty tree
|
2017-01-30 23:47:05 +01:00 |
|
ariard@student.42.fr
|
000ae4116a
|
generation subtree test_commands + consequent_commands
|
2017-01-30 19:31:34 +01:00 |
|
ariard@student.42.fr
|
a011f94bcb
|
comment same bug that with a space in input execution, tree empty cause bug execution
|
2017-01-24 20:17:46 +01:00 |
|
ariard@student.42.fr
|
f81a51cdd8
|
others shebang ok
|
2017-01-22 22:55:34 +01:00 |
|
ariard@student.42.fr
|
133f4bf052
|
read script init
|
2017-01-22 00:38:27 +01:00 |
|
Jack Halford
|
dfdf245b1a
|
backquote work, still some segfaults, end of day commit
|
2017-01-12 18:09:16 +01:00 |
|
Jack Halford
|
ef400aa225
|
first effort towards subshells and backquotes, lexer done, execution done for subshells
|
2017-01-11 18:06:26 +01:00 |
|
Jack Halford
|
0ec9313b4c
|
pretty stable version of job control, ready to merge
|
2017-01-10 11:32:02 +01:00 |
|
Jack Halford
|
9d02933f72
|
builtin_bg done, doesnt take arguments yet
|
2017-01-09 17:00:56 +01:00 |
|
Jack Halford
|
153b9aec79
|
pipelines fixed, job messaging better for notification & for builtin_jobs. still gotta fix cat (See previous commits msgs)
|
2017-01-09 16:26:54 +01:00 |
|
Jack Halford
|
204d5b9795
|
pipelines broken in this commit
|
2017-01-09 16:01:09 +01:00 |
|
Jack Halford
|
bbdaedef06
|
fg works with vim but not cat, probablty something to do w/ SIGTTIN or SIGTTOU.
|
2017-01-08 16:14:31 +01:00 |
|
Jack Halford
|
9e8939d588
|
cleanup after merge (few segfaults remained because of auto merge done the wrong way around. process_reset added
|
2017-01-02 21:31:20 +01:00 |
|
Jack Halford
|
4c63c30b04
|
merge
|
2017-01-02 19:11:47 +01:00 |
|
Jack Halford
|
4dcf3c319c
|
stuff
|
2017-01-02 19:09:08 +01:00 |
|
Jack Halford
|
c9a39637da
|
pipeend and pipestart bits in process attribute, env problems solved
|
2016-12-22 11:44:44 +01:00 |
|
Jack Halford
|
72b9e72fc8
|
days work, still a lot to do
|
2016-12-15 18:32:48 +01:00 |
|
Jack Halford
|
fc53e40a4f
|
mostly compile-time error fixing
|
2016-12-14 23:26:29 +01:00 |
|
Jack Halford
|
e3b344bbb9
|
big refactoring in progress, will finish tomorrow
|
2016-12-13 17:59:58 +01:00 |
|
Jack Halford
|
a948a65cbb
|
merged
|
2016-12-13 13:00:28 +01:00 |
|
Jack Halford
|
160810b3bc
|
stuff i did before pulling
|
2016-12-13 12:58:18 +01:00 |
|
Jack Halford
|
87b9fab083
|
gonna add processes inside of job
|
2016-12-12 23:56:05 +01:00 |
|
Jack Halford
|
6cfac2eaff
|
job control advances, still have to do ctrl-z, fg, bg, jobs
|
2016-12-12 18:13:29 +01:00 |
|
Jack Halford
|
4cfeb62747
|
job_control first commit:
|
2016-12-10 17:47:36 +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
|
d24633c9e6
|
execution functions changes: they now take reference of nodes, they now
delete nodes after operations (suffix).
|
2016-12-10 00:14:33 +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
|
9b85099485
|
env -i ./minishell quits and doesnt segfault. fixed behaviour for builtins in pipeline (fork when out isnt stdout)
|
2016-12-01 12:35:37 +01:00 |
|
Jack Halford
|
07b8519239
|
added &&,|| and & operators to lexer/parser
|
2016-11-30 22:09:55 +01:00 |
|
Jack Halford
|
54a6cdecb0
|
pipes and redirection working
|
2016-11-29 20:30:36 +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
|
b59f05eb77
|
test.c to understant pipe()
|
2016-11-27 23:52:36 +01:00 |
|
Jack Halford
|
b0e7229c54
|
stuck at dup2
|
2016-11-26 23:05:23 +01:00 |
|
Jack Halford
|
bce0f37b8e
|
major stuff today: wrote a proper lexer based on finite state machines, quoting OK. next is finishing the parser, and history of line editing module
|
2016-11-18 23:16:32 +01:00 |
|
Jack Halford
|
5f329666d3
|
more parsing and some exec
|
2016-11-14 18:50:18 +01:00 |
|
Jack Halford
|
92f2557e7e
|
libft btree
|
2016-11-13 23:59:34 +01:00 |
|