Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement enough of SEXP, RDSReader, and Compiler to pass tests #3

Merged
merged 10 commits into from
Jan 24, 2024

Conversation

Jakobeha
Copy link
Contributor

I refactored in the code from filip's branch, and then implemented enough of it so the .rds reader and bytecode compiler tests passed.

I don't know if what the compiler creates the correct bytecode because it only prints the result. Also it seems that whenever I try to save a list to RDS, it gets loaded as a vector with names, even though R loads it back as a list; I'm not sure if we're supposed to do that too.

Some types of SEXPs aren't defined, and probably SEXPs to deserialize instructions to compile need to be implemented.

@Jakobeha Jakobeha force-pushed the sexp-rds-compiler-init branch from 39363e9 to 022ba4d Compare January 24, 2024 15:19
@Jakobeha Jakobeha merged commit 9cb2d11 into main Jan 24, 2024
2 checks passed
@Jakobeha Jakobeha deleted the sexp-rds-compiler-init branch January 24, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants