You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compute-engine: parser should recognize unknown functions (like silly())
so, basically
check if its a known token
if not, check if brackets come right after it x()
if there are brackets, its a function
otherwise, split the letters and treat them as individual stuff
From Gitter
@stefnotch you can provide a parse function for xrightarrow that would parse for valid functions in the "above" argument.
Arno Gourdol @arnog
12:16
For recursive functions, you have two options I can think of: use the parseUnknownToken option in the LatexSyntax parser to recognize foo as a function token.
The second option would be for the definition of the := operator to create a scope (using ce.pushScope()) with a custom definition for the foo symbol. This gives you more flexibility (such as defining a domain, an argument list, etc...) in defining the symbol.
The text was updated successfully, but these errors were encountered:
We have to wait for the next compute-engine version https://cortexjs.io/docs/compute-engine/#(ParseLatexOptions%3Atype)
Compute-engine: parser should recognize unknown functions (like silly())
so, basically
From Gitter
The text was updated successfully, but these errors were encountered: