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

.aec files - saved compiled contracts which can be reused by the compiler #446

Open
radrow opened this issue Apr 7, 2023 · 0 comments
Open
Assignees
Labels
effort: medium enhancement New feature or request

Comments

@radrow
Copy link
Member

radrow commented Apr 7, 2023

An .aec file is an interface file with compiled implementations:

namespace Ns =
  function f : int => int
  function f = babf23in2n43ngijwiefjiwjgi34ji

The typechecker trusts the type declaration. Compiler deserializes code, checks if the declared type matches and just pastes assembly.

Of course you are not supposed to distribute aec files, they are for caching and partial compilation (for REPL for example).

@radrow radrow added enhancement New feature or request effort: medium labels Apr 7, 2023
@radrow radrow self-assigned this Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: medium enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant