- Nov 26, 2010
-
-
Adam Wardynski authored
-
Adam Wardynski authored
-
- Nov 25, 2010
-
-
Adam Wardynski authored
-
Adam Wardynski authored
Introducing base abstract class FunctionalOperator and template Operator<T> for a functional operator returning given type of Value. Assortment of copy methods and apply methods.
-
Adam Wardynski authored
Intended as a base class for library-user-level operators and rules. Allows manipulation of Variables via get, set. Intoduces cloning support.
-
Adam Wardynski authored
Doesn't hurt and can help.
-
ilor authored
-
- Nov 22, 2010
-
-
ilor authored
-
Paweł Kędzia authored
-
- Nov 21, 2010
-
-
Adam Wardynski authored
Some other refactoring too, some augmented comments etc.
-
Adam Wardynski authored
This is to accomodate rules in future, and repurpose "Operator" to be a library api-level class for users of the library, for parsed functional operators.
-
Adam Wardynski authored
It's a change from if x then y else z, which wasn't exactly proper anyway without parentheses.
-
- Nov 20, 2010
-
-
Adam Wardynski authored
RelativePosition operator, represented by "+" in WCCL (at least initially). Returns Nowhere for Nowhere, or a Position shifted by given offset to the position given (Begin and End are first translated into normal Positions).
-
- Nov 19, 2010
-
-
Adam Wardynski authored
The Equals<T> now uses helper class EqualityComparer<T> and distinction is in the helper class specialisation.
-
Adam Wardynski authored
-
Adam Wardynski authored
-
Adam Wardynski authored
-
Adam Wardynski authored
-
- Nov 18, 2010
-
-
Adam Wardynski authored
-
Adam Wardynski authored
It's the "setvar($V, blabla)" operator that sets $V to blabla and always returns True.
-
Adam Wardynski authored
-
Adam Wardynski authored
Somewhat nicer to use and guards against static init order fiasco.
-
Adam Wardynski authored
It is used wherever in WCCL variable is seen in read-only context, i.e. outside of operators that are setting its value like setvar.
-
Adam Wardynski authored
Generally we want to avoid accidental change of value of a constant or of a variable. Originally I'd copy value on access, but this changed it so a const Value is returned instead and copy is done only when it's needed.
-
- Nov 17, 2010
-
-
Adam Wardynski authored
Functions operate on it now instead of on just SentenceContext. It's open to additions in future. Main purpose atm is to hold Variables as well as SentenceContext. Done some cleanup in code too. Updated tests to reflect the FunExecContext change as well.
-
- Nov 16, 2010
-
-
Adam Wardynski authored
-
- Nov 15, 2010
-
-
Adam Wardynski authored
-
- Nov 13, 2010
-
-
Adam Wardyński authored
-
Adam Wardynski authored
-
- Nov 11, 2010
-
-
Adam Wardyński authored
-
- Nov 10, 2010
-
-
Adam Wardyński authored
-
Adam Wardyński authored
-
Adam Wardyński authored
-
Adam Wardyński authored
-
Adam Wardyński authored
-
Adam Wardyński authored
Making the default for "value-if-false" parameter to be a static, initialized on demand, member of Conditional.
-
ilor authored
-
- Nov 09, 2010
-
-
Adam Wardyński authored
Conditional operators realised as if..then..else expression and operator "? val ? pred" with some tests for StrSet specialization
-
Adam Wardyński authored
Adding specialization of Equals for positions, as they logically need to take into account actual sentence context for full comparison.
-
- Nov 08, 2010
-
-
Adam Wardyński authored
-