Skip to content
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

Remove enum directory #75

Merged
merged 22 commits into from
Nov 16, 2022
Merged

Remove enum directory #75

merged 22 commits into from
Nov 16, 2022

Conversation

ArtemkaKun
Copy link
Contributor

The directory contains only service stuff to generate values used in the node_kind.v. Since node_kind.v was changed, and the overall implementation of c2v is stable by now, files from the enum folder can be removed.

@medvednikov
Copy link
Member

It will still be useful for new C++ nodes. I think the generator needs to be updated instead. The directory should be changed to gen/ or something like that.

@ArtemkaKun
Copy link
Contributor Author

Got it, will do

@ArtemkaKun ArtemkaKun marked this pull request as draft October 5, 2022 10:18
@ArtemkaKun ArtemkaKun marked this pull request as ready for review November 2, 2022 21:36
@ArtemkaKun
Copy link
Contributor Author

@medvednikov Hi, what do you think now?

@ArtemkaKun
Copy link
Contributor Author

@medvednikov

What was done in this PR:

  • types file was sorted A -> Z
  • parse.v file was removed
  • gen_str.v file was refactored to generate NodeKind code and related dictionary with improvements (like auto snake_case for entries in types file)

@medvednikov medvednikov merged commit fea624e into vlang:master Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants