Repository navigation
Releases: AndreasBurbach/EveryParser.Net
Releases · AndreasBurbach/EveryParser.Net
Release list
v1.2.0
EveryParser.Net 1.2.0
Added
- Community health files: security policy (
SECURITY.md), code of conduct,
Dependabot configuration for NuGet and GitHub Actions, and an.editorconfig. - Async calculation API:
CalculateAsync,CalculateDecimalAsync,CalculateBooleanAsync,
CalculateStringAsync,CalculateDateTimeAsyncandCalculateArrayAsync
(instance and static variants) with optionalCancellationToken. - String concatenation with
+:"Hello " + "World"and mixed forms like
"x" + 2.5now work (numbers are formatted culture-invariant). CalculateArraynow reports an error (ErrorCode.IsNotArray) when the formular
result is not an array instead of returningnullwithout any error.- Release workflow that builds, tests and publishes the NuGet package on tag push (
v*)
using NuGet trusted publishing (OIDC, no stored API key required). - NuGet symbol package (
.snupkg) with source-linked PDBs for debuggable releases. - Grammar source
EveryGrammar.g4is part of the repository again and can be verified
against the generated parser withtools/verify-grammar.ps1.
Fixed
CalculationErrorsno longer throws aNullReferenceExceptionwhen accessed before
the first calculation.4!returned 14 instead of 24.- Factorial of negative numbers and values above 20 now produce an error
instead of silently returning a wrong result. - Array operations materialize their results eagerly, preventing deferred-execution issues.
Changed
- GitHub Actions updated to current action versions; CodeQL workflow moved to v3.
- Removed the stale Azure Pipelines configuration.
- The NuGet package now contains XML documentation files.
- Removed redundant LINQ replacements (
TAll,TAny) in favor ofSystem.Linq;
keptTSelect,TSequenceEqualandTReversefor semantic reasons
(seeEveryParser/LinQReplaces/README.md).
Full Changelog: v1.1.0...v1.2.0
1.1.0
Changes:
- add EOF to grammar to check if there are not parsed tokens and also check for syntax
- add more tests, also for syntax parsing
- add percent alias for numbers: "3%" <=> "0.03" | "45.6%" <=> "0.456" | "3% % 0.03" <=> "0.03 % 0.03" | ... See the tests for more examples or have a look inside the wiki
Fixes:
- fixes an issue with not seeing some syntax errors
Full Changelog: 1.0.7...1.1.0
1.0.7
Fix: equality checks
Full Changelog: 1.0.6...1.0.7
1.0.6
1.0.5
fixed some issues and added more tests
1.0.1
-Add a method for Expression to add an array of arguments for the calculations