37 ConvertData(
const std::string&,
const std::string&,
const std::string&,
const std::string&);
68 #ifndef CDBPYTHON_NO_NOTEBOOK
70 std::string
cnb2python(
const std::string&,
bool for_standalone);
Object to store pre-parsing intermediate results.
Definition: CdbPython.hh:34
std::string op
Definition: CdbPython.hh:39
std::string lhs
Definition: CdbPython.hh:39
std::string indent
Definition: CdbPython.hh:39
ConvertData()
Definition: CdbPython.cc:187
std::string rhs
Definition: CdbPython.hh:39
std::string cnb2python(const std::string &, bool for_standalone)
Convert a Cadabra notebook file to pure Python.
Definition: CdbPython.cc:350
std::string cdb2python(const std::string &, bool display)
Convert a block of Cadabra notation into pure Python.
Definition: CdbPython.cc:25
std::pair< std::string, std::string > convert_line(const std::string &, ConvertData &cv, bool display)
Detect Cadabra expression statements and rewrite to Python form.
Definition: CdbPython.cc:197
def display(obj, delay_send=False)
Generic display function which handles local as well as remote clients.
Definition: cadabra2_defaults.py:211
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83
std::string cdb2python_string(const std::string &, bool display)
Definition: CdbPython.cc:59
int is_python_code_complete(const std::string &, std::string &error)
Test whether a block of Python code is complete or requires more input lines.
Definition: CdbPython.cc:138
std::string escape_quotes(const std::string &)
Definition: CdbPython.cc:17
const char error[]
Definition: Snoop.hh:365