nit.git
10 years agonitcc: cleanup README (TODO use github Task List)
Jean Privat [Thu, 31 Oct 2013 22:33:28 +0000 (18:33 -0400)]
nitcc: cleanup README (TODO use github Task List)

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add test/ignored
Jean Privat [Thu, 31 Oct 2013 16:32:53 +0000 (12:32 -0400)]
nitcc: add test/ignored

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: allows elem_list in Ignored
Jean Privat [Thu, 31 Oct 2013 16:32:23 +0000 (12:32 -0400)]
nitcc: allows elem_list in Ignored

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: avoid conflict in ignored for test/empty
Jean Privat [Thu, 31 Oct 2013 20:40:26 +0000 (16:40 -0400)]
nitcc: avoid conflict in ignored for test/empty

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Token::build_nfa to isolate concerns
Jean Privat [Thu, 31 Oct 2013 16:27:53 +0000 (12:27 -0400)]
nitcc: add Token::build_nfa to isolate concerns

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: classes and elements allow any forms of text
Jean Privat [Thu, 31 Oct 2013 15:12:45 +0000 (11:12 -0400)]
nitcc: classes and elements allow any forms of text

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Empty keyword
Jean Privat [Thu, 31 Oct 2013 14:27:17 +0000 (10:27 -0400)]
nitcc: add Empty keyword

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add test/conflict-bracket and test/conflitc-dangling
Jean Privat [Thu, 31 Oct 2013 03:08:56 +0000 (23:08 -0400)]
nitcc: add test/conflict-bracket and test/conflitc-dangling

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: improve auto-dangling
Jean Privat [Thu, 31 Oct 2013 03:07:37 +0000 (23:07 -0400)]
nitcc: improve auto-dangling

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: improve displaying of firsts/afters/lookahead
Jean Privat [Thu, 31 Oct 2013 03:06:34 +0000 (23:06 -0400)]
nitcc: improve displaying of firsts/afters/lookahead

since thez are now Items, not Tokens

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add test/priority.input1
Jean Privat [Wed, 30 Oct 2013 20:17:20 +0000 (16:17 -0400)]
nitcc: add test/priority.input1

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add automatic Dangling
Jean Privat [Wed, 30 Oct 2013 20:12:35 +0000 (16:12 -0400)]
nitcc: add automatic Dangling

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: store item instead of tokens in lookahead
Jean Privat [Wed, 30 Oct 2013 16:10:16 +0000 (12:10 -0400)]
nitcc: store item instead of tokens in lookahead

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: Automaton::to_dot does not display the objectid
Jean Privat [Wed, 30 Oct 2013 14:02:44 +0000 (10:02 -0400)]
nitcc: Automaton::to_dot does not display the objectid

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: solve inclusion before outputting the DFA
Jean Privat [Wed, 30 Oct 2013 14:02:04 +0000 (10:02 -0400)]
nitcc: solve inclusion before outputting the DFA

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: remove forgotten debugging print
Jean Privat [Wed, 30 Oct 2013 13:53:00 +0000 (09:53 -0400)]
nitcc: remove forgotten debugging print

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: remove buggy LALR, use SLR instead
Jean Privat [Wed, 30 Oct 2013 13:50:11 +0000 (09:50 -0400)]
nitcc: remove buggy LALR, use SLR instead

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add new PoV Node::depth
Jean Privat [Wed, 30 Oct 2013 03:39:53 +0000 (23:39 -0400)]
nitcc: add new PoV Node::depth

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: merge Nodes#items and Node#children
Jean Privat [Wed, 30 Oct 2013 03:09:18 +0000 (23:09 -0400)]
nitcc: merge Nodes#items and Node#children

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add tests/lexer-aaa
Jean Privat [Wed, 30 Oct 2013 02:59:58 +0000 (22:59 -0400)]
nitcc: add tests/lexer-aaa

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Automaton::reverse
Jean Privat [Wed, 30 Oct 2013 02:55:08 +0000 (22:55 -0400)]
nitcc: add Automaton::reverse

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: uptate tests wrt DFA minimization
Jean Privat [Wed, 30 Oct 2013 02:54:47 +0000 (22:54 -0400)]
nitcc: uptate tests wrt DFA minimization

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: minimize DFA
Jean Privat [Wed, 30 Oct 2013 02:54:12 +0000 (22:54 -0400)]
nitcc: minimize DFA

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: efficient intervals in nfa/dfa
Jean Privat [Tue, 29 Oct 2013 04:07:58 +0000 (00:07 -0400)]
nitcc: efficient intervals in nfa/dfa

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: use 'Any' in minilang and json
Jean Privat [Tue, 29 Oct 2013 03:54:36 +0000 (23:54 -0400)]
nitcc: use 'Any' in minilang and json

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update tests for longest/shortest
Jean Privat [Thu, 24 Oct 2013 21:40:29 +0000 (17:40 -0400)]
nitcc: update tests for longest/shortest

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Shortest/Longest
Jean Privat [Thu, 24 Oct 2013 21:33:46 +0000 (17:33 -0400)]
nitcc: add Shortest/Longest

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: Automaton::to_dot include tag names even in non accept states
Jean Privat [Thu, 24 Oct 2013 21:27:48 +0000 (17:27 -0400)]
nitcc: Automaton::to_dot include tag names even in non accept states

