nit.git
10 years agotools: generate nit tools doc as `nitc`, not `newmodel`
Jean Privat [Thu, 16 Jan 2014 19:40:52 +0000 (14:40 -0500)]
tools: generate nit tools doc as `nitc`, not `newmodel`

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

10 years agoMerge branch 'killnitc' old branch renamed as 'oldnitc'
Jean Privat [Thu, 16 Jan 2014 18:47:48 +0000 (13:47 -0500)]
Merge branch 'killnitc' old branch renamed as 'oldnitc'

10 years agoMerge remote-tracking branch 'alexis/times' into killnitc
Jean Privat [Wed, 15 Jan 2014 18:46:03 +0000 (13:46 -0500)]
Merge remote-tracking branch 'alexis/times' into killnitc

10 years agoMerge remote-tracking branch 'alexis/vim-syntastic' into killnitc
Jean Privat [Wed, 15 Jan 2014 15:49:26 +0000 (10:49 -0500)]
Merge remote-tracking branch 'alexis/vim-syntastic' into killnitc

10 years agomisc: adds the option to specify the main nit module to syntastic
Alexis Laferrière [Mon, 13 Jan 2014 16:39:25 +0000 (11:39 -0500)]
misc: adds the option to specify the main nit module to syntastic

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

10 years agomisc: updates the vim syntastic config with correct style
Alexis Laferrière [Mon, 13 Jan 2014 16:38:28 +0000 (11:38 -0500)]
misc: updates the vim syntastic config with correct style

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

10 years agoupdate nitg requirements in README
Jean Privat [Tue, 7 Jan 2014 14:05:40 +0000 (09:05 -0500)]
update nitg requirements in README

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

10 years agonitcc/tests: add lexer-shortest.sablecc
Jean Privat [Fri, 29 Nov 2013 17:38:52 +0000 (12:38 -0500)]
nitcc/tests: add lexer-shortest.sablecc

Signed-off-by: Samuel Lambert <tweakedsam@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: end-of-stream does not equate `'\0'`
Jean Privat [Fri, 29 Nov 2013 14:32:04 +0000 (09:32 -0500)]
nitcc: end-of-stream does not equate `'\0'`

It was a basic WIP stuff that remained.
`Any` and other classes of character can legally accept `'\0'` thus looping
infinitely.

Reported-by: Samuel Lambert <tweakedsam@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>

10 years agoMerge branch 'killis' into killnitc
Jean Privat [Wed, 27 Nov 2013 15:24:09 +0000 (10:24 -0500)]
Merge branch 'killis' into killnitc

10 years agomkcsrc: fix copy of .h and .c files
Jean Privat [Wed, 27 Nov 2013 15:23:54 +0000 (10:23 -0500)]
mkcsrc: fix copy of .h and .c files

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

10 years agoc_src: update for kill is
Jean Privat [Wed, 27 Nov 2013 15:15:59 +0000 (10:15 -0500)]
c_src: update for kill is

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

10 years agoparser: update to remove `expr.ee`, aka `AEeExpr`, aka `is`
Jean Privat [Tue, 26 Nov 2013 21:09:04 +0000 (16:09 -0500)]
parser: update to remove `expr.ee`, aka `AEeExpr`, aka `is`

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

10 years agogrammar: remove `expr.ee`
Jean Privat [Tue, 26 Nov 2013 21:05:38 +0000 (16:05 -0500)]
grammar: remove `expr.ee`

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

10 years agosrc: remove handling of `is` (AEeExpr)
Jean Privat [Tue, 26 Nov 2013 20:59:34 +0000 (15:59 -0500)]
src: remove handling of `is` (AEeExpr)

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

10 years agolib: make `is_same_instance` intern
Jean Privat [Tue, 26 Nov 2013 20:58:47 +0000 (15:58 -0500)]
lib: make `is_same_instance` intern

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

10 years agotests: remove old sav/nitg-e/error_for_coll.res
Jean Privat [Wed, 27 Nov 2013 14:20:35 +0000 (09:20 -0500)]
tests: remove old sav/nitg-e/error_for_coll.res

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

10 years agotests: rewrite base_covar_int to not runtime-error in kernel.nit
Jean Privat [Wed, 27 Nov 2013 14:08:47 +0000 (09:08 -0500)]
tests: rewrite base_covar_int to not runtime-error in kernel.nit

thus having moving line numbers

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

