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

Slightly improve prettyprinting for Core #2094

Merged
merged 1 commit into from
May 15, 2023
Merged

Conversation

janmasrovira
Copy link
Collaborator

This pr includes some small adjustments to the Core prettyprinter.

Currently printing core code usually generates very long lines. In order to improve that, now let and lambda bodies are printed in the following line if they do not fit in the current line.

@janmasrovira janmasrovira added prettyprinting core Related to JuvixCore labels May 15, 2023
@janmasrovira janmasrovira added this to the 0.3.4 milestone May 15, 2023
@janmasrovira janmasrovira requested a review from lukaszcz May 15, 2023 08:46
@janmasrovira janmasrovira self-assigned this May 15, 2023
@janmasrovira janmasrovira force-pushed the code-pretty-improvements branch from 6365583 to e62bdde Compare May 15, 2023 09:42
@jonaprieto jonaprieto force-pushed the code-pretty-improvements branch from e62bdde to 148de20 Compare May 15, 2023 11:01
@jonaprieto jonaprieto force-pushed the code-pretty-improvements branch from 148de20 to a5616b1 Compare May 15, 2023 11:02
@jonaprieto jonaprieto merged commit 10d052d into main May 15, 2023
@jonaprieto jonaprieto deleted the code-pretty-improvements branch May 15, 2023 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Related to JuvixCore prettyprinting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants