GithubHelp home page GithubHelp logo

jinlongyu60 / screader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shining1984/screader

0.0 1.0 0.0 57 KB

The screader is a soure code reading tool based the libclang. It is implemented by the C.

License: Other

C 95.30% CMake 0.70% Makefile 3.67% C++ 0.33%

screader's Introduction

screader

The screader is a soure code reading tool based the libclang. It is implemented by the C.

How to build the scread:

  1. You must install the clang on your computer. You can follow the doc: http://clang.llvm.org/get_started.html. But after you "make", you must "make install".

  2. After you install the clang, you can use "clang -v" to check your clang version.

  3. Use git clone the source code of scread to you computer.

  4. Make directory build under the scread directory.

  5. Under the build directory, use the cmd: cmake .. make

  6. Then you can get the scread under the build directory.

How to use the scread:

You must come to the directory of the scread.

  1. If you want to use the scread to output all the informations of ast nodes: You can use it like that: ./scread xxx.cpp(or xxx.c, xxx.h)

  2. If you just want to get the keyword information, you can use it like this: ./scread xxx.cpp keyword

  3. We store some testcase under the scread/test/. So, you can use the scread like this: ./scread ../test/Node.h ./scread ../test/HelloWorld.cpp printf

screader's People

Contributors

shining1984 avatar

Watchers

James Cloos avatar

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.