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

implied_print patch #1829

Conversation

GillesDuvert
Copy link
Contributor

adjusted simple formats for arrays to match IDL and take account of terminal width. Also, by removing superfluous parenthesis, make compilation faster (superfluous parenthesis, such as if ( xxx ) then or b=(cos(a)) make ANTLR2 parsing exponentially slower with the number of nested parenthesis. Need ANTLR3 or better to get out of this.)

before

GDL> findgen(3)
       0.00000       1.00000       2.00000

after

GDL> findgen(3)
       0.0000000       1.0000000       2.0000000

Also, by removing superfluous parenthesis, make compilation faster.
@GillesDuvert GillesDuvert merged commit 744568f into gnudatalanguage:master Jun 4, 2024
6 checks passed
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.

None yet

1 participant