Difference between revisions of "Reducing dependencies in ec"

 
m
Line 8: Line 8:
 
So please when changing some code in the compiler or in any component, please try to reduce dependencies, when we'll have a compiler.ecf this will be much easier to make sure no bad dependencies are introduced.
 
So please when changing some code in the compiler or in any component, please try to reduce dependencies, when we'll have a compiler.ecf this will be much easier to make sure no bad dependencies are introduced.
  
= the goal =
+
= Goal =
 
move out and break bad dependencies from cluster compiler and compiler_api
 
move out and break bad dependencies from cluster compiler and compiler_api
 
= Current issues =
 
= Current issues =
* '''profiler''', '''query''' and '''query_langage''' folders should be moved out of Eiffel/api
+
* '''profiler''', '''queries''' and '''query_language''' folders should be moved out of Eiffel/api
 
  we should create Eiffel/utilities for instance to welcome those 3 folders.
 
  we should create Eiffel/utilities for instance to welcome those 3 folders.
  
 
= to be continued =
 
= to be continued =

Revision as of 01:46, 3 November 2006


Overview

Actually the compiler and compiler_api cluster (Src/Eiffel/eiffel and Src/Eiffel/api) are full of unwanted dependencies on other component. What could be really useful is to break those dependencies to be able to have a compiler library (compiler.ecf for instance). Since this is a long task, we'll go step by step, listing the current issue and bad dependencies on other component (for instance compiler depends on graphical classes, or debugger classes which are fake in batch ec .. and this is no good).

So please when changing some code in the compiler or in any component, please try to reduce dependencies, when we'll have a compiler.ecf this will be much easier to make sure no bad dependencies are introduced.

Goal

move out and break bad dependencies from cluster compiler and compiler_api

Current issues

  • profiler, queries and query_language folders should be moved out of Eiffel/api
we should create Eiffel/utilities for instance to welcome those 3 folders.

to be continued