Ask Your Question

Revision history [back]

If you plan do write programs within a few files, you can use Python tools as such code will be pure Python. The "special Sagemath syntax" is made possible by the preparser, which is intended to be used in interactive mode (command line and notebooks), not within a serious program. Note that the source code of Sage itself is made of pure Python and Cython, it is not preparsed.