omdev.spad line 236 [edit on github]
OpenMathPackage provides some simple utilities to make reading OpenMath objects easier.
OMlistCDs()
lists all the CDs
supported by FriCAS.
OMlistSymbols(cd)
lists all the symbols in cd
.
OMread(dev)
reads an OpenMath object from dev
and passes it to FriCAS.
OMreadFile(f)
reads an OpenMath object from f
and passes it to FriCAS.
OMreadStr(f)
reads an OpenMath object from f
and passes it to FriCAS.
OMsupportsCD?(cd)
returns true
if FriCAS supports cd
, false
otherwise.
OMsupportsSymbol?(s, cd)
returns true
if FriCAS supports symbol s
from CD
cd
, false
otherwise.
OMunhandledSymbol(s, cd)
raises an error if FriCAS reads a symbol which it is unable to handle. Note that this is different from an unexpected symbol.