10 years agotests: remove base_virtual_int that is redundant with base_covar_int
Jean Privat [Wed, 27 Nov 2013 14:07:17 +0000 (09:07 -0500)]
tests: remove base_virtual_int that is redundant with base_covar_int

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

10 years agotests: replace usage of `is` with `is_same_instance`
Jean Privat [Tue, 26 Nov 2013 20:37:47 +0000 (15:37 -0500)]
tests: replace usage of `is` with `is_same_instance`

also remove old `test_eq*.nit` tests

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

10 years agonitg&i: intern implementation of `is_same_instance`
Jean Privat [Tue, 26 Nov 2013 20:14:02 +0000 (15:14 -0500)]
nitg&i: intern implementation of `is_same_instance`

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

10 years agolib: add `Object::is_same_instance` that will replace `is`
Jean Privat [Tue, 26 Nov 2013 20:02:35 +0000 (15:02 -0500)]
lib: add `Object::is_same_instance` that will replace `is`

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

10 years agonitdoc: use `==` instead of `is`
Jean Privat [Tue, 26 Nov 2013 19:58:45 +0000 (14:58 -0500)]
nitdoc: use `==` instead of `is`

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

10 years agolib: remove useless usage of `is`
Jean Privat [Tue, 26 Nov 2013 19:58:18 +0000 (14:58 -0500)]
lib: remove useless usage of `is`

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

10 years agoMerge branch 'killclosures' into killnitc
Jean Privat [Tue, 26 Nov 2013 16:07:55 +0000 (11:07 -0500)]
Merge branch 'killclosures' into killnitc

Conflicts:
tests/sav/base_covar_int_alt1.res
tests/sav/base_covar_int_alt3.res

10 years agoa_star: remove find_closest because of clpsure
Jean Privat [Tue, 26 Nov 2013 16:05:07 +0000 (11:05 -0500)]
a_star: remove find_closest because of clpsure

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

10 years agoparser: remove last clorure-related classes
Jean Privat [Mon, 25 Nov 2013 20:05:36 +0000 (15:05 -0500)]
parser: remove last clorure-related classes

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

10 years agoparser: regenerate to remove more closures
Jean Privat [Mon, 25 Nov 2013 20:05:16 +0000 (15:05 -0500)]
parser: regenerate to remove more closures

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

10 years agotests: update some tests related to kernel line-numbering
Jean Privat [Mon, 18 Nov 2013 19:58:07 +0000 (14:58 -0500)]
tests: update some tests related to kernel line-numbering

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

10 years agotests: clean and update sav/nitg-e
Jean Privat [Tue, 26 Nov 2013 15:22:10 +0000 (10:22 -0500)]
tests: clean and update sav/nitg-e

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

10 years agotests: update to show types on runtime cast errors
Jean Privat [Tue, 26 Nov 2013 15:10:54 +0000 (10:10 -0500)]
tests: update to show types on runtime cast errors

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

10 years agoniti: runtime cast errors show types
Jean Privat [Tue, 26 Nov 2013 15:00:26 +0000 (10:00 -0500)]
niti: runtime cast errors show types

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

10 years agonitg: runtime cast error shows types
Jean Privat [Tue, 26 Nov 2013 15:00:11 +0000 (10:00 -0500)]
nitg: runtime cast error shows types

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

10 years agonitg: introduce A`CV::add_cast` to factorize cast checks
Jean Privat [Tue, 26 Nov 2013 14:20:44 +0000 (09:20 -0500)]
nitg: introduce A`CV::add_cast` to factorize cast checks

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

10 years agoruntime: inform the dynamic type of self on `Abstract method called`
Jean Privat [Tue, 26 Nov 2013 14:09:50 +0000 (09:09 -0500)]
runtime: inform the dynamic type of self on `Abstract method called`

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

10 years agonitg: add add_raw_abort to allow complex runtime error messages
Jean Privat [Tue, 26 Nov 2013 14:09:01 +0000 (09:09 -0500)]
nitg: add add_raw_abort to allow complex runtime error messages

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

10 years agomodelbuilder: fail on unknown redef class
Jean Privat [Tue, 26 Nov 2013 13:29:28 +0000 (08:29 -0500)]
modelbuilder: fail on unknown redef class

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

10 years agosrc: remove nc*
Jean Privat [Tue, 19 Nov 2013 02:49:49 +0000 (21:49 -0500)]
src: remove nc*

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

