Nmfu

Latest version: v0.5.7

Safety actively analyzes 688775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.5.7

This is a minor bugfix release, resolving a compatibility issue with newer versions of `lark`.

Bugs Fixed

- Identifier tokens are no longer confused with keywords in certain circumstances, allowing `finish` and `break` statements to work correctly under recent versions of `lark`. (1653b8e)

Infrastructure Changes

- Update `Jenksinfile` to deal with `python` docker images no longer shipping `setuptools` and `wheel`. (0c0362b)

0.5.6

This is a minor feature release, improving various error messages.

For example, the test `example/test/optional3.fail.nmfu` now errors with


Compile error: Ambiguous transitions detected while joining DFAs on character 't'
Due to:
- line 3:
/(fg|[et])est/; // ambiguous on first letter (in t case)
^
- direct match 'text'[0]:
at line 6:
"text";


New Features

- When generating an error about ambiguity, show specific characters causing the ambiguity where possible. (4ef3b56, cebb198)
- Give error names to states and transitions in direct / case-insensitive matches to allow mentioning specific parts of a match in an error. (b05a690)
- Properly annotate regular expression matches with debug line/column information. (a9e372e, 6b8a9fa, d5f4450)
- Report case match ambiguity errors with better specificity (annotating on transition instead of state.) (c342c1b)

Bugs Fixed

- Fix a typo in error messages which do not have a line number associated with them. (69bbacb)
- Fix line number associations for loop & foreach statements. (bc48bf2)
- Give line numbers for duplicate definition errors. (0c0323e)
- When using `-ddtree`, ensure the dump still occurs if an error is thrown. (50ce062)

0.5.5

This is a minor bugfix and documentation release.

Bugs Fixed

- Finish actions applied immediately prior to a potentially-empty match are no longer dropped by `DFA.append_after`. (3, cd28251, 53bbc12)

Infrastructure Changes

- Added note to documentation about the lack of generality with `$last` (666e240)
- Fix cross-references in documentation (5e00f1b)
- Remove mentions of deprecated snaps (0dc8a68)
- Show failing testcase for integration tests in assertion message (37ef846)

0.5.4

This is a minor feature release, adding packed enums.

New Features

- The command-line flag `-fuse-packed-enums` has been added which causes any generated C enums to be declared with `__attribute__((packed))` for potentially less memory use. (bff55badafc78f070356071618bfc957a35ce4c3)

0.5.3

This is a minor dependency update release, which should only serve to solve potential dependency conflicts.

Infrastructure Changes

- Changed version requirement on lark to allow any `1.x` version, instead of only `1.0.x` (adb1e94)

0.5.2

This is a minor bugfix release, fixing a few bugs with binary strings and duplicate definition detection.

Bugs Fixed

- Duplicate macro arguments are now properly considered errors (d793494)
- Strings containing quotes or which are specified as binary strings are now properly written in generated C files (c7b0052)
- Removed redundant conditions in `DFA.append_after` (ddef270)

Infrastructure Changes

- Fixed badges on [readthedocs](https://nmfu.rtfd.io) (a1467c0)
- Added a few new test cases (55d93de)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.