Giter Site home page Giter Site logo

Compile newick_parser about clmp HOT 3 CLOSED

ArtPoon avatar ArtPoon commented on August 19, 2024
Compile newick_parser

from clmp.

Comments (3)

ArtPoon avatar ArtPoon commented on August 19, 2024

Ok, newick_praser.tab.h and newick_parser.h are nearly identical:

art@orolo:~/git/clmp/src$ diff newick_parser.tab.h newick_parser.h
33,34c33,34
< #ifndef YY_YY_NEWICK_PARSER_TAB_H_INCLUDED
< # define YY_YY_NEWICK_PARSER_TAB_H_INCLUDED
---
> #ifndef YY_YY_NEWICK_PARSER_H_INCLUDED
> # define YY_YY_NEWICK_PARSER_H_INCLUDED
56a57,64
> /* Tokens.  */
> #define COLON 258
> #define SEMICOLON 259
> #define LPAREN 260
> #define RPAREN 261
> #define COMMA 262
> #define STRING 263
> #define NUMBER 264
63c71
< #line 25 "newick_parser.y" /* yacc.c:1909  */
---
> #line 26 "newick_parser.y" /* yacc.c:1909  */
68c76
< #line 69 "newick_parser.tab.h" /* yacc.c:1909  */
---
> #line 77 "newick_parser.h" /* yacc.c:1909  */
81c89
< #endif /* !YY_YY_NEWICK_PARSER_TAB_H_INCLUDED  */
---
> #endif /* !YY_YY_NEWICK_PARSER_H_INCLUDED  */

so there should be some option for removing the tab annotation.

from clmp.

ArtPoon avatar ArtPoon commented on August 19, 2024

lex.yy.c is similar to newick_lexer.c but my version of flex is different (2.6.4 versus 2.5.35)

from clmp.

ArtPoon avatar ArtPoon commented on August 19, 2024

Give up if we can get packages working on macOS and Windows - this is only an issue if we need to change parser.

from clmp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.