-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
guard, action, internal transition, and typescript #30
Draft
DrSensor
wants to merge
27
commits into
master
Choose a base branch
from
new/guard-and-action
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.
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
* Support guard for transient transition
* Internal transiion shouldn't have next_state * Remove trailing symbol `|>` when printing action in internal transiion * Fix core parser tests * Small tweak on the error messages
consecutive internal transition not appended on the same state declaration
* core Builder now support custom option key * xstate transpiler also support javascript output⚠️ only applied on `scrap code` subcommand
* Also support output --as javascript * Require --name when output --as javascript,typescript * Convert --name [export] to PascalCase when output --as typescript
* Add project examples/xstate/nodejs as subrepo * Fix import fail when filename in kebab-case (js)
Because value in event-key can be targetName *or* object of: one_or_all{target, guard, actions}, then it also accept array of object. This need the transpiler able to convert previous value into list of object when hit non-conflicted guard.
* Add additional specs for semantic_errors/*.md
* Implement warning messages in the core parser * Print warning messages in both cli subcommand
- core: Add DbC for `Transition` via static_assert - core: Refactor `TransitionIterator` a bit - Fix deprecate trait-object without `dyn`
- Skip internal-transition on box/asciiart format - Add option mode::blackbox::State in scdlang_smcat
DrSensor
force-pushed
the
new/guard-and-action
branch
5 times, most recently
from
August 22, 2019 23:02
d44205a
to
61935c3
Compare
DrSensor
force-pushed
the
new/guard-and-action
branch
2 times, most recently
from
August 22, 2019 23:43
c32d81d
to
a0d9f86
Compare
Update entrypoint.sh Fix `Testing` workflow Add another $PATH in .github/enrtrypoint.sh Hopefully it will fix gh-action `Smoke tests` Fix example submodule not fetched Limit git-submodule only on `Smoke tests` Fix example submodule not fetched Fix example submodule not fetched Fix example submodule not fetched
DrSensor
force-pushed
the
new/guard-and-action
branch
3 times, most recently
from
August 24, 2019 10:34
1264873
to
9510922
Compare
warning duplicated on transition with same event name although it has same current state
* Remove compile-time generator (build.rs) * Add root level arg for --shell-completion * Enable colored --help
Todo:
|
* Derive enum of the custom option from strum crate * Trim-space the error-messages in smcat transpiler
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.
compile to webassembly