celesto
AI 에이전트를 위한 안전하고 영구적인 컴퓨터
SAS 프로그램을 결정론적으로 파싱해 정확한 추상 구문 트리를 만들고 DATA 단계를 tidyverse R 코드로 컴파일합니다
Deterministically parses SAS programs into a faithful abstract syntax tree and compiles DATA steps into tidyverse R code. Unsupported language features fail loudly with classed conditions.
개발 도구GitHub @kaipingyang온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
저장소 정보는 아직 수집하지 않았습니다.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
Run SAS programs on an R engine (deterministic SAS front-end, tidyverse/DuckDB back-end)
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Run SAS® programs on an R engine.
sasonr parses SAS source code (DATA step, macro language, PROC SQL and a growing set of procedures) into a faithful abstract syntax tree with a hand-written lexer, recursive-descent parser and Pratt expression parser, then executes it in R: DATA steps are compiled into tidyverse code, PROC SQL runs on DuckDB. The goal is end-to-end results identical to SAS 9.4.
Three ways to use it:
sas_translate() produces R code
without any language model, and the result is verified against SAS output.Design rules:
sasonr_unsupported condition with the SAS line
number instead of guessing.Status: early development, not on CRAN.
# pak::pak("kaipingyang/sasonr")
library(sasonr)
res <- sas_run("data a; do i = 1 to 3; x = i**2; output; end; run;")
sas_translate("data b; set a; if x > 1; run;") # show generated R code
SAS is a registered trademark of SAS Institute Inc. This project is not affiliated with or endorsed by SAS Institute Inc.