mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 04:37:47 +08:00
c7a6bdec49
Introduced a new function `readLine()` that utilizes the byte buffer together with `fgetc()` to read input from the STDIN. This enables the REPL to read characters one at a time for validation & in a safer manner where the buffer gets to be resized if it's full. |
||
---|---|---|
.. | ||
modules | ||
thirdparty | ||
all.c | ||
common.h | ||
main.c | ||
repl.c | ||
utils.c | ||
utils.h |