Zen-C
Loading...
Searching...
No Matches
repl.c File Reference
#include "repl.h"
#include "ast.h"
#include "parser/parser.h"
#include "zprep.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
#include <ctype.h>
Include dependency graph for repl.c:

Functions

ASTNodeparse_program (ParserContext *ctx, Lexer *l)
 Parses a program.
 
void run_repl (const char *self_path)
 Starts the Read-Eval-Print Loop (REPL).
 

Function Documentation

◆ parse_program()

ASTNode * parse_program ( ParserContext ctx,
Lexer l 
)

Parses a program.

Here is the caller graph for this function:

◆ run_repl()

void run_repl ( const char *  self_path)

Starts the Read-Eval-Print Loop (REPL).

Parameters
self_pathPath to the executable/ZC compiler itself.
Here is the call graph for this function:
Here is the caller graph for this function: