Merge zeta.labunix.uqam.ca:prog/nit/zeta-wip into tools
authorJean Privat <jean@pryen.org>
Thu, 5 Jan 2012 01:40:21 +0000 (20:40 -0500)
committerJean Privat <jean@pryen.org>
Thu, 5 Jan 2012 01:40:21 +0000 (20:40 -0500)
Makefile
lib/opts.nit
lib/standard/environ.nit
lib/standard/time.nit
src/icode/icode.nit
src/icode/icode_tools.nit
src/mmloader.nit

index fa95668..d96989b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,14 +23,14 @@ bin/nitc: c_src/nitc src/parser/parser.nit
        @echo '* Compile nitc from NIT source files                          *'
        @echo '***************************************************************'
        src/git-gen-version.sh
-       c_src/nitc ${NITCOPT} --clibdir c_src/clib -o bin/nitc -O -v src/nitc.nit
+       cd src; ../c_src/nitc ${NITCOPT} --clibdir ../c_src/clib -o ../bin/nitc -O -v nitc.nit
 
 bin/nitdoc: bin/nitc
        @echo '***************************************************************'
        @echo '* Compile nitdoc from NIT source files                        *'
        @echo '***************************************************************'
        src/git-gen-version.sh
-       bin/nitc ${NITCOPT} -o bin/nitdoc -O -v src/nitdoc.nit
+       cd src; ../bin/nitc ${NITCOPT} -o ../bin/nitdoc -O -v nitdoc.nit
 
 doc/stdlib/index.html: bin/nitdoc
        @echo '***************************************************************'
index 59391cd..1d085b8 100644 (file)
@@ -11,6 +11,9 @@
 # You  are  allowed  to  redistribute it and sell it, alone or is a part of
 # another product.
 
+# Manage options on the command line
+module opts
+
 # Super class of all option's class
 class Option
        # Names for the option (including long and short ones)
index 80afabe..9c584de 100644 (file)
@@ -11,6 +11,7 @@
 # You  are  allowed  to  redistribute it and sell it, alone or is a part of
 # another product.
 
+# Acces of the environement variables of the process
 import symbol
 
 # TODO prevoir une structure pour recup tout un environ, le modifier et le passer a process
index a1f3424..195157f 100644 (file)
@@ -10,6 +10,7 @@
 # You  are  allowed  to  redistribute it and sell it, alone or is a part of
 # another product.
 
+# Manage time and dates
 package time
 
 import kernel
index ec6ddbf..0c6fcce 100644 (file)
@@ -15,6 +15,7 @@
 # limitations under the License.
 
 # Nit intermediate code representation
+module icode
 import icode_base
 import icode_tools
 import icode_builder
index cfe1992..1071959 100644 (file)
@@ -15,6 +15,7 @@
 # limitations under the License.
 
 # Tools to manipulate intermediace nit code representation
+module icode_tools
 import icode_builder
 
 # A simple visitor to visit icode structures
index 919099f..9d28ff2 100644 (file)
@@ -69,7 +69,6 @@ class Message
                        while line_end+1 < string.length and string[line_end+1] != '\n' and string[line_end+1] != '\r' do
                                line_end += 1
                        end
-                       print "{i-1}: {line_start} && {line_end}"
                        var lstart = string.substring(line_start, location.column_start - 1)
                        var cend
                        if i != location.line_end then