pre_2to3 Log


Commit Date  
[5a44bd] (0.2) by mtnyogi

Release 0.2

2008-03-06 17:17:01 Tree
[e67fdb] by mtnyogi

1. Moved pyke/__init__.py to pyke/knowledge_engine.py so that pyke doesn't
get imported when you unpickle plans.
2. Added test.py module to pyke.
3. Added type check for args parameter to add_*_fact and assert_ in
knowledge_engine.engine. Also now accept any iterable (other than strings)
as args parameter.
4. Added final parameter to lookup_data and create_plan calls in prove_[n1]
to convert prototype plans stored in pattern variables into real plans.
5. Added parenthesis around $pattern_name expansions in the generated python
code (though, on hindsight, I'm not sure this was really needed).
6. Commented out prints in examples/sqlgen/database.krb.
7. Added movie id 3 to a second DVD in examples/sqlgen/catalog.txt.
8. Added examples/web_framework example.

2008-03-06 03:03:50 Tree
[eef52e] by mtnyogi

This revision has the following:

1. Fixed bug: *_plans.py modules not reloaded.
2. Added "trace" and "untrace" functions to pyke.engine.
3. Added "allow_vars" parameter to "as_data" methods.
4. Fixed bug: tuple patterns match strings.
5. Fixed bug: debug messages printed on .krb syntax errors.
6. Added sqlgen example.

2008-03-02 21:36:14 Tree
[41aea1] by mtnyogi

1. Finished statistics gathering, so that print_stats now works properly.
2. Added general() function to family_relations example.

2008-02-24 22:05:42 Tree
[55084c] by mtnyogi

1. Added engine.print_stats(), but not all stats are being updated yet.
2. reset wasn't reseting forward-chaining rules. Fixed.
3. variable binding cycles were possible. Fixed.
4. rest_var in pattern_tuple not matched properly. Fixed.
5. Major enhancements to family_relations example.

2008-02-24 18:02:52 Tree
[0f1712] by mtnyogi

1. Broke immutable_dict out of bc_rule.py as first step to not having pyke
imported when a plan is unpickled.
2. Fixed a minor bug where a comment is on the same line as a "check" premise.
3. Added the "logic tricks" web page.

2008-02-23 02:55:45 Tree
[66bbff] (0.1.alpha2) by mtnyogi

This should be the alpha2 release!

2008-02-13 15:51:23 Tree
[5c92b3] by mtnyogi

Added krb_traceback and fixed SyntaxError exceptions from the .krb compiler
so that they print the line in error properly when the exception is printed.

2008-02-12 21:15:58 Tree
[d43b93] by mtnyogi

Converted the inference engine into an object so that you can have multiple
copies with different rule bases. This implements Feature Request #1865574.

2008-02-12 15:32:43 Tree
[e9291b] by mtnyogi

Now capturing .krb filanames and line number maps in Krb_filename and
Krb_lineno_map variables in generated .py files.
This should be able to be used later to get smart tracebacks that show lines
from the .krb files rather than the generated .py files.

2008-02-10 23:42:24 Tree
[916d24] by mtnyogi

Moved initialization lines to the end of the generated .py files in
preparation for wrapping the whole knowledge engine in a class to support
multiple knowledge engines.

2008-02-10 19:23:34 Tree
[c599d2] by mtnyogi

Fix for bug #1861997, load of absolute paths broken.

2008-01-09 04:49:59 Tree
[6cba15] by mtnyogi

Fix for bug #1861992 (which was reopened). This now checks the rule names
and raises an AssertionError if there are any duplicates.

2008-01-07 01:26:05 Tree
[09e5d4] by mtnyogi

This addresses several bugs: 1861988, 1861993, 1861997 and 1861999.

The load process was rewritten to generated the python modules in
gen_dir/gen_root_dir rather than in the same directories as the .krb files.

Substantial updates were done to the following documentation pages:
Overview -> Plans
Overview -> Knowledge Bases -> Rule Bases
KRB Syntax -> Bc_rule

2008-01-04 15:30:30 Tree
[e7aa2f] by mtnyogi

Fixed bug [ 1843445 ] KeyError in _unbind

2007-12-03 16:04:18 Tree
[dd3b68] by mtnyogi

Fixed bug [ 1843408 ] facts are not matched in the correct order

2007-12-03 15:32:04 Tree
[839f6d] by mtnyogi

Fixes bug 1843395: "%(rule_name)s" in exception text.

2007-12-03 15:09:35 Tree
[a8c5eb] by mtnyogi

Fixed bug 1830762: 'python2.5' not found on windows

2007-11-13 00:07:20 Tree
[664ff0] by mtnyogi

Fixed "import XYZ_plan" -- not found bug. All doctests working now.

2007-11-08 18:17:27 Tree
[f4f206] by mtnyogi

Proofreading, pass 1. Still need spell check and link check.

2007-11-07 18:44:07 Tree
[adcc3e] by mtnyogi

Need to commit before mv-ing file

2007-11-05 22:14:32 Tree
[fa6dae] by mtnyogi

Preparing to switch to Stephanie's documentation layout and colors.

2007-11-04 14:30:49 Tree
[cd2730] by mtnyogi

Got doc/syntax up to date. Some doc changes. A few small compiler syntax
fixes.

2007-11-02 20:00:23 Tree
[565184] by mtnyogi

Intermediate checkpoint on documentation. Also fixed a few bugs in pyke.

2007-10-31 03:01:57 Tree
[0f2293] by mtnyogi

Added 'fc_extras', 'bc_extras' and 'plan_extras' so that extra python code
(for example 'import' statements or python function definitions) can be added
to the three generated python files.

2007-10-17 20:39:28 Tree
Older >