update
This commit is contained in:
parent
709c124028
commit
8ee24b1bcf
5 changed files with 161 additions and 85 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/05/02 15:49:56 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/08/02 22:26:20 by maiboyer ### ########.fr */
|
||||
/* Updated: 2024/08/03 15:51:25 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -17,27 +17,19 @@
|
|||
# include "me/hashmap/hashmap_env.h"
|
||||
# include "me/os/os.h"
|
||||
# include "me/types.h"
|
||||
# include "ast/ast.h"
|
||||
|
||||
typedef struct s_state t_state;
|
||||
typedef struct s_parser t_parser;
|
||||
|
||||
struct s_parser
|
||||
{
|
||||
t_first_parser *parser;
|
||||
};
|
||||
|
||||
|
||||
struct s_state
|
||||
{
|
||||
t_str prompt;
|
||||
t_const_str prompt;
|
||||
t_str str_input;
|
||||
t_str *strs_input;
|
||||
t_str *path;
|
||||
t_parser parser;
|
||||
t_hashmap_env *env;
|
||||
t_hashmap_env *tmp_var;
|
||||
t_node current_node;
|
||||
t_process ret;
|
||||
t_first_parser *parser;
|
||||
t_ast_node ast;
|
||||
};
|
||||
|
||||
#endif /* STATE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue