-
Notifications
You must be signed in to change notification settings - Fork 23
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 primitive types to molecule for syntax = 2
#62
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
e4b0d25
to
9f09b51
Compare
This comment was marked as resolved.
This comment was marked as resolved.
6c4c247
to
6feff57
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as off-topic.
This comment was marked as off-topic.
a58bf91
to
a08682a
Compare
0eb7f74
to
a0bdf01
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
a980a89
to
ac0aeb8
Compare
LGTM! I haven't found any obvious issues. So, Could you mark this PR to "ready for review" state? It seems that if it is a draft, I have to approve it for running tests every time after you push updates. If all tests are passed, I will approve it. TODOs before released a new version, after this PR merged:This PR requires two types of tests:
You can reference the tests for |
Update: This PR should be rebased on #64 (syntax version feature) |
ac0aeb8
to
841cd4a
Compare
syntax_version = 2
syntax_version = 2
syntax = 2
841cd4a
to
263612d
Compare
Todo:
|
Signed-off-by: Eval EXEC <execvy@gmail.com>
Signed-off-by: Eval EXEC <execvy@gmail.com>
…_version is not present
263612d
to
6c65498
Compare
6c65498
to
969e6f5
Compare
This PR want to add
uint{8,16,32,64}
,int{8,16,32,64}
andbool
as primitive types forsyntax = 2
.This PR want to close #57 , and commit changes are based on syntax version feature #64
Implementation detail:
molecule-std
, it'sbuild.rs
will generate aprimitive_types.rs
file from primitive_types.molmolecule-std
provide awith-primmitive-types
feature (default is disabled ). Whenwith-primitive-types
feature is disabled,molecule-std
act as same asmolecule
, becausemolecule-std
has same module tree structure asmolecule
, whenwith-primitive-types
feature is enabled, it will loadprimitive_types.rs
, then user will importUint64/Int32
frommolecule-std
Todo:
syntax = 2