Closed andry-tino closed 7 years ago
So far a separation has been made:
Rosetta must be able to translate generic C# code and C# code which has been written specifically for ScriptSharp. Thus the separation must be:
In order to do that a new project must be introduced: ScriptSharp. Components need to be re-wired and tests need to be rewired as well.
ScriptSharp
Changes to do:
ScriptSharpDefinition
ScriptSharp.Definition
ScriptSharpDefinitionRunner
ScriptSharp.Definition.Runner
ScriptSharpDefinitionBuildTask
ScriptSharp.Definition.BuildTask
In tests:
ScriptSharpDefinition.ASTWalker.Renderings
ScriptSharp.Definition.ASTWalker.Renderings
ScriptSharpDefinition.ASTWalker.Renderings.Data
ScriptSharp.Definition.ASTWalker.Renderings.Data
ScriptSharpDefinition.ASTWalker.Factories.UnitTests
ScriptSharp.Definition.ASTWalker.Factories.UnitTests
ScriptSharpDefinition.ASTWalker.UnitTests
ScriptSharp.Definition.ASTWalker.UnitTests
ScriptSharpDefinition.BuildTask.Example
ScriptSharp.Definition.BuildTask.Example
Components to be rearranged:
ScriptNamespaceBasedASTTransformer
Rearrange tests accordingly to new structure in source.
Rearrangement is only at filesystem level in the file organization. Namespaces in files are fine.
This effort is preparatory for #29.
So far a separation has been made:
Rosetta must be able to translate generic C# code and C# code which has been written specifically for ScriptSharp. Thus the separation must be:
In order to do that a new project must be introduced:
ScriptSharp
. Components need to be re-wired and tests need to be rewired as well.Projects
Changes to do:
ScriptSharpDefinition
intoScriptSharp.Definition
ScriptSharpDefinitionRunner
intoScriptSharp.Definition.Runner
ScriptSharpDefinitionBuildTask
intoScriptSharp.Definition.BuildTask
ScriptSharp
In tests:
ScriptSharpDefinition.ASTWalker.Renderings
intoScriptSharp.Definition.ASTWalker.Renderings
ScriptSharpDefinition.ASTWalker.Renderings.Data
intoScriptSharp.Definition.ASTWalker.Renderings.Data
ScriptSharpDefinition.ASTWalker.Factories.UnitTests
intoScriptSharp.Definition.ASTWalker.Factories.UnitTests
ScriptSharpDefinition.ASTWalker.UnitTests
intoScriptSharp.Definition.ASTWalker.UnitTests
ScriptSharpDefinition.BuildTask.Example
intoScriptSharp.Definition.BuildTask.Example
Rearrangement
Components to be rearranged:
ScriptNamespaceBasedASTTransformer
intoScriptSharp
projectScriptSharpDefinition
intoScriptSharp
Rearrange tests accordingly to new structure in source.
Final notes
Rearrangement is only at filesystem level in the file organization. Namespaces in files are fine.