This is mainly for debug

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: reject tokens that match nothing
Jean Privat [Thu, 24 Oct 2013 21:26:35 +0000 (17:26 -0400)]
nitcc: reject tokens that match nothing

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: remove And/Except hack on nicc_parser_gen
Jean Privat [Thu, 24 Oct 2013 20:08:11 +0000 (16:08 -0400)]
nitcc: remove And/Except hack on nicc_parser_gen

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update README with Except and And
Jean Privat [Thu, 24 Oct 2013 19:35:10 +0000 (15:35 -0400)]
nitcc: update README with Except and And

10 years agonitcc: update tests for And and Except
Jean Privat [Thu, 24 Oct 2013 19:25:57 +0000 (15:25 -0400)]
nitcc: update tests for And and Except

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add And and Except
Jean Privat [Thu, 24 Oct 2013 19:25:01 +0000 (15:25 -0400)]
nitcc: add And and Except

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Automaton::clear_tag
Jean Privat [Thu, 24 Oct 2013 19:21:28 +0000 (15:21 -0400)]
nitcc: add Automaton::clear_tag

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: fix visibility of Nelem::set_elem
Jean Privat [Thu, 24 Oct 2013 19:20:22 +0000 (15:20 -0400)]
nitcc: fix visibility of Nelem::set_elem

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: fix print with nullable
Jean Privat [Thu, 24 Oct 2013 19:20:00 +0000 (15:20 -0400)]
nitcc: fix print with nullable

Error messages require a better approach.

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Automation::tag_acept and Automaton::absorb
Jean Privat [Thu, 24 Oct 2013 19:18:55 +0000 (15:18 -0400)]
nitcc: add Automation::tag_acept and Automaton::absorb

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: Makefile add nitcc.sablecc in some rule arguments
Jean Privat [Thu, 24 Oct 2013 19:17:45 +0000 (15:17 -0400)]
nitcc: Makefile add nitcc.sablecc in some rule arguments

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: generate the dfa.dot file before complaining about buggy tokens
Jean Privat [Thu, 24 Oct 2013 14:53:09 +0000 (10:53 -0400)]
nitcc: generate the dfa.dot file before complaining about buggy tokens

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: alttrans need no id
Jean Privat [Tue, 22 Oct 2013 00:45:11 +0000 (20:45 -0400)]
nitcc: alttrans need no id

