Commit graph

185 commits

Author SHA1 Message Date
ariard@student.42.fr
e708ce1e16 merge resolved 2017-02-03 14:44:35 +01:00
gwojda
7fb9aa2da5 changement du squelette (passage a un tableau de pointeur sur fonction) - pas encore tout resté 2017-02-02 19:07:32 +01:00
ariard@student.42.fr
36dcd432a4 before rebase 2017-02-02 17:56:40 +01:00
Jack Halford
7265a6c340 cleaner main, added ft_lexer to encapsulate all phases of tokenization 2017-02-02 15:45:55 +01:00
Jack Halford
b08b727779 orphan backquotes and orpan parens generate parse errors 2017-02-02 15:28:18 +01:00
Jack Halford
073ef322e4 fixed backquotes 2017-02-02 14:57:30 +01:00
gwojda
97ac417f81 ajout d'un fichier pour garder l'historique des utilisations precedentes (.42sh_history dans le dossier du 42sh) + gestion du resize de fenetre 2017-02-02 13:40:20 +01:00
gwojda
f03692e762 correction de bugs sur les termcaps - normalement tu peux spammer wesande ! :p 2017-02-02 11:47:58 +01:00
gwojda
12e92eec1a correction de leaks 2017-02-02 11:15:08 +01:00
gwojda
1a724c6d6d correction de leaks 2017-02-02 11:15:02 +01:00
Gautier WOJDA
b576eddd03 correction de leaks 2017-02-02 11:13:02 +01:00
Jack Halford
d5c830d347 Merge branch 'job-control-fix' 2017-02-02 01:21:16 +01:00
Jack Halford
da592565e0 cleaned up debug macros before merge 2017-02-02 01:20:51 +01:00
Jack Halford
0d8610ca65 exit statuses behave correctly now (like bash) 2017-02-02 00:56:16 +01:00
Jack Halford
6ad4ca1848 some nices fixes, works nicely 2017-02-01 21:27:16 +01:00
wescande
59bbf8ab10 libft update 2017-02-01 19:55:39 +01:00
wescande
cd7b4cde7c merge de la suppression de leaks 2017-02-01 19:52:36 +01:00
wescande
9641ed9dbb suppression d'un malheureux leaks + opti recursivite 2017-02-01 19:50:32 +01:00
Jack Halford
62cdc4ca84 back to looking like the GNU tutorial 2017-02-01 17:30:45 +01:00
Gautier WOJDA
feac290fee Comportement de control C/D mise a jour (avec le bruit d'erreur pour control D) -- mise a jour de l'edition de lignes, quelques bugs resolus (merci wescande :p) 2017-02-01 16:54:15 +01:00
ariard@student.42.fr
f33d2be526 lexing if ok 2017-02-01 00:00:27 +01:00
wescande
43f1295324 finition sur le globbing (expansion des accolades, gestion des characteres echappe) => normalement aucun bug + mise a la norme 2017-01-31 23:25:41 +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
wescande
3c8c143143 merge de extend_glob. Ajout de la barre de progression dans le makefile 2017-01-31 19:52:04 +01:00
wescande
ad7d814c74 extension du globbing implemente SUPER MAKEFILE QUI DECHIRE TA M*RE 2017-01-31 19:36:29 +01:00
Jack Halford
9e3640aed1 maj libft 2017-01-31 16:43:46 +01:00
Jack Halford
e7e93fa533 correction de la norme sur tout le moude job-control 2017-01-31 15:11:26 +01:00
Jack Halford
e2e18d83bc removed debug macros in job_control 2017-01-31 13:52:21 +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
2212c927f8 ast with while ok next:execution while 2017-01-30 17:23:55 +01:00
wescande
3c46e10736 integration du retour de glob dans les tokens 2017-01-30 17:19:09 +01:00
wescande
95e1f03401 upgrade Makefile with all .c 2017-01-30 16:43:41 +01:00
wescande
77b94ee8ce merge de globbing on master 2017-01-30 13:09:41 +01:00
wescande
7cfa1a4837 finalisation norme 2017-01-30 12:23:13 +01:00
ariard@student.42.fr
42bd66af42 generation liste chainee d'ast de multi commande ok, to-do : ast de while 2017-01-28 23:39:59 +01:00
Jack Halford
4b6a8e6563 removed some DG macros 2017-01-28 20:24:54 +01:00
Jack Halford
7dd0f2d11e forgot to add new file job_run.c 2017-01-28 20:24:54 +01:00
Jack Halford
90bd6820c3 some function shrinking for norme 2017-01-28 20:24:54 +01:00
Jack Halford
279509a651 merged and fixed conflicts 2017-01-28 19:25:25 +01:00
Jack Halford
076d3c3d5b remise a la norme avant de merge 2017-01-28 14:44:00 +01:00
wescande
4f5c65b9a2 finalisation du lexer avec les char echappé -> 1 unsigned char pour 8 char du token (1 bit pour 1 char). Module glob en place en tenant compte des echappé. fonction is_char_esc en place pour une utilisation plus globale 2017-01-28 01:19:03 +01:00
wescande
45bc317f97 working on esc character in token 2017-01-27 20:13:13 +01:00
Jack Halford
f236e8e734 refactoring for clarity of bt_read* family 2017-01-27 20:08:56 +01:00
Jack Halford
cc2fadf41c variables assigning passes initial testing, needs more testing 2017-01-27 19:40:36 +01:00
Gautier WOJDA
d6c6103bc4 avant de merge 2017-01-27 17:42:46 +01:00
Jack Halford
e66999c24f -t works fine, gonna do the IFS split next 2017-01-27 17:11:11 +01:00
ariard@student.42.fr
47a2fdd683 doing, parsing newline et generation liste chaine d arbre binaire 2017-01-26 22:43:47 +01:00
Jack Halford
7d57b47f5e end of day, still doesnt work properly 2017-01-26 20:32:39 +01:00