-
Notifications
You must be signed in to change notification settings - Fork 120
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
Generator creates compilable code with type specific modifications #169
Merged
Merged
Changes from 36 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
ea9b803
Make Examples path check OS agnostic.
jrmacgill b0c018e
Examples path check OS agnostic.
jrmacgill c56c6d4
Update Runtime.cs
jrmacgill 51879a2
Merge branch 'canary' of https://github.com/jmacgill/unity-atoms into…
jrmacgill 22bb39e
Re-generate and patch back in type specific changes
jrmacgill 1f7f944
Add missing UnityEngine using.
jrmacgill dd67da9
Marked as not sealed
jrmacgill dcb0f35
Support the current value type as a conditional.
jrmacgill b6847eb
Nested if blocks
jrmacgill 25ebe39
Use next char instead of next linefeed.
jrmacgill 394715c
Remove debug lines.
jrmacgill 09adfc0
Keep Atom Base Variable sepecfic code.
jrmacgill 143a93b
Fix position of endif
jrmacgill a9e69f1
Add Raise for void type
jrmacgill a7a1044
Add void and FSM specific logic
jrmacgill 78cfe10
Add is numeric conditional
jrmacgill 98f0330
Add more type specific logic
jrmacgill bc9c5b5
Add is Vector to generator.
jrmacgill 91cdd4d
Add type specific logic
jrmacgill a4adf84
Add collider type
jrmacgill c86fa4d
Add color specific logic
jrmacgill 4611a6d
Working on whitespace diffs
jrmacgill 36d52d6
Working on whitespace diffs
jrmacgill 8b077d8
remove unused test assembly
jrmacgill 91c52a0
removed example nested if
jrmacgill e773596
test comment removed after regen
jrmacgill 1a44211
missing ValueEquals
jrmacgill fd79ca7
missing ValueEquals on colliders
jrmacgill 3dd4465
missing color speciifc code.
jrmacgill 26a91aa
whitesapce cleanup
jrmacgill ccf2fa3
whitesapce cleanup
jrmacgill b9ce9f1
whitesapce cleanup
jrmacgill b7a53ac
whitesapce cleanup
jrmacgill d36d0e6
whitesapce cleanup
jrmacgill 96ecdd1
whitesapce cleanup
jrmacgill 07110db
remove temp debug
jrmacgill 539f6d3
Generated events now follows editoconfig. + Inline conditionals now s…
AdamRamberg File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
is not valid based on our https://github.com/AdamRamberg/unity-atoms/blob/master/.editorconfig
make sure your IDE uses the editorconfig (vs code needs a plugin for that IIRC)
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.
invalid formatting results in many files touched unnecessary. please correct those.
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.
Yeah - I need to fix this in the generator mostly - not much point in having it generate code that does not need to be modified if it then relies on the IDE to fix the formatting anyway. I was having trouble getting linefeeds and whitespace to behave where blocks were removed.
Failing that, I could remove the generated files from the PR - I'll see if I can avoid that though. I'll take a run at it this weekend.