parse/parse_c:
authorHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 20 Mar 2006 00:26:22 +0000 (00:26 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 20 Mar 2006 00:26:22 +0000 (00:26 +0000)
commit2ed01ee5321d42db50dc9ad6b2b7043d2d4153ce
treed9b81e8a448eb50e0ca85f94d3152161081e68d5
parenta2a7d6a6cf38627a6005069a080845dcb11af831
parse/parse_c:
    -python_output will be called from the parser. Once we have
     each method implemented we have a working C++ parser
    -Add BBHandler. It will parse .bbclass, .inc and .bb files
     for us and calls into c (if speed critical we might remove
     that fascade)
    -make scanner get FILE* and PyObject* as input
    -make parser call python_output with lex_t
    -bitbakescanner.cc,bitbakeparser.cc update generated code

    -Parsing flow:
    parse -> handle -> parse_c.BBHandler -> parse_c.C -> lex
    -> (lemon *-> python_output) ... return
lib/bb/parse/parse_c/BBHandler.py [new file with mode: 0644]
lib/bb/parse/parse_c/__init__.py [new file with mode: 0644]
lib/bb/parse/parse_c/bitbakeparser.cc
lib/bb/parse/parse_c/bitbakeparser.y
lib/bb/parse/parse_c/bitbakescanner.cc
lib/bb/parse/parse_c/bitbakescanner.l
lib/bb/parse/parse_c/lexer.h
lib/bb/parse/parse_c/python_output.h [new file with mode: 0644]
lib/bb/parse/parse_c/token.h