10 years agotests: error on unknown engine
Jean Privat [Tue, 19 Nov 2013 01:49:02 +0000 (20:49 -0500)]
tests: error on unknown engine

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

10 years agoparser: suppr closures
Jean Privat [Sat, 16 Nov 2013 17:16:29 +0000 (12:16 -0500)]
parser: suppr closures

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

10 years agosrc: remove closure in the model
Jean Privat [Sat, 16 Nov 2013 15:48:31 +0000 (10:48 -0500)]
src: remove closure in the model

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

10 years agotests: skip nitg for nitg-g (kill pratchett)
Jean Privat [Mon, 18 Nov 2013 20:21:45 +0000 (15:21 -0500)]
tests: skip nitg for nitg-g (kill pratchett)

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

10 years agoremove closures from code
Jean Privat [Sat, 16 Nov 2013 15:00:29 +0000 (10:00 -0500)]
remove closures from code

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

10 years agotests: remove some old tests results
Jean Privat [Mon, 18 Nov 2013 19:58:39 +0000 (14:58 -0500)]
tests: remove some old tests results

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

10 years agonitcc: tests use nitg (so `Nodes`->`Nodes[...]`
Jean Privat [Mon, 18 Nov 2013 14:45:01 +0000 (09:45 -0500)]
nitcc: tests use nitg (so `Nodes`->`Nodes[...]`

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

10 years agocleanup some remaining nitc
Jean Privat [Sat, 16 Nov 2013 14:49:05 +0000 (09:49 -0500)]
cleanup some remaining nitc

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

10 years agoprovide nitc as a wrapper to nitg
Jean Privat [Sat, 16 Nov 2013 14:45:38 +0000 (09:45 -0500)]
provide nitc as a wrapper to nitg

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

10 years agotests: remove old nitc
Jean Privat [Sat, 16 Nov 2013 14:29:10 +0000 (09:29 -0500)]
tests: remove old nitc

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

10 years agosrc: remove old metamodel and nitc
Jean Privat [Sat, 16 Nov 2013 14:21:38 +0000 (09:21 -0500)]
src: remove old metamodel and nitc

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

10 years agouse nitg to bootstrap; drop bootstrap of nitc
Jean Privat [Sat, 16 Nov 2013 14:04:51 +0000 (09:04 -0500)]
use nitg to bootstrap; drop bootstrap of nitc

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

10 years agomkcsrc: copy .c and .h file to avoid the break of the bootstrap
Jean Privat [Tue, 19 Nov 2013 01:14:31 +0000 (20:14 -0500)]
mkcsrc: copy .c and .h file to avoid the break of the bootstrap

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

10 years agolib: improves usage example of Int::times
Alexis Laferrière [Sat, 16 Nov 2013 17:31:49 +0000 (12:31 -0500)]
lib: improves usage example of Int::times

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

10 years agolib: move the `times` method to Int
Alexis Laferrière [Sat, 16 Nov 2013 17:29:55 +0000 (12:29 -0500)]
lib: move the `times` method to Int

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

10 years agoMerge remote-tracking branch 'lucas/nitx_integration'
Jean Privat [Thu, 14 Nov 2013 20:00:05 +0000 (15:00 -0500)]
Merge remote-tracking branch 'lucas/nitx_integration'

10 years agoMoved NitIndex redefintion from Debugger to Nitx
Lucas Bajolet [Thu, 14 Nov 2013 18:21:40 +0000 (13:21 -0500)]
Moved NitIndex redefintion from Debugger to Nitx

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

10 years agoMerge remote-tracking branch 'alexis/game_framework'
Jean Privat [Thu, 14 Nov 2013 12:02:26 +0000 (07:02 -0500)]
Merge remote-tracking branch 'alexis/game_framework'

10 years agotests: correct extension of test_a_star expected result
Alexis Laferrière [Thu, 14 Nov 2013 04:42:57 +0000 (23:42 -0500)]
tests: correct extension of test_a_star expected result

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

10 years agolib/a_star: adds doc to Link class
Alexis Laferrière [Thu, 14 Nov 2013 04:39:09 +0000 (23:39 -0500)]
lib/a_star: adds doc to Link class

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

10 years agolib/a_star: use asserts in module documentation
Alexis Laferrière [Thu, 14 Nov 2013 04:35:39 +0000 (23:35 -0500)]
lib/a_star: use asserts in module documentation

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

10 years agolib/bucketed_game: make the GameEvent an interface
Alexis Laferrière [Thu, 14 Nov 2013 04:33:06 +0000 (23:33 -0500)]
lib/bucketed_game: make the GameEvent an interface

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

10 years agoMerge remote-tracking branch 'lucas/nitx_integration'
Jean Privat [Thu, 14 Nov 2013 03:17:45 +0000 (22:17 -0500)]
Merge remote-tracking branch 'lucas/nitx_integration'

10 years agoMerge remote-tracking branch 'alexis/ready-for-ffi'
Jean Privat [Thu, 14 Nov 2013 03:17:36 +0000 (22:17 -0500)]
Merge remote-tracking branch 'alexis/ready-for-ffi'

10 years agolib/bucketed_game: add Apply logic to game events
Alexis Laferrière [Thu, 14 Nov 2013 00:55:32 +0000 (19:55 -0500)]
lib/bucketed_game: add Apply logic to game events

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

10 years agolib/bucketed_game: fix virtual type usage
Alexis Laferrière [Thu, 14 Nov 2013 00:53:23 +0000 (19:53 -0500)]
lib/bucketed_game: fix virtual type usage

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

10 years agoMerge branch 'privat' into game_framework
Alexis Laferrière [Thu, 14 Nov 2013 00:41:40 +0000 (19:41 -0500)]
Merge branch 'privat' into game_framework

10 years agoAdded nit index to debugger.nit
Lucas Bajolet [Wed, 13 Nov 2013 20:50:01 +0000 (15:50 -0500)]
Added nit index to debugger.nit

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

10 years agoMerge branch 'privat' into ready-for-ffi
Alexis Laferrière [Wed, 13 Nov 2013 20:33:25 +0000 (15:33 -0500)]
Merge branch 'privat' into ready-for-ffi

Conflicts:
lib/md5/md5.nit
lib/md5/md5.nit.c

10 years agophases: remove useless module dependencies
Jean Privat [Tue, 12 Nov 2013 15:02:40 +0000 (10:02 -0500)]
phases: remove useless module dependencies

now that the super of nitc is fixed

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

10 years agotests: add base_orelse2
Jean Privat [Tue, 12 Nov 2013 15:01:26 +0000 (10:01 -0500)]
tests: add base_orelse2

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

10 years agotyping: `or else` fallback to Object
Jean Privat [Tue, 12 Nov 2013 06:47:19 +0000 (01:47 -0500)]
typing: `or else` fallback to Object

now you can write

    print "bla: {toto or else "n/a"}"

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

10 years agomodel: really implement precondition of lookup_first_definition
Jean Privat [Tue, 12 Nov 2013 05:54:28 +0000 (00:54 -0500)]
model: really implement precondition of lookup_first_definition

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

10 years agomodelbuilder: extra-warn useless type declaration of attributes
Jean Privat [Tue, 12 Nov 2013 05:38:08 +0000 (00:38 -0500)]
modelbuilder: extra-warn useless type declaration of attributes

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

10 years agosrc: remove old style attributes in nitg-related clases
Jean Privat [Tue, 12 Nov 2013 03:21:46 +0000 (22:21 -0500)]
src: remove old style attributes in nitg-related clases

parser and lib remains

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

10 years agomodelbuilder: prevent names of formal type to have lowercases
Jean Privat [Tue, 12 Nov 2013 03:02:09 +0000 (22:02 -0500)]
modelbuilder: prevent names of formal type to have lowercases

fixes #97

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

10 years agolib: move counter more_collections and poset to lib/
Jean Privat [Tue, 12 Nov 2013 01:12:58 +0000 (20:12 -0500)]
lib: move counter more_collections and poset to lib/

They may be useful to other, even if not really API-clean.

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

10 years agoMerge branch 'tests'
Jean Privat [Mon, 11 Nov 2013 18:27:42 +0000 (13:27 -0500)]
Merge branch 'tests'

10 years agotests: add missing sav for libs nitcc_runtime and sqlite3
Jean Privat [Mon, 11 Nov 2013 18:27:07 +0000 (13:27 -0500)]
tests: add missing sav for libs nitcc_runtime and sqlite3

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

10 years agotests: strict order on tests.sh
Jean Privat [Mon, 11 Nov 2013 13:53:03 +0000 (08:53 -0500)]
tests: strict order on tests.sh

Each engine has a strict order for sav/ to look at.
Error is issued if the first in the order is not the expected result.

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

10 years agotests: cleanup sav directory
Jean Privat [Mon, 11 Nov 2013 13:51:18 +0000 (08:51 -0500)]
tests: cleanup sav directory

only .res (no more .sav or .fail)

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

10 years agotests: remove store_save.sh
Jean Privat [Fri, 8 Nov 2013 05:38:49 +0000 (00:38 -0500)]
tests: remove store_save.sh

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

10 years agolib: adds Discrete::times as a shortcut to Range
Alexis Laferrière [Sun, 10 Nov 2013 15:16:05 +0000 (10:16 -0500)]
lib: adds Discrete::times as a shortcut to Range

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

10 years agolib: update signals module to use FFI
Alexis Laferrière [Fri, 8 Nov 2013 20:39:17 +0000 (15:39 -0500)]
lib: update signals module to use FFI

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

10 years agolib: update module md5 to use FFI
Alexis Laferrière [Fri, 8 Nov 2013 20:26:24 +0000 (15:26 -0500)]
lib: update module md5 to use FFI

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

10 years agotools: add mkcsrc2 prototype to bootstrap with nitg from C
Jean Privat [Fri, 8 Nov 2013 21:26:24 +0000 (16:26 -0500)]
tools: add mkcsrc2 prototype to bootstrap with nitg from C

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

10 years agotests: update nitg.res
Jean Privat [Fri, 8 Nov 2013 21:17:42 +0000 (16:17 -0500)]
tests: update nitg.res

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

10 years agonitg: add option --compile-dir to change the default compile directory
Jean Privat [Fri, 8 Nov 2013 21:15:44 +0000 (16:15 -0500)]
nitg: add option --compile-dir to change the default compile directory

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

10 years agonitg: path in Makefile is relative to the compile_dir
Jean Privat [Fri, 8 Nov 2013 21:15:03 +0000 (16:15 -0500)]
nitg: path in Makefile is relative to the compile_dir

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

10 years agoMerge remote-tracking branch 'alexandre/nitdoc'
Jean Privat [Thu, 7 Nov 2013 21:49:29 +0000 (16:49 -0500)]
Merge remote-tracking branch 'alexandre/nitdoc'

10 years agonitg: fixes iterators crashes for test in 62cdb9a9633767baafb04f66fdad79a46d2e9a69
Alexandre Terrasa [Thu, 7 Nov 2013 18:48:43 +0000 (13:48 -0500)]
nitg: fixes iterators crashes for test in 62cdb9a9633767baafb04f66fdad79a46d2e9a69

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

10 years agomake: add --private to newmodel documentation
Alexandre Terrasa [Thu, 7 Nov 2013 18:16:25 +0000 (13:16 -0500)]
make: add --private to newmodel documentation

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

10 years agotests: display binary, name and options of current engine
Jean Privat [Thu, 7 Nov 2013 17:56:41 +0000 (12:56 -0500)]
tests: display binary, name and options of current engine

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

10 years agotests: rename engine `nitg` to `nitg-g` ; alias `nitg` to `nitg-s`
Jean Privat [Thu, 7 Nov 2013 16:41:40 +0000 (11:41 -0500)]
tests: rename engine `nitg` to `nitg-g` ; alias `nitg` to `nitg-s`

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

10 years agotests: FIXME `for` crashes with formal types
Jean Privat [Thu, 7 Nov 2013 16:24:23 +0000 (11:24 -0500)]
tests: FIXME `for` crashes with formal types

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

10 years agolib/mnit: do not use "loop do"
Jean Privat [Thu, 7 Nov 2013 04:58:26 +0000 (23:58 -0500)]
lib/mnit: do not use "loop do"

the break is now attached to the do, not the loop

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

10 years agolib/a_star: fix check for max_cost (is more reliable)
Alexis Laferrière [Thu, 7 Nov 2013 04:37:29 +0000 (23:37 -0500)]
lib/a_star: fix check for max_cost (is more reliable)

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

10 years agotests/a_star: adds a test using heuristics
Alexis Laferrière [Thu, 7 Nov 2013 04:16:36 +0000 (23:16 -0500)]
tests/a_star: adds a test using heuristics

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

10 years agolib/a_star: fix use of virtual types in PathContext
Alexis Laferrière [Thu, 7 Nov 2013 04:15:10 +0000 (23:15 -0500)]
lib/a_star: fix use of virtual types in PathContext

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

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>