Jelajahi Sumber

Renamed "depth analysis" to the more accurate "index analysis"

Taddeus Kroes 12 tahun lalu
induk
melakukan
d184138ad0
4 mengubah file dengan 3 tambahan dan 4 penghapusan
  1. 1 1
      Makefile
  2. 0 1
      README.md
  3. 2 2
      main.ml
  4. 0 0
      phases/index_analysis.ml

+ 1 - 1
Makefile

@@ -1,6 +1,6 @@
 RESULT := civicc
 RESULT := civicc
 PHASES := load parse print desug context_analysis expand_dims typecheck \
 PHASES := load parse print desug context_analysis expand_dims typecheck \
-	dim_reduce bool_op extern_vars constant_propagation depth_analysis assemble \
+	dim_reduce bool_op extern_vars constant_propagation index_analysis assemble \
 	peephole output
 	peephole output
 SOURCES := types.ml stringify.mli stringify.ml util.mli util.ml lexer.mll \
 SOURCES := types.ml stringify.mli stringify.ml util.mli util.ml lexer.mll \
 	parser.mly $(patsubst %,phases/%.ml,$(PHASES)) main.ml
 	parser.mly $(patsubst %,phases/%.ml,$(PHASES)) main.ml

+ 0 - 1
README.md

@@ -9,4 +9,3 @@ Issues & TODO
 
 
 - Keep file content in buffer to prevent error messages from crashing when
 - Keep file content in buffer to prevent error messages from crashing when
   reading from stdin.
   reading from stdin.
-- "depth analysis" -> "index analysis"

+ 2 - 2
main.ml

@@ -16,7 +16,7 @@ let compile () =
         Parse.phase;
         Parse.phase;
         (*Print.phase;*)
         (*Print.phase;*)
         Desug.phase;
         Desug.phase;
-        (*Print.phase;*)
+        Print.phase;
         Context_analysis.phase;
         Context_analysis.phase;
         (*Print.phase;*)
         (*Print.phase;*)
         Typecheck.phase;
         Typecheck.phase;
@@ -31,7 +31,7 @@ let compile () =
         (*Print.phase;*)
         (*Print.phase;*)
         Constant_propagation.phase;
         Constant_propagation.phase;
         Print.phase;
         Print.phase;
-        Depth_analysis.phase;
+        Index_analysis.phase;
         Print.phase;
         Print.phase;
         Assemble.phase;
         Assemble.phase;
         Print.phase;
         Print.phase;

+ 0 - 0
phases/depth_analysis.ml → phases/index_analysis.ml