cd /news/developer-tools/transpiler-from-j-to-fortran · home topics developer-tools article
[ARTICLE · art-98086] src=fortran-lang.discourse.group ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Transpiler from J to Fortran

A developer has created a transpiler from the J programming language to Fortran using OpenAI Sol, enabling batch translation and a REPL that translates and runs Fortran code on the fly. The tool works on small J programs but cannot handle more dynamic programs such as those in the jlearn machine learning library or astronomy programs. Claude Opus suggests a larger subset of J code could be transpiled to Python/Numpy calling Fortran as needed.

read1 min views1 publishedAug 15, 2026

J is an offshoot of APL, co-authored by Iverson, that uses the ASCII character set. Since modern Fortran is also an array programming language, and since it has been argued that token-efficient languages such as J are a good fit for LLMs, I wrote a transpiler from J to Fortran using OpenAI Sol primarily

Besides a batch translator there is a REPL that translates and runs Fortran code on the fly. It works on some small J programs, but it cannot handle the more dynamic programs at GitHub - jonghough/jlearn: Machine Learning Library, written in J · GitHub or the programs for astronomy here. Claude Opus says that a larger subset of J code could be transpiled to Python/Numpy calling Fortran as needed.

── more in #developer-tools 4 stories · sorted by recency
── more on @openai sol 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/transpiler-from-j-to…] indexed:0 read:1min 2026-08-15 ·