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.5.tar.gz
.
File metadata
- Download URL: nmfu-0.5.5.tar.gz
- Upload date:
- Size: 69.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8ac6010714e59b39d590269a20f4320a02233edffd6a56dbf49b1b2a54ef7cc |
|
MD5 | 09f95432cf0e4d72b51aff245c443bb8 |
|
BLAKE2b-256 | 3ac51208bd38e4a6bbae8d56e837d414cead6b0bb9bacc28ebdde520ba1281a4 |
Provenance
File details
Details for the file nmfu-0.5.5-py3-none-any.whl
.
File metadata
- Download URL: nmfu-0.5.5-py3-none-any.whl
- Upload date:
- Size: 70.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6af6360bfd9341723581cb3c6163dd4d76c7c19f43b0646b6d390e9af00aff8 |
|
MD5 | fb23b811a85e501122aed0a8ce1ce234 |
|
BLAKE2b-256 | b38a3f2e7c75d715c5235b4a195ec142dde560bd42a82eff908a1fbf7e054c92 |