Commits

Author Commit Message Labels Comments Date
Pierre Carbonnelle
align aggregate function names with PEP8 : e.g. _len --> len_ while remaining backward compatible
Pierre Carbonnelle
support for float
Pierre Carbonnelle
Simplify code. No need to create pre_calculations for Operation without Function
Pierre Carbonnelle
improve documentation of pyEngine, using doc.py
Pierre Carbonnelle
improve documentation
Pierre Carbonnelle
Update examples from the tutorial
Pierre Carbonnelle
Raise an error when a unary + or - is before an nequality
Pierre Carbonnelle
ignore negated variables in result set
Pierre Carbonnelle
Result set should only contain values corresponding to variables in the query : do not repeat constants from a query in the result set.
Pierre Carbonnelle
an in-line query returns a result with 1 column per variable --> always create a (temporary) clause for it
Pierre Carbonnelle
support for negative indices in slices (e.g. X[:-1]) in datalog clauses
Pierre Carbonnelle
copy UserList from stdlib so that I can customize it
Pierre Carbonnelle
major redesign of expression evaluation, using subst() for constant folding and providing extended support for list. major speed-up of Queens_N. rename 'in', 'not in' predicates to '_pyD_in', '_pyD_not_in' to avoid possible name conflict with end-user application
Pierre Carbonnelle
Track time of first run of queens.py
Pierre Carbonnelle
tasks use deque(), not [], for speed
Pierre Carbonnelle
avoid repetion of Interned.of() in tuples (negligible speed gain)
Pierre Carbonnelle
speed : is_const() replace by is_constant; VarTuple calculation simplified for constant tuples.
Pierre Carbonnelle
improve consistency of speed measurement
Pierre Carbonnelle
fix VarTuple.get_tag
Pierre Carbonnelle
use immutables for defaut arguments
Pierre Carbonnelle
derived from prolog
Pierre Carbonnelle
First iteration of generic N-queen solution.
Pierre Carbonnelle
Baseline is 8-queen
Pierre Carbonnelle
define X+(1,) as an Expression, not as X.data+(1,) Clarify distinction between ._pyD_name, ._pyD_value and ._pyD_lua
Pierre Carbonnelle
Support for slices of list/tuple. Must now use X.data and (X.data)[0] instead of list(X), X[0] in calling program.
Pierre Carbonnelle
Full support for list in predicates. Simplify Literal.__init__() by removing .associated_symbol, .args
Pierre Carbonnelle
Simplify Literal.__init__() by adding Literal._variables()
Pierre Carbonnelle
simplify Literal.__init__()
Pierre Carbonnelle
Initial support for nested list.
Pierre Carbonnelle
Refactoring of pyEngine.Var, .Const, .Operand, pyParser.Symbol : - Use factory for Interned, Expression. - Regroup functions into Var, Const classes. - Remove duplication through inheritance.
  1. Prev
  2. Next