Search Result

Collapse
3 results in 0.0041 seconds.
Keywords
Members
Tags
lex
  •  

  • rajmitra
    started a topic How do I access data lists created by yyparse ??
    in C

    How do I access data lists created by yyparse ??

    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...
    See more | Go to post

  • 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...
    See more | Go to post
    Last edited by rajatkmitra; Jun 2 '10, 06:54 PM. Reason: Add attachment

  • RAyRAy
    Guest started a topic Lex and Yacc

    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....
    See more | Go to post
Working...