Coder Social home page Coder Social logo

llnl / typeforge Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 1.0 371 KB

Typeforge is a tool for type refactoring of C/C++ programs. It enables users to change the type of variables and determines all type-dependent changes that are necessary to ensure that the generated code is again a correct program.

C++ 99.42% Makefile 0.44% Shell 0.01% M4 0.13%
cpp

typeforge's Introduction

Typeforge

Typeforge is a tool for type refactoring of C/C++ programs. It enables users to change the type of any variable and automatically determines all necessary additional (i.e. type-dependent) changes. It guarantees the syntactic and semantic correctness of the generated code. Generated code will always compile.

Getting Started

Typeforge uses ROSE Compiler. The following instructions assume that ROSE is installed and the rose-config tool is on your path. You might also need to install autoconf and libtool (for Ubuntu: sudo apt install autoconf libtool).

You can then follow these instructions to install Typeforge:

git clone https://github.com/LLNL/typeforge.git
cd typeforge
./build
./configure
make -j
sudo make install
typeforge --version

If you do not have administrative priviledge, add --prefix=/path/to/install/typeforge to the configure command.

Getting Involved & Contributing

Github issue tracking and pull request will be leveraged to facilitate high quality contributions. All contribution must be made under BSD-3 license.

Reporting Issues

We will provide an issue reporting template and additional guideline soon.

Making a Pull Request

Pull requests must be made toward the develop branch from a feature/issue branch (meaning that it has a meaningful feature name or GH issue number).

We will provide additional guidelines soon.

Authors

Typeforge was developed at LLNL by:

  • Markus Schordan
  • Tristan Vanderbruggen
  • Nathan Pinnow

Publications

Typeforge is used by research projects aimed at changing how C/C++ types are used in existing applications.

A list of publication will be provided soon.

Release

Typeforge is distributed under the terms of the BSD-3 license. See NOTICE for details.

SPDX-License-Identifier: BSD-3

LLNL-CODE-799937

typeforge's People

Contributors

tristanvdb avatar mschordan avatar

Stargazers

Dani avatar  avatar Lavinia Miranda avatar

Watchers

Ian Lee avatar James Cloos avatar Dong H. Ahn avatar  avatar

Forkers

hhtwwf

typeforge's Issues

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.