Iterate a function over an array

2006-07-24 Thread Nicholas Crosbie
I'm new to the world of parsers. I want to pass an expression to Bison and have that expression return code which is then executed on each member of an array. So with an array like such: [x(1), x(2), x(3)...x(n-1)] x(i)' = FUNCTION(x(i)) My aims is to supply a FUNCTI

Re: BISON CONNECT MYSQL WHIT API C

2006-07-24 Thread Hans Aberg
[Replies, please make sure cc'ing Help-Bison.] If you try to write a Bison generated parser that calls the C API, you just make sure the API header is seen from the Bison actions. I.e., %{ ... #include "API.h" ... %} ... %% ... Hans Aberg On 24 Jul 2006, at 18:00, Laura Arce wrote: Hi:

BISON CONNECT MYSQL WHIT API C

2006-07-24 Thread Laura Arce
Hi: I’m trating to use a API C to connect to mysql, because I must to extract from it the formulates to . where I must copy file C to be able to do inclue in the code bison? Thanks. Laura Arce. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Vir

Re: Including a new file in Bison sources

2006-07-24 Thread Guillaume Rousse
Satya wrote: > hi, > I am not an expert with automake, but I need some quick help here... > if I write two new source files in Bison: > > src/hello.h > src/hello.c I guess you mean: if I generate those C source files from a new bison source file. > later I need to #include "hello.h" in some exist