Coder Social home page Coder Social logo

refactoringtooldevelop's Introduction

RefactoringToolDevelop

Prove of concept of a Racket and Python refactoring tool, or in other words a refactoring framework.

This refactoring tool is quite fragile, be patient, double check the refactoring and report any bug found! Automatic refactoring is highly instable!

Installation: Requisites: You need a python implementation for DrRacket that you can find it here: https://github.com/pedropramos/PyonR You can install RefactoringTool from DrRacket's Install Package dialog box with git://github.com/RafaelReia/RefactoringToolDevelop

How to Bug Report:

Create a Issue with a lable Bug describe the bug (you can use images too!) add an example that I can replicate

refactoringtooldevelop's People

Contributors

rafaelreia avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

refactoringtooldevelop's Issues

If to Cond false positives

Fix the rule If to Cond because it gives false positives

e.g.

(if (< 1 2) 1 2)

to

(cond [(< 1 2) 1]
          [else 2])

New refactoring?

(if (and (and (eq? #t (movimento-valido? jogador jogada)) 
                 (eq? #t (pe�a-jogador? jogador jogada)))
            (and (eq? #t (casa-destino-vazia? jogada))
                 (eq? #t (casa-inicial-vazia? jogada))))
       (efectua-jogada tab jogada)
       (error "Jogada invalidada: "))

Refactoring Bug

(if (not aux)
          #f
          (vector-ref (vector-ref tab valor-linha) aux))

to

(not (not aux))

let to define bug

Add the call to the define in order to make it semantically correct

name-dup bug

It detect for functions but it does not work for defines.

imports-improve

If it is imported it counts as an argument. that is not correct

Rename Multi Files

It would be useful to have the possibility to rename things the a group of files.
You can not only use the syntax tree, you may need to rename the first declaration and propagate to all the other file that depend on this.

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.