myshell 2.0.0
Loading...
Searching...
No Matches
msh_parser.h
1//
2// Created by andrew on 10/9/23.
3//
4
5#ifndef MYSHELL_MSH_PARSER_H
6#define MYSHELL_MSH_PARSER_H
7
8#include "types/msh_command.h"
9#include "types/msh_token.h"
10
11#include <string>
12#include <vector>
13
14tokens_t lexer(const std::string &input);
15
16command parse_input(std::string input);
17
18#endif //MYSHELL_MSH_PARSER_H
command parse_input(std::string input)
Parse the input string to prepare it for command execution.
Definition msh_parser.cpp:308
tokens_t lexer(const std::string &input)
Perform lexical analysis on the given input string, breaking it down into a vector of tokens.
Definition msh_parser.cpp:30
Token structure and related types.
Top-level command structure.
Definition msh_command.h:48