-
Notifications
You must be signed in to change notification settings - Fork 57
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
ATD modules (work in progress) #297
base: master
Are you sure you want to change the base?
Conversation
Atdgen needs more work.
This attempt to support dedicated syntax for imports failed due to the complexity of the atdgen implementation. The problem is that atdgen generates code that doesn't read or write via a generic JSON AST but instead reads and writes JSON directly to/from bytes. This makes things unmanageable. I didn't have any problems supporting Here's what I suggest:
|
This provides an
import
construct that serves as declaring the existence of a module. A modulem
is derived from an ATD filem.atd
or some implementation that exposes a compatible interface. A typet
provided by modulem
is referred to asm.t
.Implements #265
PR checklist
CHANGES.md
is up-to-date