diff options
| author | nasr <nsrddyn@gmail.com> | 2026-03-06 18:53:23 +0000 |
|---|---|---|
| committer | nasr <nsrddyn@gmail.com> | 2026-03-06 18:53:23 +0000 |
| commit | 2c9057b8f009bd39d97a2d30cf71135cb07c5e4b (patch) | |
| tree | 64712280738eba2ce174aef50a380c9a3d862d35 /source/repl/repl.c | |
| parent | d8c52d6c408a172f1210c77df3e3a9629ea68dc6 (diff) | |
improvement(main): worked on the lexer, close to finishing the tokenization
csv's are simple
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 | } |
