e1849a06557846f5fad77ada36d959a258f2c3dd
spp
Description
spp - single pass parser.
Table of Contents
Features
Todos
Usage
int main(void)
{
if (argc != 2) {
fprintf(stderr, "Usage: %s <path>\n", argv[0]);
return 1;
}
const char* path = argv[1];
const char* buffer = read_file_into_mem(path);
struct SPP_Stream stream = { .cursor = &buffer };
line_count(stream, path);
return EXIT_SUCCESS;
}
Acknowledgments
License
This project is licensed under the MIT License - see the MIT License file for details.
Description
Languages
C
100%