static string fxname(const string &filename)
transform a filename "faust/example/noise.dsp" into the corresponding fx name "noise" ...
string gFaustSuperSuperDirectory
void drawSchema(Tree bd, const char *projname, const char *dev)
The entry point to generate from a block diagram as a set of svg files stored in the directory "
void printfloatdef(std::ostream &fout)
Tree cons(Tree a, Tree b)
Compile a list of FAUST signals into a vector C++ class.
virtual void println(int n, ostream &fout)
Print a full C++ class corresponding to a Faust dsp.
void endTiming(const char *msg)
void streamCopyUntil(istream &src, ostream &dst, const string &until)
Copy src to dst until specific line.
A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches.
ifstream * open_arch_stream(const char *filename)
Try to open an architecture file searching in various directories.
list< string > gImportDirList
map< Tree, set< Tree > > gMetaDataSet
Interface of the block diagram evaluator.
virtual void printGraphDotFormat(ostream &fout)
Print the loop graph in dot format.
void streamCopyUntilEnd(istream &src, ostream &dst)
Copy src to dst until end.
vector< Tree > gDocVector
Contains parsed trees: DOCTXT, DOCEQN, DOCDGM.
void getFaustPathname(char *str, unsigned int size)
string gDocName
Contains the filename for out documentation.
void print(int n, ostream &fout)
Tree boxPropagateSig(Tree path, Tree box, const siglist &lsig)
Top level propagate a list of signals into a block diagram.
Tree evalprocess(Tree eqlist)
Eval "process" from a list of definitions.
vector< string > listSrcFiles()
Return a vector of pathnames representing the list of all the source files that have been required to...
void setDescription(Description *descr)
string subst(const string &model, const vector< string > &args)
Text substitution.
virtual void printIncludeFile(ostream &fout)
Print the required include files.
void startTiming(const char *msg)
void printSignal(Tree sig, FILE *out, int prec)
bool check_url(const char *filename)
Check if an URL exists.
void streamCopy(istream &src, ostream &dst)
Copy src to dst.
Tree importFile(Tree filename)
Tree expandlist(Tree ldef)
Return the list of definitions where all imports have been expanded.
Description * inputs(int n)
static bool isCmd(const char *cmd, const char *kw1)
Description * outputs(int n)
Description * license(const string &s)
siglist makeSigInputList(int n)
Fabrique une liste de n entrées.
list< string > gInputFiles
bool gPrintFileListSwitch
Description * version(const string &s)
string filedirname(const string &name)
returns a string containing the dirname of name If no dirname, returns "."
Description * getDescription()
static string makeDrawPathNoExt()
void printheader(ostream &dst)
static void initFaustDirectories()
string gFaustSuperDirectory
API to the typing system of signals.
Compile a list of FAUST signals into a vector C++ class.
int main(int argc, char *argv[])
virtual void printLibrary(ostream &fout)
Print the required C++ libraries as comments in source code.
void printDoc(const char *projname, const char *docdev, const char *faustversion)
The entry point to generate faust doc files.
const char * tree2str(Tree t)
if t has a node of type symbol, return its name otherwise error
bool getBoxType(Tree box, int *inum, int *onum)
Return the type (number of inputs and outputs) of a box or false if undefined.
bool process_cmdline(int argc, char *argv[])