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

Prepend transpiled symbolic constant names with % sign #27

Open
andstor opened this issue Feb 1, 2019 · 0 comments
Open

Prepend transpiled symbolic constant names with % sign #27

andstor opened this issue Feb 1, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@andstor
Copy link
Member

andstor commented Feb 1, 2019

For maxima to calculate with symbolic constants, they need to be prepended with a % sign.
See the Maxima documentation on Functions and Variables for Constants.

The symbolic constants should be handled as macros. See the macros.js file, and the doToken() function.

Expected behavior

Input Output
onlyGreekName onlyGreekSymbol
e %e
i %i
\gamma %gamma γ
\phi %phi ϕ
\pi %pi π
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant