Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran-dev] Fortran Refactorings

 Hi everybody,

	I'm working on refactorings in photran. I've submitted two of them at
bugzilla:

	-Replace Old Style Do Loop Refactoring: this refactoring replaces the
old style do Loops with the CONTINUE statement 
or the Shared Do Loop Termination with the END DO statement. Bugzilla link
https://bugs.eclipse.org/307437  

	-Remove unreferenced Labels Refactoring: this refactoring removes the
labels on statements that are labeled but its label is no longer referenced by
any other statement, if the statement is a CONTINUE  it is removed from the
source code. Bugzilla link https://bugs.eclipse.org/314591 


The next list describe those refactoring that I'm trying to implement:

	-Change to Fixed-Form to Free-Form refactoring:this refactoring changes
the source code in fixed form to free form, it is working I have to make the
tests, it will be submitted soon to bugzilla. It is just one way fixed to free

	-Change to vector form refactoring : this refactoring transform a loop
in a vector notation if it is possible. State:in progress  

	-Replace Character * with Character (len=): this refactoring changes
character * declaration with character(len=). State : in progress



Mariano Mendez 
UNLP
Buenos Aires 
Argentina 
	

Attachment: ReplaceOldStyleDoLoopRefactoring.JPG
Description: JPEG image

Attachment: RemoveUnreferencedLabels2.JPG
Description: JPEG image


Back to the top