blob: dd6e294b2ea2b8a4a4415ebab75ae21178946531 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#pragma once
#include "syntax.h"
#include "utils.h"
Ast lex(char* input);
PipelineTree process_ast(TokenVec root, ShellState* shstate);
void source_script(char* fname, ShellState* shstate);
void execute_string_line(char* line, ShellState* shstate);
void execute_command_pipeline(Pipeline pipeline, Channel read_cha, Channel write_cha, bool wait_here, int* pgid, ShellState* shstate);
|