-
Notifications
You must be signed in to change notification settings - Fork 48
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 Elixir generation support #156
Open
elisa6
wants to merge
13
commits into
stellar:master
Choose a base branch
from
kommitters:elixir_support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Modify the enum type generated * Generate enum types by files Co-authored-by: Juan Esteban Nieto Cifuentes <Jenietoc@users.noreply.github.com>
* Add union type * Resolve comments
* Add function to create number types * Remove unnecessary function * Add condition for union type
Co-authored-by: Juan Esteban Nieto Cifuentes <Jenietoc@users.noreply.github.com>
* Generate typedef types part 2 * Add Optional function * Remove unnecessary file * Generate simple typedef * Remove unnecessary function --------- Co-authored-by: jenietoc <nieto990505@gmail.com>
* Create hash for constants * Fix generate the list from struct and union * Fix optional types * Fix lists without max length --------- Co-authored-by: jenietoc <nieto990505@gmail.com>
* Fix module name and remove repeat alias and types * Fix repeat types in the union * Define a map when the arms are integers in unions * Include the Fixed prefix when is a fixed list * Include max length in the module and file name * Fix create a file twice * Fix alias * Fix union type * Change name in uint typedef * Fix number types * Fix order validation --------- Co-authored-by: jenietoc <nieto990505@gmail.com>
* Fix opaque type * Fix array type * Fix typo * Send the second arg to opaque types * Remove condition * Add a comma in the separation of arms in unions * Remove unnecessary commas in the alias of unions * Search constant value for opaque types * Change type name in struct types * Fix errors with reserved words in struct types * Fix alias * Refactor code * Fix String types * Fix value name in union types * Fix called function * Modify the params name * Remove validation * Refactor function --------- Co-authored-by: jenietoc <nieto990505@gmail.com>
* Fix union arms * Fix problems with consts --------- Co-authored-by: jenietoc <nieto990505@gmail.com>
* Fix union bug * Refactor some code * New changes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds Elixir generation support using the elixir_xdr dependency which is used by the currently maintained and complete Stellar SDK for Elixir - https://github.com/kommitters/stellar_sdk.
We are excited to contribute to this great tool and include the generated files in our stellar_base library.
Thank you.