diff options
| author | nasr <nsrddyn@gmail.com> | 2026-03-08 21:01:43 +0000 |
|---|---|---|
| committer | nasr <nsrddyn@gmail.com> | 2026-03-08 21:01:43 +0000 |
| commit | 71ced998122c357bc62e54d9bb4e124c88acf94b (patch) | |
| tree | 746fca3d71a8640478ad6b6f4429a19f4dfbbda8 /source/csv_parser.c | |
| parent | f8f24f8c67fe903e267ab29bb2fbb9d334a722de (diff) | |
refactor(main): worked on string handling in C and other stuff
Diffstat (limited to 'source/csv_parser.c')
| -rw-r--r-- | source/csv_parser.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/source/csv_parser.c b/source/csv_parser.c new file mode 100644 index 0000000..048e089 --- /dev/null +++ b/source/csv_parser.c | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | internal void | ||
| 2 | strip_new_line(string8 buffer) | ||
| 3 | { | ||
| 4 | |||
| 5 | for (u64 index = 0; index < buffer.size; index++) | ||
| 6 | { | ||
| 7 | |||
| 8 | } | ||
| 9 | |||
| 10 | return; | ||
| 11 | |||
| 12 | } | ||
| 13 | |||
| 14 | internal void | ||
| 15 | read_csv(string8 buffer) | ||
| 16 | { | ||
| 17 | printf("\nsize:%lu\ndata %s\n", buffer.size, buffer.data); | ||
| 18 | |||
| 19 | } | ||
| 20 | |||
| 21 | internal csv_table * | ||
| 22 | parse_csv(token *tokens, csv_table *table) | ||
| 23 | { | ||
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | return NULL; | ||
| 32 | } | ||
