Skip to content
This repository was archived by the owner on Jan 11, 2026. It is now read-only.

Implement conversion from non-det transitions to enumeration#40

Open
lopsided98 wants to merge 2 commits intorustype:mainfrom
lopsided98:non-det-from
Open

Implement conversion from non-det transitions to enumeration#40
lopsided98 wants to merge 2 commits intorustype:mainfrom
lopsided98:non-det-from

Conversation

@lopsided98
Copy link

Implement From conversions from non-deterministic transition enums to the state enum, if enabled. This makes it a lot nicer to work with non-deterministic transitions.

I've never worked on a proc macro before, so I'm not sure if my implementation is the best.

Implement From conversions from non-deterministic transition enums to the
state enum, if enabled.
@jmg-duarte
Copy link
Contributor

Hey @lopsided98, thank you for investing some time and contributing! Before I proceed with review, could you provide some tests over your feature? You can take a look at the existing ones in /tests.

Let me know if you have further questions!

@lopsided98
Copy link
Author

I added a simple test. Let me know what you think.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants