summaryrefslogtreecommitdiff
path: root/source/repl
diff options
context:
space:
mode:
authornasr <nsrddyn@gmail.com>2026-03-06 18:53:23 +0000
committernasr <nsrddyn@gmail.com>2026-03-06 18:53:23 +0000
commit2c9057b8f009bd39d97a2d30cf71135cb07c5e4b (patch)
tree64712280738eba2ce174aef50a380c9a3d862d35 /source/repl
parentd8c52d6c408a172f1210c77df3e3a9629ea68dc6 (diff)
improvement(main): worked on the lexer, close to finishing the tokenization
csv's are simple
Diffstat (limited to 'source/repl')
-rw-r--r--source/repl/repl.c22
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 1internal void
2#define ENGINE_REPL_H 2init_repl()
3
4typedef struct node node;
5struct node
6{
7
8};
9
10typedef struct btree btree;
11struct 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}