Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wsdevv/ptexpr-ex
https://github.com/wsdevv/ptexpr-ex
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wsdevv/ptexpr-ex
- Owner: wsdevv
- Created: 2024-07-27T07:05:49.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-07-27T07:14:19.000Z (3 months ago)
- Last Synced: 2024-10-11T02:44:42.599Z (27 days ago)
- Language: Zig
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parser Texpr Expirimentation
This is an expirimentation repo for a parsing library, attempting
to optimize "general-purpose" single threaded parsing while making the (abstracted) declarative code
as easy as possible to read.## Status (Unusable/pre-pre-alpha)
Right now, the project is only a semi-functional tokenizer, not meant to be run on others machines (with no outputs, however, the internals of the library portion does put separated tokens into their own list of strings).The current implementation (unfinished JSON "tokenizer") works at ~12 seconds per 1.4 Gigabytes of data (embedded into the binary, file not uploaded here). (tested on Intel Core i7)
Example sample data (zig concatination format) : "{" ++ "'hello world'!:9999,"**10000
## Questions
If you somehow stumble upon this "library" (personal project), and have any questions (such as testing or trying it out yourself), shoot me an email.
```[email protected]```
(hint: comptime linked tries, at an expense of binary file size)