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

Initial support for compilation of .coalton files #1104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jbouwman
Copy link
Contributor

@jbouwman jbouwman commented May 8, 2024

Define a backend protocol to support multiple output schemes. Instead of collecting and returning code and environment from the compiler entry point, and consing an environment update log, provide functions for incremental output (emit, emit-env), and return only the functionally-updated environment, which caller can keep or discard.

Deduplicate set-code environment updates, which reduces FASL size a bit, about 10% on ARM, and a little more on AMD64.

Define a backend protocol to support multiple output schemes. Instead
of collecting and returning code and environment from the compiler
entry point, and consing an environment update log, provide functions
for incremental output (emit, emit-env), and return only the
functionally-updated environment, which caller can keep or discard.

Deduplicate set-code environment updates, which reduces FASL size a
bit, about 10% on ARM, and a little more on AMD64.
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.

None yet

1 participant