Repository navigation
bib: Fortran feasibility plan for go-embedded-fortran - #30
Merged
Merged
Conversation
bib/fortran.md: sources read with revisions (F2018 18-007r1, F2023 23-007r1, LFortran 4f2cd04, flang/flang-rt at llvmorg-23.1.4, gcc 15.2.0, reference LAPACK, llvm-test-suite, the Go Fortran projects, go-ndarray, go-embedded-julia, go-embedded-c, go-notebook, go-rouge), a v1 language subset, the two back-end options and the measured gate (M1) that chooses between them with its decision rule stated in advance, the runtime and sharing tables, notebook semantics, corpora counted with tools/srccount, the plan, risks and the list of what is unverified. README: index entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
bib/fortran.md: bibliography and feasibility plan for go-embedded-fortran (```fortrancells in go-notebook, pure Go, embeddable, runnable in the wasm playground), modelled onbib/c-cpp.md. README gets an index entry.Decisions it records
parser.yy:16-18), so it cannot be fed to goyacc. flang's front end is 114 477 lines of C++. The only active Go Fortran parser (soypat/go-fortran, BSD-3) covers F77-F90 and targets transpiling.-O0/-O2and run in wazero and the browser, and gfortran 15.2.0-O2. The kernels are a scalar loop, a 2-D stencil, matmul anda = b*c + d, run on one core in interleaved rounds. The decision rule is stated before any measurement.Findings that matter for the gate
Target.cpp:1902-1964), so it cannot be the wasm oracle.wasmgenholds encoded wasm bytes per block and is keyed by cc/v4 nodes, and its encoder is underinternal/. Option B therefore needs an extraction that is not scheduled, plus go-embedded-c M3, which is still "planned".Wrap) is needed by both options.Sequentialinterface fits Fortran modules used across cells.Nothing was timed. The unverified items are listed in section 11.
Checks
go run ./tools/checklinkspasses. All counts come fromtools/srccountand the wasm verdict fromtools/wasmimports. No code changed.🤖 Generated with Claude Code