Hello all,
In my foo.y description I call yyparse() in main.
----------------------------------------
int main(int argc, char **argv)
{
...
yyparse();
...
/*Do something with a link list created by yyparse(); */
/* Then free the list*/
}
--------------------------------------------
As the comments in main show -
How do I manipulate...
Search Result
Collapse
3 results in 0.0041 seconds.
Keywords
Members
Tags
-
How do I access data lists created by yyparse ??
-
parsing problem with lex/yacc - yylval returns unintended value for $1
Hi Folks,
I am writing a simple parser to parse SPICE code ( Spice is a transistor level simulator ). The spice code looks like this -
=============== =========
R10 2 3 0.5e-3
C11 4 6 0.2e-6
L13 4 4 0.1e-9
=============== ==========
As you can see each line has 4 items -
a character string followed by an integer then another integer and finally a floating point number.
I need to return... -
Lex and Yacc
Is there a Lex and Yacc for C# or basically .NET CLR? I
hope there is. I would rather use .NET rather than C. If
there is a Lex and Yacc can you let me know of the class
and namespace it is under. I did a search and couldn't
find any....