nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
01d4f71
)
src: create groups for related things
author
Jean Privat
<jean@pryen.org>
Tue, 2 Sep 2014 16:09:19 +0000
(12:09 -0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 3 Sep 2014 17:07:20 +0000
(13:07 -0400)
File are moved, some minimal change in importations
* modelize
* semantize
* frontend
* compiler
* interpreter
Signed-off-by: Jean Privat <jean@pryen.org>
34 files changed:
src/astbuilder.nit
patch
|
blob
|
history
src/compiler/abstract_compiler.nit
[moved from
src/abstract_compiler.nit
with 100% similarity]
patch
|
blob
|
history
src/compiler/android_annotations.nit
[moved from
src/android_annotations.nit
with 100% similarity]
patch
|
blob
|
history
src/compiler/android_platform.nit
[moved from
src/android_platform.nit
with 100% similarity]
patch
|
blob
|
history
src/compiler/coloring.nit
[moved from
src/coloring.nit
with 100% similarity]
patch
|
blob
|
history
src/compiler/compiler.nit
[moved from
src/compiler.nit
with 100% similarity]
patch
|
blob
|
history
src/compiler/compiler_ffi.nit
[moved from
src/compiler_ffi.nit
with 100% similarity]
patch
|
blob
|
history
src/compiler/emscripten_platform.nit
[moved from
src/emscripten_platform.nit
with 100% similarity]
patch
|
blob
|
history
src/compiler/global_compiler.nit
[moved from
src/global_compiler.nit
with 100% similarity]
patch
|
blob
|
history
src/compiler/pnacl_platform.nit
[moved from
src/pnacl_platform.nit
with 100% similarity]
patch
|
blob
|
history
src/compiler/separate_compiler.nit
[moved from
src/separate_compiler.nit
with 100% similarity]
patch
|
blob
|
history
src/compiler/separate_erasure_compiler.nit
[moved from
src/separate_erasure_compiler.nit
with 100% similarity]
patch
|
blob
|
history
src/frontend/cached.nit
[moved from
src/cached.nit
with 100% similarity]
patch
|
blob
|
history
src/frontend/check_annotation.nit
[moved from
src/check_annotation.nit
with 100% similarity]
patch
|
blob
|
history
src/frontend/div_by_zero.nit
[moved from
src/div_by_zero.nit
with 100% similarity]
patch
|
blob
|
history
src/frontend/frontend.nit
[moved from
src/frontend.nit
with 100% similarity]
patch
|
blob
|
history
src/frontend/serialization_phase.nit
[moved from
src/serialization_phase.nit
with 100% similarity]
patch
|
blob
|
history
src/frontend/simple_misc_analysis.nit
[moved from
src/simple_misc_analysis.nit
with 100% similarity]
patch
|
blob
|
history
src/interpreter/breakpoint.nit
[moved from
src/breakpoint.nit
with 100% similarity]
patch
|
blob
|
history
src/interpreter/debugger.nit
[moved from
src/debugger.nit
with 99% similarity]
patch
|
blob
|
history
src/interpreter/debugger_socket.nit
[moved from
src/debugger_socket.nit
with 100% similarity]
patch
|
blob
|
history
src/interpreter/interpreter.nit
[moved from
src/interpreter.nit
with 100% similarity]
patch
|
blob
|
history
src/interpreter/naive_interpreter.nit
[moved from
src/naive_interpreter.nit
with 100% similarity]
patch
|
blob
|
history
src/modelize/modelize.nit
[moved from
src/modelize.nit
with 100% similarity]
patch
|
blob
|
history
src/modelize/modelize_class.nit
[moved from
src/modelize_class.nit
with 100% similarity]
patch
|
blob
|
history
src/modelize/modelize_property.nit
[moved from
src/modelize_property.nit
with 100% similarity]
patch
|
blob
|
history
src/nith.nit
patch
|
blob
|
history
src/semantize/auto_super_init.nit
[moved from
src/auto_super_init.nit
with 100% similarity]
patch
|
blob
|
history
src/semantize/flow.nit
[moved from
src/flow.nit
with 100% similarity]
patch
|
blob
|
history
src/semantize/local_var_init.nit
[moved from
src/local_var_init.nit
with 100% similarity]
patch
|
blob
|
history
src/semantize/scope.nit
[moved from
src/scope.nit
with 100% similarity]
patch
|
blob
|
history
src/semantize/semantize.nit
[moved from
src/semantize.nit
with 100% similarity]
patch
|
blob
|
history
src/semantize/typing.nit
[moved from
src/typing.nit
with 100% similarity]
patch
|
blob
|
history
src/vm.nit
patch
|
blob
|
history
diff --git
a/src/astbuilder.nit
b/src/astbuilder.nit
index
3b5aceb
..
8e17b4e
100644
(file)
--- a/
src/astbuilder.nit
+++ b/
src/astbuilder.nit
@@
-15,10
+15,10
@@
# Instantiation and transformation of semantic nodes in the AST of expressions and statements
module astbuilder
# Instantiation and transformation of semantic nodes in the AST of expressions and statements
module astbuilder
-intrude import typing
-intrude import literal
-intrude import parser
-intrude import scope
+intrude import semantize::typing
+intrude import semantize::literal
+intrude import semantize::parser
+intrude import semantize::scope
# General factory to build semantic nodes in the AST of expressions
class ASTBuilder
# General factory to build semantic nodes in the AST of expressions
class ASTBuilder
diff --git
a/src/abstract_compiler.nit
b/src/compiler/abstract_compiler.nit
similarity index 100%
rename from
src/abstract_compiler.nit
rename to
src/compiler/abstract_compiler.nit
diff --git
a/src/android_annotations.nit
b/src/compiler/android_annotations.nit
similarity index 100%
rename from
src/android_annotations.nit
rename to
src/compiler/android_annotations.nit
diff --git
a/src/android_platform.nit
b/src/compiler/android_platform.nit
similarity index 100%
rename from
src/android_platform.nit
rename to
src/compiler/android_platform.nit
diff --git
a/src/coloring.nit
b/src/compiler/coloring.nit
similarity index 100%
rename from
src/coloring.nit
rename to
src/compiler/coloring.nit
diff --git
a/src/compiler.nit
b/src/compiler/compiler.nit
similarity index 100%
rename from
src/compiler.nit
rename to
src/compiler/compiler.nit
diff --git
a/src/compiler_ffi.nit
b/src/compiler/compiler_ffi.nit
similarity index 100%
rename from
src/compiler_ffi.nit
rename to
src/compiler/compiler_ffi.nit
diff --git
a/src/emscripten_platform.nit
b/src/compiler/emscripten_platform.nit
similarity index 100%
rename from
src/emscripten_platform.nit
rename to
src/compiler/emscripten_platform.nit
diff --git
a/src/global_compiler.nit
b/src/compiler/global_compiler.nit
similarity index 100%
rename from
src/global_compiler.nit
rename to
src/compiler/global_compiler.nit
diff --git
a/src/pnacl_platform.nit
b/src/compiler/pnacl_platform.nit
similarity index 100%
rename from
src/pnacl_platform.nit
rename to
src/compiler/pnacl_platform.nit
diff --git
a/src/separate_compiler.nit
b/src/compiler/separate_compiler.nit
similarity index 100%
rename from
src/separate_compiler.nit
rename to
src/compiler/separate_compiler.nit
diff --git
a/src/separate_erasure_compiler.nit
b/src/compiler/separate_erasure_compiler.nit
similarity index 100%
rename from
src/separate_erasure_compiler.nit
rename to
src/compiler/separate_erasure_compiler.nit
diff --git
a/src/cached.nit
b/src/frontend/cached.nit
similarity index 100%
rename from
src/cached.nit
rename to
src/frontend/cached.nit
diff --git
a/src/check_annotation.nit
b/src/frontend/check_annotation.nit
similarity index 100%
rename from
src/check_annotation.nit
rename to
src/frontend/check_annotation.nit
diff --git
a/src/div_by_zero.nit
b/src/frontend/div_by_zero.nit
similarity index 100%
rename from
src/div_by_zero.nit
rename to
src/frontend/div_by_zero.nit
diff --git
a/src/frontend.nit
b/src/frontend/frontend.nit
similarity index 100%
rename from
src/frontend.nit
rename to
src/frontend/frontend.nit
diff --git
a/src/serialization_phase.nit
b/src/frontend/serialization_phase.nit
similarity index 100%
rename from
src/serialization_phase.nit
rename to
src/frontend/serialization_phase.nit
diff --git
a/src/simple_misc_analysis.nit
b/src/frontend/simple_misc_analysis.nit
similarity index 100%
rename from
src/simple_misc_analysis.nit
rename to
src/frontend/simple_misc_analysis.nit
diff --git
a/src/breakpoint.nit
b/src/interpreter/breakpoint.nit
similarity index 100%
rename from
src/breakpoint.nit
rename to
src/interpreter/breakpoint.nit
diff --git
a/src/debugger.nit
b/src/interpreter/debugger.nit
similarity index 99%
rename from
src/debugger.nit
rename to
src/interpreter/debugger.nit
index
0f211e6
..
52444f7
100644
(file)
--- a/
src/debugger.nit
+++ b/
src/interpreter/debugger.nit
@@
-20,8
+20,8
@@
module debugger
import breakpoint
intrude import naive_interpreter
import nitx
import breakpoint
intrude import naive_interpreter
import nitx
-intrude import local_var_init
-intrude import scope
+intrude import semantize::local_var_init
+intrude import semantize::scope
intrude import toolcontext
private import parser_util
intrude import toolcontext
private import parser_util
diff --git
a/src/debugger_socket.nit
b/src/interpreter/debugger_socket.nit
similarity index 100%
rename from
src/debugger_socket.nit
rename to
src/interpreter/debugger_socket.nit
diff --git
a/src/interpreter.nit
b/src/interpreter/interpreter.nit
similarity index 100%
rename from
src/interpreter.nit
rename to
src/interpreter/interpreter.nit
diff --git
a/src/naive_interpreter.nit
b/src/interpreter/naive_interpreter.nit
similarity index 100%
rename from
src/naive_interpreter.nit
rename to
src/interpreter/naive_interpreter.nit
diff --git
a/src/modelize.nit
b/src/modelize/modelize.nit
similarity index 100%
rename from
src/modelize.nit
rename to
src/modelize/modelize.nit
diff --git
a/src/modelize_class.nit
b/src/modelize/modelize_class.nit
similarity index 100%
rename from
src/modelize_class.nit
rename to
src/modelize/modelize_class.nit
diff --git
a/src/modelize_property.nit
b/src/modelize/modelize_property.nit
similarity index 100%
rename from
src/modelize_property.nit
rename to
src/modelize/modelize_property.nit
diff --git
a/src/nith.nit
b/src/nith.nit
index
8a052ac
..
bf12e9d
100644
(file)
--- a/
src/nith.nit
+++ b/
src/nith.nit
@@
-21,7
+21,7
@@
import modelize
import transform
import rapid_type_analysis
import transform
import rapid_type_analysis
-import separate_erasure_compiler
+import compiler::separate_erasure_compiler
redef class ToolContext
redef fun process_options(args)
redef class ToolContext
redef fun process_options(args)
diff --git
a/src/auto_super_init.nit
b/src/semantize/auto_super_init.nit
similarity index 100%
rename from
src/auto_super_init.nit
rename to
src/semantize/auto_super_init.nit
diff --git
a/src/flow.nit
b/src/semantize/flow.nit
similarity index 100%
rename from
src/flow.nit
rename to
src/semantize/flow.nit
diff --git
a/src/local_var_init.nit
b/src/semantize/local_var_init.nit
similarity index 100%
rename from
src/local_var_init.nit
rename to
src/semantize/local_var_init.nit
diff --git
a/src/scope.nit
b/src/semantize/scope.nit
similarity index 100%
rename from
src/scope.nit
rename to
src/semantize/scope.nit
diff --git
a/src/semantize.nit
b/src/semantize/semantize.nit
similarity index 100%
rename from
src/semantize.nit
rename to
src/semantize/semantize.nit
diff --git
a/src/typing.nit
b/src/semantize/typing.nit
similarity index 100%
rename from
src/typing.nit
rename to
src/semantize/typing.nit
diff --git
a/src/vm.nit
b/src/vm.nit
index
754b8ec
..
7e87f8c
100644
(file)
--- a/
src/vm.nit
+++ b/
src/vm.nit
@@
-17,7
+17,7
@@
# Implementation of the Nit virtual machine
module vm
# Implementation of the Nit virtual machine
module vm
-intrude import naive_interpreter
+intrude import interpreter::naive_interpreter
import model_utils
import perfect_hashing
import model_utils
import perfect_hashing