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

feat: parse a '.wbs' file and output '.json' (resolves #7) #8

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

klown
Copy link
Contributor

@klown klown commented Apr 20, 2023

Description

This pull request creates a utility script:

  • utils/parse_wbs.py: Reads a .wbs file line-by-line, converting each string into a JSON representation of the same information. The individual JSON structures are stored in a JSON array, and the entire array is printed to stdout.

See the changes to the README.md for testing the script.

Related issues

Resolves #7

@klown
Copy link
Contributor Author

klown commented Apr 21, 2023

@russellgalvin, this addresses some of the comments in your email from Wed (Apr 19), mostly in terms of the grid data. But, I have not removed any fields yet since I wanted a version with all of the fields present, at least for posterity. It's easy to remove fields as needed.

You can add comments here if you are logged in. There is a text area that you can fill in, and then apply using its "Comment" button.

Shape descriptor regular expression now handles more than one
digit, for example, the "22" in Y#22#1.
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.

Create a utility script to parse a winbliss '.wbs' file and output the contents as JSON
1 participant