C++ representation of J array.
Definition jarray.h:25
Interface to dynamically loaded J engine.
Definition jengine.h:13
A J+ script.
Definition jplus.h:15
bool set(std::string name, jarray data)
Set value of the specified variable inside J+ environment, mark all dependent variables "dirty".
jarray get(std::string name)
Perform all the necessary calculations to computate the specified variable, return its value in an ar...
bool init(std::istream &script)
Load and pre-parse J+ script.
jplus()
initialize J+ engine with no script
std::vector< std::string > getProgram(std::set< std::string > vars)
Pull minimal set of J sentences for computing a given set of variables, assuming everything is "dirty...
virtual void libInit()
Called by the constructor before parsing the J+ script.
~jplus()
Free allocated memory.
std::vector< std::string > getProgram()
Pull all the sentences in J+ script.