Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mincrmatt12/nmfu
the "no memory for you" "parser" generator
https://github.com/mincrmatt12/nmfu
c dfa parser parser-generator python3 state-machine
Last synced: about 5 hours ago
JSON representation
the "no memory for you" "parser" generator
- Host: GitHub
- URL: https://github.com/mincrmatt12/nmfu
- Owner: mincrmatt12
- License: gpl-3.0
- Created: 2020-06-10T00:40:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T22:21:43.000Z (about 2 months ago)
- Last Synced: 2024-09-08T23:24:21.506Z (about 2 months ago)
- Topics: c, dfa, parser, parser-generator, python3, state-machine
- Language: Python
- Homepage:
- Size: 1.37 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nmfu
---
_the "no memory for you" "parser" generator_---
![PyPI - License](https://img.shields.io/pypi/l/nmfu) [![PyPI](https://img.shields.io/pypi/v/nmfu)](https://pypi.org/project/nmfu) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/nmfu) [![Jenkins](https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fjenkins.mm12.xyz%2Fjenkins%2Fjob%2Fnmfu%2Fjob%2Fmaster)](https://jenkins.mm12.xyz/job/nmfu) [![Jenkins tests](https://img.shields.io/jenkins/tests?compact_message&jobUrl=https%3A%2F%2Fjenkins.mm12.xyz%2Fjenkins%2Fjob%2Fnmfu%2Fjob%2Fmaster)](https://jenkins.mm12.xyz/jenkins/job/nmfu/job/master/lastCompletedBuild/testReport/) [![Jenkins Coverage](https://img.shields.io/jenkins/coverage/apiv4?jobUrl=https%3A%2F%2Fjenkins.mm12.xyz%2Fjenkins%2Fjob%2Fnmfu%2Fjob%2Fmaster)](https://jenkins.mm12.xyz/jenkins/job/nmfu/job/master/lastCompletedBuild/coverage/) [![Read the Docs](https://img.shields.io/readthedocs/nmfu)](https://nmfu.rtfd.io)
`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](https://nmfu.rtfd.io).
## Plugins
There is a vim plugin available which adds syntax highlighting for `.nmfu` files at [mincrmatt12/nmfu-vim](https://github.com/mincrmatt12/nmfu-vim), as well
as a pygments lexer plugin at [mincrmatt12/nmfu-pygments](https://github.com/mincrmatt12/nmfu-pygments).## License
NMFU is licensed under the GPLv3.
Copyright (C) 2020-2023 Matthew Mirvish.