Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidelettieri/polynomials-fparsec
Parsing polynomial expressions with F# and FParsec
https://github.com/davidelettieri/polynomials-fparsec
fparsec fsharp polynomials
Last synced: 19 days ago
JSON representation
Parsing polynomial expressions with F# and FParsec
- Host: GitHub
- URL: https://github.com/davidelettieri/polynomials-fparsec
- Owner: davidelettieri
- License: mit
- Created: 2020-12-15T01:38:19.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-25T19:22:38.000Z (about 4 years ago)
- Last Synced: 2024-11-16T14:22:24.676Z (3 months ago)
- Topics: fparsec, fsharp, polynomials
- Language: F#
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# polynomials-fparsec
A simple parser and evaluator for polynomials expressions. For example it can parse expressions like:
* x+y^2
* 2*(x+1)The solution uses [FParsec](https://www.quanttec.com/fparsec/) to implement a recursive descent parser.
As examples of other approaches to the same problem, using C#:
* [Parsing polynomials with a Pratt Parser](https://github.com/davidelettieri/polynomials-pratt-algorithm)
* [Parsing polynomials with a Antlr4](https://github.com/davidelettieri/Antlr4.Polynomials)