Update
This commit is contained in:
parent
4d460e4fa5
commit
7e14390441
3 changed files with 20 additions and 8 deletions
|
|
@ -6,21 +6,16 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/05/25 19:30:30 by maiboyer #+# #+# */
|
/* Created: 2024/05/25 19:30:30 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/05/25 20:28:33 by maiboyer ### ########.fr */
|
/* Updated: 2024/05/25 20:42:26 by maiboyer ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#ifndef AST_H
|
#ifndef AST_H
|
||||||
#define AST_H
|
#define AST_H
|
||||||
|
|
||||||
|
#include "me/types.h"
|
||||||
#include "ast/forward.h"
|
#include "ast/forward.h"
|
||||||
|
|
||||||
#ifndef TYPES_H
|
|
||||||
typedef unsigned int t_usize;
|
|
||||||
typedef int t_isize;
|
|
||||||
typedef char *t_str;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/// @brief Node types enumeration
|
/// @brief Node types enumeration
|
||||||
/// @details This enumeration is used to identify the type of a node
|
/// @details This enumeration is used to identify the type of a node
|
||||||
typedef enum e_ast_type
|
typedef enum e_ast_type
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
/* ************************************************************************** */
|
||||||
|
/* */
|
||||||
|
/* ::: :::::::: */
|
||||||
|
/* build_ast.c :+: :+: :+: */
|
||||||
|
/* +:+ +:+ +:+ */
|
||||||
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
|
/* +#+#+#+#+#+ +#+ */
|
||||||
|
/* Created: 2024/05/25 20:41:33 by maiboyer #+# #+# */
|
||||||
|
/* Updated: 2024/05/25 20:41:48 by maiboyer ### ########.fr */
|
||||||
|
/* */
|
||||||
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
#include "ast/ast.h"
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2023/11/03 14:31:12 by maiboyer #+# #+# */
|
/* Created: 2023/11/03 14:31:12 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/05/24 14:45:04 by maiboyer ### ########.fr */
|
/* Updated: 2024/05/25 20:43:05 by maiboyer ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -22,6 +22,10 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#ifndef _Nullable
|
||||||
|
#define _Nullable
|
||||||
|
#endif
|
||||||
|
|
||||||
/// @brief A string, null terminated
|
/// @brief A string, null terminated
|
||||||
typedef char *t_str;
|
typedef char *t_str;
|
||||||
/// @brief A constant string, null terminated
|
/// @brief A constant string, null terminated
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue