cd /news/developer-tools/fparse-fortran-function-parser · home › topics › developer-tools › article
[ARTICLE · art-165818] src=fortran-lang.discourse.group ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Fparse: Fortran function parser

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.

read1 min views1 publishedNov 8, 2026

Nice project. GPT-6.1-Sol advises adding an fparse page to my Fortran playground. Let me know when it somewhat stable, and I can do it.

Having 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

I suggest linking to /function-parser/ from the playground and leaving the existing interfaces unchanged. The initial page could contain:

  • Expressions: one named expression per line, such as z = sin(x) + y**2.
  • Variables: editable scalar or vector values.
  • Evaluate: display named results, with an optional derivatives/Jacobian checkbox.
  • Examples: single expressions, dependent equations, vector calculations and derivatives.
  • Generate Fortran: download the generated module, or open a complete generated program in the regular playground.
  • Share link: restore expressions, input values and settings. A one-variable range option could also produce a table and plot. Dependency diagrams would be useful later for larger expression systems.

For 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. The 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.

── more in #developer-tools 4 stories · sorted by recency
── more on @fparse 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/fparse-fortran-funct…] indexed:0 read:1min 2026-11-08 · —