will add better transformations later (maybe)

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: error on duplicated alternative name
Jean Privat [Tue, 22 Oct 2013 00:37:15 +0000 (20:37 -0400)]
nitcc: error on duplicated alternative name

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: error on duplicated element name
Jean Privat [Tue, 22 Oct 2013 00:32:21 +0000 (20:32 -0400)]
nitcc: error on duplicated element name

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: error on duplicated expr/prod name
Jean Privat [Tue, 22 Oct 2013 00:31:27 +0000 (20:31 -0400)]
nitcc: error on duplicated expr/prod name

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: error if a token is rejected twice
Jean Privat [Fri, 18 Oct 2013 21:42:45 +0000 (17:42 -0400)]
nitcc: error if a token is rejected twice

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update README wrt Rejected
Jean Privat [Fri, 18 Oct 2013 21:16:45 +0000 (17:16 -0400)]
nitcc: update README wrt Rejected

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: reject unknown keywords
Jean Privat [Fri, 18 Oct 2013 19:12:38 +0000 (15:12 -0400)]
nitcc: reject unknown keywords

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add tests for rejected tokens
Jean Privat [Fri, 18 Oct 2013 19:10:13 +0000 (15:10 -0400)]
nitcc: add tests for rejected tokens

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Rejected tokens
Jean Privat [Fri, 18 Oct 2013 19:09:03 +0000 (15:09 -0400)]
nitcc: add Rejected tokens

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: show the text of the token in NParserError.message
Jean Privat [Fri, 18 Oct 2013 19:37:16 +0000 (15:37 -0400)]
nitcc: show the text of the token in NParserError.message

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: parser adds the original error token in the node_stack
Jean Privat [Fri, 18 Oct 2013 17:27:56 +0000 (13:27 -0400)]
nitcc: parser adds the original error token in the node_stack

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: lexer do not crash on empty input stream
Jean Privat [Fri, 18 Oct 2013 17:14:03 +0000 (13:14 -0400)]
nitcc: lexer do not crash on empty input stream

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update tests with new syntax errors
Jean Privat [Fri, 18 Oct 2013 02:52:52 +0000 (22:52 -0400)]
nitcc: update tests with new syntax errors

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: remove 'print' in parser error
Jean Privat [Fri, 18 Oct 2013 02:51:36 +0000 (22:51 -0400)]
nitcc: remove 'print' in parser error

Information is available in the NError
object.

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: better name of generated classes to avoid name conflicts
Jean Privat [Fri, 18 Oct 2013 02:09:29 +0000 (22:09 -0400)]
nitcc: better name of generated classes to avoid name conflicts

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: improve error messages
Jean Privat [Fri, 18 Oct 2013 01:31:09 +0000 (21:31 -0400)]
nitcc: improve error messages

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update README
Jean Privat [Fri, 18 Oct 2013 01:05:34 +0000 (21:05 -0400)]
nitcc: update README

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update .gitignore
Jean Privat [Fri, 18 Oct 2013 01:01:27 +0000 (21:01 -0400)]
nitcc: update .gitignore

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: move sources to a src/ subdirectory
Jean Privat [Fri, 18 Oct 2013 01:00:41 +0000 (21:00 -0400)]
nitcc: move sources to a src/ subdirectory

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: Makefile gets a `tests` rule
Jean Privat [Fri, 18 Oct 2013 00:40:24 +0000 (20:40 -0400)]
nitcc: Makefile gets a `tests` rule

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: rename t/ to tests/
Jean Privat [Fri, 18 Oct 2013 00:39:46 +0000 (20:39 -0400)]
nitcc: rename t/ to tests/

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: fix Makefile to compile examples
Jean Privat [Fri, 18 Oct 2013 00:36:57 +0000 (20:36 -0400)]
nitcc: fix Makefile to compile examples

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add t/json.input1
Jean Privat [Thu, 17 Oct 2013 17:20:42 +0000 (13:20 -0400)]
nitcc: add t/json.input1

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: fix 'number' in json.sablecc
Jean Privat [Thu, 17 Oct 2013 17:20:16 +0000 (13:20 -0400)]
nitcc: fix 'number' in json.sablecc

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add inputs for more tests
Jean Privat [Thu, 17 Oct 2013 17:13:26 +0000 (13:13 -0400)]
nitcc: add inputs for more tests

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: remove superfluous -I in Makefile and t
Jean Privat [Thu, 17 Oct 2013 16:19:49 +0000 (12:19 -0400)]
nitcc: remove superfluous -I in Makefile and t

Because nitcc_runtime is in lib/

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: move nitcc_runtime to lib/
Jean Privat [Thu, 17 Oct 2013 16:18:51 +0000 (12:18 -0400)]
nitcc: move nitcc_runtime to lib/

The point of the runtime library is to be accessible by programs.

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add README
Jean Privat [Thu, 17 Oct 2013 16:10:47 +0000 (12:10 -0400)]
nitcc: add README

10 years agonitcc: update .gitignore
Jean Privat [Thu, 17 Oct 2013 16:06:35 +0000 (12:06 -0400)]
nitcc: update .gitignore

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add minilang in Makefile
Jean Privat [Thu, 17 Oct 2013 16:06:05 +0000 (12:06 -0400)]
nitcc: add minilang in Makefile

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add a Makefile
Jean Privat [Thu, 17 Oct 2013 16:02:05 +0000 (12:02 -0400)]
nitcc: add a Makefile

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: introduce nitcc
Jean Privat [Wed, 16 Oct 2013 04:44:59 +0000 (00:44 -0400)]
nitcc: introduce nitcc

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agotest: add test_set.nit
Jean Privat [Wed, 16 Oct 2013 04:17:42 +0000 (00:17 -0400)]
test: add test_set.nit

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agolib: redef Set#==
Jean Privat [Wed, 16 Oct 2013 04:16:31 +0000 (00:16 -0400)]
lib: redef Set#==

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitc: remove has_all from partialorder
Jean Privat [Wed, 16 Oct 2013 04:53:04 +0000 (00:53 -0400)]
nitc: remove has_all from partialorder

10 years agolib: add Collection::has_all
Jean Privat [Wed, 16 Oct 2013 00:51:33 +0000 (20:51 -0400)]
lib: add Collection::has_all

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agolib: add String::escape_more_to_c
Jean Privat [Wed, 16 Oct 2013 01:20:24 +0000 (21:20 -0400)]
lib: add String::escape_more_to_c

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agomove unescape_nit to stdlib
Jean Privat [Thu, 26 Sep 2013 02:32:57 +0000 (22:32 -0400)]
move unescape_nit to stdlib

10 years agosqlite: use include <>, not include ""
Jean Privat [Wed, 9 Oct 2013 19:18:42 +0000 (15:18 -0400)]
sqlite: use include <>, not include ""

10 years agonitgg: generate filenames with less potential conflicts
Jean Privat [Wed, 9 Oct 2013 19:18:26 +0000 (15:18 -0400)]
nitgg: generate filenames with less potential conflicts

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agotests: add base_super_linext2 for super-call on inherited method
Lucas Bajolet [Wed, 9 Oct 2013 00:55:35 +0000 (20:55 -0400)]
tests: add base_super_linext2 for super-call on inherited method

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitc: fix super-call on inherited method
Jean Privat [Wed, 9 Oct 2013 00:52:39 +0000 (20:52 -0400)]
nitc: fix super-call on inherited method

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agocontrib: added wiringPi wrapper
Alexandre Terrasa [Sun, 29 Sep 2013 04:35:20 +0000 (00:35 -0400)]
contrib: added wiringPi wrapper

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agolib: fixed bad mallocs in socket
Alexandre Terrasa [Sun, 29 Sep 2013 03:10:48 +0000 (23:10 -0400)]
lib: fixed bad mallocs in socket

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitg/niti: Fixed cast problem when using object_id on Bool and Char classes, added...
Lucas Bajolet [Fri, 20 Sep 2013 14:18:36 +0000 (10:18 -0400)]
nitg/niti: Fixed cast problem when using object_id on Bool and Char classes, added unit test

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agoNitg: Fixed bug introduced in previous patch when removing the String constructors
Lucas Bajolet [Thu, 19 Sep 2013 20:48:37 +0000 (16:48 -0400)]
Nitg: Fixed bug introduced in previous patch when removing the String constructors

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

