A parser generator that turns procedural programs into C state machines
Project description
nmfu
the "no memory for you" "parser" generator
nmfu
attempts to turn a parser specified as a procedural matching thing into a state machine, parsing protocols with minimal memory and in arbitrarily sized chunks.
There are a number of examples present in the examples/
folder, as well as documentation and a tutorial available on readthedocs.
Plugins
There is a vim plugin available which adds syntax highlighting for .nmfu
files at mincrmatt12/nmfu-vim, as well
as a pygments lexer plugin at mincrmatt12/nmfu-pygments.
License
NMFU is licensed under the GPLv3. Copyright (C) 2020-2023 Matthew Mirvish.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nmfu-0.5.7.tar.gz
.
File metadata
- Download URL: nmfu-0.5.7.tar.gz
- Upload date:
- Size: 77.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a0c1190df8273bfacc0fb0b92d82815aeeb74f52ad1967ac6f2f136d5a16e38 |
|
MD5 | 57383fcdeceeb684f92db98d10876b4a |
|
BLAKE2b-256 | 053f29f6ecd1961ed6811b531b564d9386a5a456cde6f7b6fc139f4ea85476f1 |
Provenance
File details
Details for the file nmfu-0.5.7-py3-none-any.whl
.
File metadata
- Download URL: nmfu-0.5.7-py3-none-any.whl
- Upload date:
- Size: 71.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cefddf91ce7a113f790b424849c9ab1aa9e2f6e6ef56f16d65702283ce6c2a6e |
|
MD5 | c9b0af9d1e3b0de221ea53646bc81db6 |
|
BLAKE2b-256 | aadfeba672217cbbc280b389c8b36f6e71e7243fa4f04bdf233b677cf7f0f32d |