-
Notifications
You must be signed in to change notification settings - Fork 14
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
Bug: Maxima's grind function fails when used in mcall #33
Comments
Hmm, yeah that final Note that you don't need to make calls to |
Right. I'm less interested in the flat representation than in the flat representation broken up over multiple lines for future readability, though. |
Hmm, ok. And the full 2d representation isn't appropriate either?
|
No, I'm trying to generate a Julia module which can get the once over with the precompiler. Attempting this the straightforward way, with just in time compilation of the Maxima expressions, was requiring more memory than my machine has. I also want the generated files to be, at least somewhat, human readable, which grind style formatting helps with. I don't need the grind function, since I can use the
|
This is an old, conversation but just to finalize this: it does seem to be the fact that |
When I try to use the
grind
function inmcall
I get a warning. Usingstring
on the same example works fine:Here's the corresponding i/o from a Maxima session:
The reason for using
grind
is that it, basically, does the same thing asstring
, but it breaks the output up into individual lines. Here, for example, is the output ofgrind
for a longer expression:while for
string
it's:(possibly with quote marks that Maxima isn't displaying).
I'm not sure if the difference is that
grind
attempts to print the line to Maxima's output stream, whilestring
just returns a string. As such, maybe this belongs in "won't fix", since fixing it may involve a major restructuring of how Maxima.jl interfaces with Maxima (i.e. giving the user some way to access Maxima's stdout).For my use case, setting the flag
grind : True
will actually suffice.The text was updated successfully, but these errors were encountered: