Package: ast2ast 0.4

Krämer Konrad

ast2ast: Translates an R Function to a C++ Function

Enable translation of a tiny subset of R to C++. The user has to define a R function which gets translated. For a full list of possible functions check the documentation. After translation an R function is returned which is a shallow wrapper around the C++ code. Alternatively an external pointer to the C++ function is returned to the user. The intention of the package is to generate fast functions which can be used as ode-system or during optimization.

Authors:Krämer Konrad [aut, cre]

ast2ast_0.4.tar.gz
ast2ast_0.4.zip(r-4.5)ast2ast_0.4.zip(r-4.4)ast2ast_0.4.zip(r-4.3)
ast2ast_0.4.tgz(r-4.4-arm64)ast2ast_0.4.tgz(r-4.4-x86_64)ast2ast_0.4.tgz(r-4.3-arm64)ast2ast_0.4.tgz(r-4.3-x86_64)
ast2ast_0.4.tar.gz(r-4.5-noble)ast2ast_0.4.tar.gz(r-4.4-noble)
ast2ast_0.4.tgz(r-4.4-emscripten)ast2ast_0.4.tgz(r-4.3-emscripten)
ast2ast.pdf |ast2ast.html
ast2ast/json (API)
NEWS

# Install 'ast2ast' in R:
install.packages('ast2ast', repos = c('https://fastverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/konrad1991/ast2ast/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

abstract-syntax-treecc-plus-plusexpression-templatematrixrcpptranspilervector

1 exports 34 stars 3.48 score 18 dependencies 1 dependents 293 downloads

Last updated 3 days agofrom:1fd466ed1d

Exports:translate

Dependencies:clicodetoolscpp11crayongluelifecyclelobstrmagrittrprettyunitspryrpurrrR6RcppRcppArmadillorlangstringistringrvctrs

Detailed Documentation

Rendered fromDetailedDocumentation.Rmdusingknitr::rmarkdownon Jul 24 2024.

Last update: 2024-07-03
Started: 2022-01-14

Information for package authors

Rendered fromInformationForPackageAuthors.Rmdusingknitr::rmarkdownon Jul 24 2024.

Last update: 2024-07-03
Started: 2022-01-31