-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add algorithmic backend #53
Conversation
This reverts commit b944a09.
Most comments are now resolved, and there are 2 remaining:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent, thanks!
Re 1: Yes, that's totally fine with me.
Re 2: Does just git cloning it into a subdirectory not work? That could be performed by something as simple as an explicit setup target in the Makefile (though doing it automatically would of course be nicer). I'd really like to avoid having copied code, as that always becomes a liability quickly.
All comments are resolved now.
I modified the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent, thanks!
Co-authored-by: Andreas Rossberg <[email protected]>
Add missing memory specifier to memory.init execution semantics
This pull request adds algorithmic backends (prose, interpreter):
src/al
directory contains the syntax and other utility functions for the intermediate representation algorithmic language AL.src/backend-prose
,src/backend-interpreter
contains the code for generating prose and (meta-level) interpreter from the input spec.Prose
andInterpreter
can be selected as the target by command argument.test-prose
andtest-interpreter
contains the test code for these backends.It also contains a few changes to other part of the code:
spec/wasm-3.0
now contains syntax, validation rules, and reduction rules for SIMD instructions. (which is planned to be copied tospec/wasm-2.0
after testing with official test-suite)Splice
instead ofLatex
, and splicing now creates a new file instead of modifying the input file in-place.structured_string_of
forel
andil
, which prints the AST in a "structured" manner, mainly used during debugging.