diff options
Diffstat (limited to 'source/repl/repl.c')
| -rw-r--r-- | source/repl/repl.c | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/source/repl/repl.c b/source/repl/repl.c index 4c57345..dd289d8 100644 --- a/source/repl/repl.c +++ b/source/repl/repl.c | |||
| @@ -1,16 +1,12 @@ | |||
| 1 | #ifndef ENGINE_REPL_H | 1 | internal void |
| 2 | #define ENGINE_REPL_H | 2 | init_repl() |
| 3 | |||
| 4 | typedef struct node node; | ||
| 5 | struct node | ||
| 6 | { | ||
| 7 | |||
| 8 | }; | ||
| 9 | |||
| 10 | typedef struct btree btree; | ||
| 11 | struct btree | ||
| 12 | { | 3 | { |
| 4 | for(;;) | ||
| 5 | { | ||
| 6 | print("reading user input..."); | ||
| 7 | // TODO(nasr): design a repl system | ||
| 13 | 8 | ||
| 14 | }; | 9 | sleep(1); |
| 10 | } | ||
| 15 | 11 | ||
| 16 | #endif /* ENGINE_H */ | 12 | } |
