Repository navigation
bib: R bibliography and feasibility plan for go-embedded-r - #21
Merged
Merged
Conversation
bib/r.md plans a pure-Go R interpreter for go-notebook cells, counted on the R 4.6.2 release tarball (SHA-256 recorded): 773 R_FunTab entries = 210 primitives + 563 internals, a 12-nonterminal grammar, 129 byte-code opcodes, lines per language of base/stats/utils/methods/graphics/grid, native call sites, the GPL boundary and what is portable (LAPACK, TRE, XDR), the fleet libraries to reuse, prior art (Renjin, FastR, pqR, Riposte, webR), the CRAN native-code wall (3 851 of 25 608 packages run without compiled code), the oracle harness, milestones M0-M8 and risks. tools/rcount takes every count (cobra CLI, 100% coverage, fuzzed). 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.
Adds
bib/r.md, the bibliography and feasibility plan for go-embedded-r, a pure-Go R interpreter (CGO-free, embeddable, wasm) for```rcells in go-notebook. It follows the structure ofbib/julia.md. The lesson from that file is applied: every count is taken on the pinned R 4.6.2 release tarball (SHA-256 recorded), never on trunk.Key figures (from
tools/rcount):R_FunTab: 773 entries, made of 210.Primitiveand 563.Internal. Base R's own code reaches 409 of the internals.gram.y. There are 129 byte-code opcodes, and the JIT is on by default.Also adds
tools/rcount, which produces all of these counts. It is a cobra CLI with 100 % statement coverage and a fuzz test.No repository was created in go-embedded-r.
🤖 Generated with Claude Code