nit.git
10 years agolib/a_star: use heuristic (it is now A*)
Alexis Laferrière [Wed, 6 Nov 2013 20:20:51 +0000 (15:20 -0500)]
lib/a_star: use heuristic (it is now A*)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib/a_star: minor clean up
Alexis Laferrière [Sun, 3 Nov 2013 03:07:43 +0000 (23:07 -0400)]
lib/a_star: minor clean up

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib/a_star: adds a larger test
Alexis Laferrière [Sun, 3 Nov 2013 02:29:19 +0000 (22:29 -0400)]
lib/a_star: adds a larger test

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib/a_star: replace some class parameters with virtual types
Alexis Laferrière [Sun, 3 Nov 2013 02:28:49 +0000 (22:28 -0400)]
lib/a_star: replace some class parameters with virtual types

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib/a_star: renames virtual type E to N
Alexis Laferrière [Sat, 2 Nov 2013 20:36:40 +0000 (16:36 -0400)]
lib/a_star: renames virtual type E to N

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib: intro the a_star module (even though it is not yet A*)
Alexis Laferrière [Sat, 2 Nov 2013 16:57:31 +0000 (12:57 -0400)]
lib: intro the a_star module (even though it is not yet A*)

Still need to support the heuristic.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib: adds sqrt, sin and cos to Int
Alexis Laferrière [Sat, 2 Nov 2013 17:19:33 +0000 (13:19 -0400)]
lib: adds sqrt, sin and cos to Int

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib: intro the bucketed_game module, providing basic game logic
Alexis Laferrière [Sat, 2 Nov 2013 17:19:11 +0000 (13:19 -0400)]
lib: intro the bucketed_game module, providing basic game logic

Used by LoL and Nit forest simulator.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib/mnit: adds missing link with X11 lib
Alexis Laferrière [Sat, 2 Nov 2013 14:46:11 +0000 (10:46 -0400)]
lib/mnit: adds missing link with X11 lib

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agonitcc: remove the use of NaiveCollection v0.6.2
Jean Privat [Fri, 1 Nov 2013 00:19:25 +0000 (20:19 -0400)]
nitcc: remove the use of NaiveCollection

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

10 years agoMerge branch 'nitcc'
Jean Privat [Thu, 31 Oct 2013 22:37:14 +0000 (18:37 -0400)]
Merge branch 'nitcc'

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 agoMerge remote-tracking branch 'alexis/ready-for-ffi'
Jean Privat [Wed, 30 Oct 2013 18:57:56 +0000 (14:57 -0400)]
Merge remote-tracking branch 'alexis/ready-for-ffi'

10 years agomodel: all extern classes are subclasses of Pointer
Alexis Laferrière [Fri, 2 Aug 2013 16:23:37 +0000 (12:23 -0400)]
model: all extern classes are subclasses of Pointer

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agonitg: adds process_nclassdef to Phase
Alexis Laferrière [Sat, 31 Aug 2013 14:55:46 +0000 (10:55 -0400)]
nitg: adds process_nclassdef to Phase

Will be used by FFI's language visitors.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib: adds `from_a` constructor to all processes (and cleanup whitespaces)
Alexis Laferrière [Sat, 19 Oct 2013 14:01:21 +0000 (10:01 -0400)]
lib: adds `from_a` constructor to all processes (and cleanup whitespaces)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib: adds Pointer::address_is_null to kernel module
Alexis Laferrière [Thu, 13 Jun 2013 12:10:55 +0000 (08:10 -0400)]
lib: adds Pointer::address_is_null to kernel module

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agotests: adds a FFI test for casts
Alexis Laferrière [Wed, 31 Jul 2013 01:51:47 +0000 (21:51 -0400)]
tests: adds a FFI test for casts

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

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 agomisc/source-highlight: multiline-strings
Jean Privat [Tue, 29 Oct 2013 16:05:39 +0000 (12:05 -0400)]
misc/source-highlight: multiline-strings

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 agolib: detach ForAbuser from Collection
Jean Privat [Fri, 25 Oct 2013 14:48:13 +0000 (10:48 -0400)]
lib: detach ForAbuser from Collection

Since it is no more a requirement.

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 agoexamples: update curl_http to have a consistant behavior on tests
Jean Privat [Thu, 24 Oct 2013 15:59:22 +0000 (11:59 -0400)]
examples: update curl_http to have a consistant behavior on tests

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

10 years agolib: Implemented HeaderMapIterator on Curl
Alexandre Terrasa [Fri, 18 Oct 2013 19:04:35 +0000 (15:04 -0400)]
lib: Implemented HeaderMapIterator on Curl

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

10 years agonitg: Changed specification of 'for .. do' statements
Alexandre Terrasa [Fri, 18 Oct 2013 19:04:09 +0000 (15:04 -0400)]
nitg: Changed specification of 'for .. do' statements

Can now iterate over every type that provides an iterator method.

Method iterator must return an instance of Iterator[E] of MapIterator[K, E]

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.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 agotests: adds engine name to conclusion of tests
Alexis Laferrière [Wed, 7 Aug 2013 15:06:23 +0000 (11:06 -0400)]
tests: adds engine name to conclusion of tests

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

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 agotests: update tests with abort in kernel
Jean Privat [Wed, 16 Oct 2013 20:33:28 +0000 (16:33 -0400)]
tests: update tests with abort in kernel

to update the line numbers

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

10 years agotest: add test_seq
Jean Privat [Wed, 16 Oct 2013 18:39:51 +0000 (14:39 -0400)]
test: add test_seq

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

10 years agotests: test hash in test_seq
Jean Privat [Wed, 16 Oct 2013 18:37:31 +0000 (14:37 -0400)]
tests: test hash in test_seq

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

10 years agolib: redefine hash in Sequence and Set
Jean Privat [Wed, 16 Oct 2013 18:37:06 +0000 (14:37 -0400)]
lib: redefine hash in Sequence and Set

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

10 years agolib: remove the module hash, introduce services in kernel
Jean Privat [Wed, 16 Oct 2013 18:23:16 +0000 (14:23 -0400)]
lib: remove the module hash, introduce services in kernel

Because hash is strongly coupled with ==, and == is introduced in kernel,
having hash also introduced in kernel will help having a correct
implementation of hash when == is redefined

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

10 years agolib: promote AbstractArray#== to SequenceRead
Jean Privat [Wed, 16 Oct 2013 16:58:53 +0000 (12:58 -0400)]
lib: promote AbstractArray#== to SequenceRead

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

10 years agolib: doc of Collection
Jean Privat [Wed, 16 Oct 2013 16:53:47 +0000 (12:53 -0400)]
lib: doc of Collection

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