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

Command feature: archive mode #3

Open
lichendust opened this issue Oct 7, 2023 · 0 comments
Open

Command feature: archive mode #3

lichendust opened this issue Oct 7, 2023 · 0 comments
Assignees
Labels
idea Proposal for a new idea
Milestone

Comments

@lichendust
Copy link
Owner

A flag for the merge command called --archive, which would expand and bake all syntax features into the text:

  • includes
  • scene numbers
  • counters

It would also sanitise Meander of any other Meander-flavoured syntaxes, such as wrapping header: updates in note syntax to obfuscate them. It's essentially a command modifier that "un-Meanderises" any document, suitable for importing into Final Draft or simply archiving the file long-term at the end of a production.

Current limitation: the parser kinda sucks and is desctructive, so it makes writing this kind of feature require a lot of duplicated logic and code. A proper tokenising parser that can bi-directionally reconstruct all of the original text would enable this feature handily and fix a bunch of edge programming that's currently in other parts of Meander right now.

@lichendust lichendust added the idea Proposal for a new idea label Oct 7, 2023
@lichendust lichendust added this to the v0.3.0 milestone Oct 7, 2023
@lichendust lichendust self-assigned this Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Proposal for a new idea
Projects
None yet
Development

No branches or pull requests

1 participant