Files
spp/README.md
T

46 lines
667 B
Markdown
Raw Normal View History

2026-07-03 10:43:46 -05:00
# spp
## Description
spp - single pass parser.
## Table of Contents
* [Features](#features)
* [Todos](#todos)
* [Usage](#usage)
* [Acknowledgments](#acknowledgments)
* [License](#license)
## Features
## Todos
## Usage
```c
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](LICENSE.md) file for details.