csound_orc.h

Go to the documentation of this file.
00001 #ifndef __CSOUND_ORC_H
00002 
00003 #define __CSOUND_ORC_H
00004 #include "tok.h"
00005 typedef struct TREE {
00006   int           type;
00007   ORCTOKEN         *value;
00008   int           rate;
00009   int           len;
00010   struct TREE   *left;
00011   struct TREE   *right;
00012   struct TREE   *next;
00013 } TREE;
00014 #include "../Engine/csound_orcparse.h"
00015 #include "csoundCore.h"
00016 
00017 enum {
00018   S_ANDTHEN = T_HIGHEST+1,
00019   S_APPLY,
00020 };
00021 
00022 #define YYDEBUG 1
00023 
00024 TREE* make_node(CSOUND *, int, TREE*, TREE*);
00025 TREE* make_leaf(CSOUND *,int, ORCTOKEN*);
00026 ORCTOKEN* make_int(CSOUND *,char *);
00027 ORCTOKEN* make_num(CSOUND *,char *);
00028 ORCTOKEN *make_token(CSOUND *csound, char *s);
00029 /*void instr0(CSOUND *, ORCTOKEN*, TREE*, TREE*);*/
00030 /* extern TREE* statement_list; */
00031 /* double get_num(TREE*); */
00032 /*int get_int(TREE*);*/
00033 /*TREE* check_opcode(TREE*, TREE*, TREE*);*/
00034 /*TREE* check_opcode0(TREE*, TREE*);*/
00035 /*void start_instr(int);*/
00036 /* extern double sr, kr;
00037 extern int ksmps, nchnls; */
00038 #endif

Generated on Sun Nov 9 00:04:52 2008 for Csound and CsoundAC by  doxygen 1.5.6