2026-07-03 10:43:46 -05:00
2026-07-03 10:43:46 -05:00
2026-07-03 10:43:46 -05:00
2026-07-03 10:43:46 -05:00
2026-07-03 10:43:46 -05:00

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.

S
Description
Single pass parser
Readme 36 KiB
Languages
C 100%