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

Compare textual syntaxes #106

Open
dslmeinte opened this issue Dec 20, 2023 · 1 comment
Open

Compare textual syntaxes #106

dslmeinte opened this issue Dec 20, 2023 · 1 comment
Labels

Comments

@dslmeinte
Copy link
Contributor

dslmeinte commented Dec 20, 2023

Currently, two textual syntaxes (including their implemented renderers) exist with lionweb-typescript: https://github.com/LionWeb-io/lionweb-typescript/blob/main/packages/validation/src/json/LionWebJsonChunkWrapper.ts#L76 and https://github.com/LionWeb-io/lionweb-typescript/blob/main/packages/utilities/src/serialization/textualizer.ts.
Let's compare these and see whether one suffices.

@dslmeinte
Copy link
Contributor Author

dslmeinte commented May 10, 2024

This ties in with issue #107. I think it's probably not a bad idea to have a (“low-level”) textual syntax specifically for serialization chunks only, and then a separate one that can use M2s to provide a more human readable textual syntax in most cases.

Their implementations would still be separate (unless we figure out how to compose textual syntaxes in some code-convenient way), but the one in @lionweb/serialization (tentative package!) would at least be very simple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant