GithubHelp home page GithubHelp logo

ergawy / ibn-khaldun Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 11 KB

A library of compiler optimization algorithms. This is a project in which I learn about and practice writing optimizing compilers. Ibn-Khaldun is a famous Muslim scholar with significant contributions to economics.

CMake 2.16% C 97.84%
compiler optimization control-flow-analysis

ibn-khaldun's People

Stargazers

 avatar

ibn-khaldun's Issues

Implement PST

Implement the program structure tree as described by [0].

[0] Johnson, Richard, David Pearson, and Keshav Pingali. "The program structure tree: Computing control regions in linear time." ACM SigPlan Notices. Vol. 29. No. 6. ACM, 1994.

Write a CFG generator

Implement a control-flow-graph generator to test implemented algorithms and data structures. Check Section 7.8 in Engineering a Compiler for definitions of different CFG constructs.

1 - Randomly choose a construct.
2 - While generating a construct, randomly choose to either generate a nested construct recursively or finish the current construct and exit.

Implement Tri-Connected Compoenets

Implement dividing a graph into its tri-connected components as suggested by [0] or [1].

[0] Hopcroft, John E., and Robert Endre Tarjan. "Dividing a graph into triconnected components." SIAM Journal on Computing 2.3 (1973): 135-158.
[1] Gutwenger, Carsten, and Petra Mutzel. "A linear time implementation of SPQR-trees." International Symposium on Graph Drawing. Springer Berlin Heidelberg, 2000.

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.