Coder Social home page Coder Social logo

andreasabel / refactoragda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omega12345/refactoragda

0.0 3.0 0.0 129 KB

Master's thesis project: A refactoring engine for Agda. Very much under construction.

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.08% Agda 53.02% Haskell 38.78% JavaScript 7.94% CSS 0.18%

refactoragda's Introduction

This tool has been tested with ghc version 8.4.3

Installation instructions

To be able to try the Atom package, you should either put the downloaded folder itself into ~/.atom/packages or put a folder alias there. Go into the downloaded folder in the terminal and run:

make

cabal install --enable-tests

The makefile contains instructions for compiling the Agda files. To execute it, you will need Agda 2.5.4. It will end with an error in a Haskell module, but that's okay.

RefactorAgda

This project is a refactoring tool for a subset of Agda called Baby-Agda. This subset is intended to be extended gradually to include the entire Agda language. Currently, it can be accessed either via a very sketchy Atom package or via cabal's test functionality. Hint: If the Atom package behaves strangely, look at the console in the developers' tools.

Currently supported refactorings

Rename (ctrl-k ctrl-r)

Push (reorder) function argument (ctrl-k ctrl-p)

Extract function (ctrl-k ctrl-e)

Toggle explicitness of an argument (ctrl-k ctrl-t)

Missing a refactoring?

Feel free to open an issue if a desired refactoring is not on this list.

refactoragda's People

Contributors

omega12345 avatar andreasabel avatar

Watchers

James Cloos avatar  avatar  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.