Files
spp/README.md
T
2026-07-03 10:43:46 -05:00

667 B

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.