10 years agoMerge remote-tracking branch 'alexandre/mmnitdoc'
Jean Privat [Thu, 12 Sep 2013 21:54:30 +0000 (17:54 -0400)]
Merge remote-tracking branch 'alexandre/mmnitdoc'

10 years agoni_nitdoc: fixed <li> tags style in formatted comments
Alexandre Terrasa [Thu, 12 Sep 2013 21:30:17 +0000 (17:30 -0400)]
ni_nitdoc: fixed <li> tags style in formatted comments

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agoni_nitdoc: Use Sorensen-Dice coefficient to sort QuickSearch results
Alexandre Terrasa [Thu, 12 Sep 2013 19:26:16 +0000 (15:26 -0400)]
ni_nitdoc: Use Sorensen-Dice coefficient to sort QuickSearch results

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agoni_nitdoc: moved QuickSearch js to it's own file
Alexandre Terrasa [Thu, 12 Sep 2013 05:26:20 +0000 (01:26 -0400)]
ni_nitdoc: moved QuickSearch js to it's own file

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agoni_nitdoc: full screen display and better scrolling
Alexandre Terrasa [Wed, 11 Sep 2013 19:51:20 +0000 (15:51 -0400)]
ni_nitdoc: full screen display and better scrolling

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agotests: add sav/ for mixim-modules on nitg-s
Jean Privat [Wed, 11 Sep 2013 12:50:55 +0000 (08:50 -0400)]
tests: add sav/ for mixim-modules on nitg-s

Now that the super in nitg-s is polymorph.

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agoMerge remote-tracking branch 'alexandre/supercalls'
Jean Privat [Tue, 10 Sep 2013 17:50:53 +0000 (13:50 -0400)]
Merge remote-tracking branch 'alexandre/supercalls'

10 years agoni_nitdoc: removed top levels properties from property column
Alexandre Terrasa [Tue, 10 Sep 2013 15:58:48 +0000 (11:58 -0400)]
ni_nitdoc: removed top levels properties from property column

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitg: Implemented polymorphic super calls for nitg-s and nitg-e
Alexandre Terrasa [Tue, 10 Sep 2013 14:45:00 +0000 (10:45 -0400)]
nitg: Implemented polymorphic super calls for nitg-s and nitg-e

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agoMerge remote-tracking branch 'alexandre/NIT_DIR'
Jean Privat [Mon, 9 Sep 2013 20:29:01 +0000 (16:29 -0400)]
Merge remote-tracking branch 'alexandre/NIT_DIR'

10 years agonitg: fixed conflicting module error when env var NIT_DIR is specified and compiling...
Alexandre Terrasa [Mon, 9 Sep 2013 17:52:53 +0000 (13:52 -0400)]
nitg: fixed conflicting module error when env var NIT_DIR is specified and compiling in /bin

Fixes issue #68:

NIT_DIR env var creates module conflicts when compiling in /nit dir

With NIT_DIR env var setted to /home/ME/nit/, when I compile from /nit/bin like:
    nitg something.nit
I get a compile error saying that there is a module conflict between /home/ME/nit/lib/module1.nit and ../lib/module1.nit.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agoropes: do not use String.with_native
Jean Privat [Mon, 9 Sep 2013 14:51:16 +0000 (10:51 -0400)]
ropes: do not use String.with_native

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agoMerge remote-tracking branch 'lucas/ropes'
Jean Privat [Mon, 9 Sep 2013 17:09:51 +0000 (13:09 -0400)]
Merge remote-tracking branch 'lucas/ropes'

Conflicts:
lib/standard/standard.nit

10 years agoMerge remote-tracking branch 'lucas/variadic_fix'
Jean Privat [Mon, 9 Sep 2013 17:09:14 +0000 (13:09 -0400)]
Merge remote-tracking branch 'lucas/variadic_fix'

10 years agoengines: Unit test for super on varadic functions
Lucas Bajolet [Wed, 4 Sep 2013 15:31:16 +0000 (11:31 -0400)]
engines: Unit test for super on varadic functions

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>