-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
672 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* builtins.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:56:42 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:56:43 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef BUILTINS_H | ||
# define BUILTINS_H | ||
# define PWD "pwd" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* context.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:56:47 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:56:48 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef CONTEXT_H | ||
# define CONTEXT_H | ||
# define PERM_ERR 126 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* environment.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:56:54 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:56:55 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef ENVIRONMENT_H | ||
# define ENVIRONMENT_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* environment_helper.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:56:51 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:56:51 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef ENVIRONMENT_HELPER_H | ||
# define ENVIRONMENT_HELPER_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* execute_command.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:00 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:01 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef EXECUTE_COMMAND_H | ||
# define EXECUTE_COMMAND_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* execute_command_utils.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:56:56 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:56:57 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef EXECUTE_COMMAND_UTILS_H | ||
# define EXECUTE_COMMAND_UTILS_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* executor.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:06 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:07 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef EXECUTOR_H | ||
# define EXECUTOR_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* executor_utils.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:03 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:03 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef EXECUTOR_UTILS_H | ||
# define EXECUTOR_UTILS_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* expansor.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:15 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:16 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef EXPANSOR_H | ||
# define EXPANSOR_H | ||
# include "context.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* expansor_vars.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:12 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:13 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef EXPANSOR_VARS_H | ||
# define EXPANSOR_VARS_H | ||
# define VAR_LIMIT "\"'|<><<>> \t=/." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* lexer.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:21 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:21 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef LEXER_H | ||
# define LEXER_H | ||
# include "context.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* lexer_utils.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:18 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:18 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef LEXER_UTILS_H | ||
# define LEXER_UTILS_H | ||
# include "context.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* meta_chars.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:23 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:24 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef META_CHARS_H | ||
# define META_CHARS_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* minishell.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:26 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:27 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef MINISHELL_H | ||
# define MINISHELL_H | ||
# define PROGRAM_NAME "amethyst" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* open.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:31 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:31 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef OPEN_H | ||
# define OPEN_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* open_utils.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:29 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:29 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef OPEN_UTILS_H | ||
# define OPEN_UTILS_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* pdata_helpers.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:34 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:34 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef PDATA_HELPERS_H | ||
# define PDATA_HELPERS_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* quotes_flag.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:36 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:36 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef QUOTES_FLAG_H | ||
# define QUOTES_FLAG_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* quotes_utils.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:38 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:39 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef QUOTES_UTILS_H | ||
# define QUOTES_UTILS_H | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* ::: :::::::: */ | ||
/* safe_utils.h :+: :+: :+: */ | ||
/* +:+ +:+ +:+ */ | ||
/* By: arcanava <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/06/29 21:57:41 by arcanava #+# #+# */ | ||
/* Updated: 2024/06/29 21:57:42 by arcanava ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef SAFE_UTILS_H | ||
# define SAFE_UTILS_H | ||
|
||
|
Oops, something went wrong.