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

Pretty printing of models #98

Closed
mohamed82008 opened this issue May 3, 2020 · 2 comments
Closed

Pretty printing of models #98

mohamed82008 opened this issue May 3, 2020 · 2 comments

Comments

@mohamed82008
Copy link
Member

Soss has a pretty string representation of a model that I think would be nice to have in DPPL. We can store a string in the Model struct with the string representation of the model.

@devmotion
Copy link
Member

Couldn't we just save and print the model definition of the user as an expression (if you actually intend to display what the user defined and not just a summary)? The expression would have more structure and could be analyzed and transformed better than a string.

@mohamed82008
Copy link
Member Author

An expression that's pretty enough is also good enough. The key is to not show large models entirely.

@yebai yebai closed this as completed Nov 12, 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

No branches or pull requests

3 participants