forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrepl.h
36 lines (31 loc) · 836 Bytes
/
repl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef JL_REPL_H
#define JL_REPL_H
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <setjmp.h>
#include <signal.h>
#include <assert.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <limits.h>
#include <errno.h>
#include <math.h>
#include <libgen.h>
#include <getopt.h>
#include <ctype.h>
#include "julia.h"
extern int tab_width;
extern DLLEXPORT char *julia_home;
extern void init_repl_environment();
extern char *read_expr(char *prompt);
extern void handle_input(jl_value_t *ast, int end, int show_value);
extern int ends_with_semicolon(const char *input);
extern char *ios_readline(ios_t *s);
DLLEXPORT extern void repl_callback_enable();
DLLEXPORT extern void jl_enable_color();
DLLEXPORT extern void jl_stdin_callback();
#endif // JL_REPL_H