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

Small edits lambda #68

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Small edits lambda #68

wants to merge 9 commits into from

Conversation

dandorat
Copy link
Contributor

@dandorat dandorat commented Apr 8, 2021

Added registers used in compile-λ-definition, reposition-env-vars, compile-λ, copy-env-to-heap, copy-closure-env-to-stack, compile-tail-applyL, compile-nontail-applyL, compile-letrec-λs, compile-letrec-init to the notes at the top of compile.rkt. Removed compile-app, compile-tail-app, and compile-nontail-app as all functions are compiled via the higher-order route now. Removed commented out code that is not needed with higher-order functions from compile.rkt and interp.rkt. Added support for printing "#" for procedure values in the C files and in unload-value. Removed proc-mask, replaced its use with ptr-mask. Added procedure?.

dandorat added 5 commits April 8, 2021 08:20
…-env-vars, compile-λ, copy-env-to-heap, copy-closure-env-to-stack, compile-tail-applyL, compile-nontail-applyL, compile-letrec-λs, compile-letrec-init to the notes at the top of compile.rkt. Removed compile-app, compile-tail-app, and compile-nontail-app. Removed commented out code that is not needed from compile.rkt. Added printing '#<procedure>' for procedure values in C files and in unload-value. Removed proc-mask, replaced its use with ptr-mask.
@dandorat
Copy link
Contributor Author

dandorat commented Apr 9, 2021

Added string=?, string-trim, build-string, map, foldl, foldr, findf, and remove-duplicates to the libraries.

dandorat and others added 4 commits April 20, 2021 15:29
…pile-provides functions, and the compile-library and formdps.c files.
…e functions λs and fvs. Fixed a bug in string=?.
…e functions λs and fvs. Fixed a bug in string=?.
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.

1 participant