{"slug": "fparse-fortran-function-parser", "title": "Fparse: Fortran function parser", "summary": "A proposal recommends adding a dedicated function parser page to the Fortran playground built on fparse, a Fortran function parser that supports expression systems, vectors, automatic derivatives and standalone Fortran code generation. The suggested page would let users enter one named expression per line such as z = sin(x) + y**2, edit scalar or vector variable values, evaluate results with an optional derivatives/Jacobian checkbox, download a generated Fortran module, and share links that restore expressions, inputs and settings. Execution would run through a precompiled fparse executable receiving structured input so changing an expression does not require recompiling Fortran, with existing service limits still applying.", "body_md": "Nice project. GPT-6.1-Sol advises adding an fparse page to my [Fortran playground](https://beliavsky.github.io/fortran-playground/). Let me know when it somewhat stable, and I can do it.\n\nHaving inspected the local fparse README and API, I think a separate Function parser page would be a useful addition, especially because it supports expression systems, vectors, automatic derivatives and standalone Fortran code generation. fparse documentation\n\nI suggest linking to /function-parser/ from the playground and leaving the existing interfaces unchanged. The initial page could contain:\n\n- Expressions: one named expression per line, such as z = sin(x) + y**2.\n- Variables: editable scalar or vector values.\n- Evaluate: display named results, with an optional derivatives/Jacobian checkbox.\n- Examples: single expressions, dependent equations, vector calculations and derivatives.\n- Generate Fortran: download the generated module, or open a complete generated program in the regular playground.\n- Share link: restore expressions, input values and settings.\nA one-variable range option could also produce a table and plot. Dependency diagrams would be useful later for larger expression systems.\n\nFor execution, I recommend a precompiled fparse executable that receives structured input, so changing an expression doesn’t require recompiling Fortran. This would require backend deployment initially, but the separate page and worker could keep its assets and execution work out of the existing modes. Existing service limits would still apply.\n\nThe ability to explore equations and then export ordinary Fortran is the strongest reason to add this—it gives the page a purpose beyond being another calculator.", "url": "https://wpnews.pro/news/fparse-fortran-function-parser", "canonical_source": "https://fortran-lang.discourse.group/t/fparse-fortran-function-parser/11283#post_3", "published_at": "2026-11-08 13:57:11+00:00", "updated_at": "2026-11-09 01:46:30.788467+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["fparse", "Fortran", "Fortran playground"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/fparse-fortran-function-parser", "markdown": "https://wpnews.pro/news/fparse-fortran-function-parser.md", "text": "https://wpnews.pro/news/fparse-fortran-function-parser.txt", "jsonld": "https://wpnews.pro/news/fparse-fortran-function-parser.jsonld"}}