Fedor Isakov
414a60fffc
Moving the reactor API to the separate project.
...
Switch to java_stub models for the reactor api.
2016-09-01 11:03:35 +02:00
Fedor Isakov
4b6ac48a41
Merging TreeForm model into the reactor solution.
...
Move unification lib tnd treeform api model to reactor solution.
Remove obsolete solution.
2016-09-01 11:03:35 +02:00
Fedor Isakov
a27cdecc67
Renamings and refactorings in the logic api.
...
Use TreeForm name for the tree abstraction.
Rename Atom, Func etc. and the usages.
2016-09-01 11:03:21 +02:00
Fedor Isakov
9064c6bbb8
Minor fixes, code restructuring, fixing the dependencies, removing obsolete file.
2016-08-30 17:04:11 +02:00
Fedor Isakov
b1ca25b235
Migrated to build 162.1310
2016-08-26 12:27:49 +02:00
Fedor Isakov
f0184de4c5
Extracting the JCHR-related stuff to drop it later.
...
Cleaning up the obsolete modules.
Get rid of dependencies on JCHR stuff.
2016-08-25 13:48:02 +02:00
Fedor Isakov
b1b7a85c39
Fix types aspect generation in the sampleLang lang.
2016-08-22 16:13:04 +02:00
Fedor Isakov
0018ee7154
Implementing types language aspect generation and runtime support.
2016-08-17 11:02:33 +02:00
Fedor Isakov
22c954f88e
Logic and typechecking2 lang editors: updating colors and styles for better readability (cont'd)
2016-08-15 11:54:02 +02:00
Fedor Isakov
72463c7951
Auto-migrated to the new actions using build 162.1007.
2016-08-12 13:35:44 +02:00
Fedor Isakov
77375a946d
Logic and typechecking2 lang editors: updating colors and styles for better readability.
2016-08-11 17:21:30 +02:00
Fedor Isakov
ff065b0df6
Term list expression to avoid constructing lists with terms. Some editor improvements in logic and typesystem2 langs.
2016-08-09 12:14:52 +02:00
Fedor Isakov
6d37fc39b6
Typesystem2 language: new feature allowing the use of type declarations in constructing type terms.
2016-08-05 12:39:39 +02:00
Fedor Isakov
8ee9c2a8bb
Typesystem2 language: support for type templates in the runtime.
...
Type declarations in the type table.
New "with context" statement for use when manipulating with types.
2016-07-28 12:43:41 +02:00
Fedor Isakov
17b0f4d0a7
Automatic lang version updates after migrating to EAP3.
2016-07-28 12:43:33 +02:00
Fedor Isakov
9f32f8bf42
Typesystem2 language: enable to use iterating parameter in the let block. Pseudo constraints "new type" and "as type".
...
Support for logical substitutions in pseudo constraints.
Application session passed as parameter to rule templates and methods.
Support for type templates in the runtime.
2016-07-28 12:41:53 +02:00
Fedor Isakov
77f07271af
Remove obsolete code.
2016-07-01 12:44:49 +02:00
Fedor Isakov
89ff4ddbe6
Renamed the model j.m.lang.typesystem2.{runtime,generation}
2016-07-01 12:42:29 +02:00
Fedor Isakov
710bd28fd7
Auto-updated the mds files. Removed unused broken imports from models.
2016-06-30 09:44:17 +02:00
Fedor Isakov
0aee630b0a
Setup memoizer before running the reactor.
2016-06-30 09:42:55 +02:00
Fedor Isakov
7fb44b7a6b
Support for calling instance methods from rule templates
2016-06-24 14:36:23 +02:00
Fedor Isakov
bc4d3a975e
Support for feature getters in type table.
2016-06-10 14:28:48 +02:00
Fedor Isakov
1b5e55f4a6
Migrated to MPS 3.4 EAP2.
2016-06-08 13:46:19 +02:00
Fedor Isakov
2f69b52350
A feature in typesystem2 language: specify the value for a variable constraint argument. The variable gets assigned the moment constraint is matched against a rule's head.
2016-05-29 15:50:37 +02:00
Fedor Isakov
a3d2d81048
New feature: constraint occurrence used as pattern in rule's head has a list of logicals to be bound on successful match. Export unification predicates to be applied.
2016-05-29 15:50:30 +02:00
Fedor Isakov
a85baaff55
Refactor constraint and predicate creation into builders
2016-05-24 12:56:06 +02:00
Fedor Isakov
8bb7fea288
Fix memory leaks.
2016-05-10 11:25:36 +02:00
Fedor Isakov
86e6237c77
Simple memoization for repetative calculations while appying typechecking templates.
2016-04-15 15:53:45 +02:00
Fedor Isakov
c2fb02a88e
Support body alternation: multiple rule body parts correspond to alternatives (disjuncts).
2016-04-15 15:53:44 +02:00
Fedor Isakov
ddb1d668c1
Support for body alternation in the reactor API.
2016-04-11 15:33:29 +02:00
Fedor Isakov
5bcf1ce3d6
Displaying failures as error nodes in the activation trace, navigate to the first failure. Minor fixes.
2016-04-04 16:03:36 +02:00
Fedor Isakov
7907fad349
Type declarations have references to type concept. Swith to using concept refs instead of conceptNode in the templates. Still relying on the "declaration node" of a concept.
2016-03-31 13:57:58 +02:00
Fedor Isakov
812accabd4
Switched from using conceptNode to concept type in rule templates.
2016-03-30 18:23:33 +02:00
Fedor Isakov
4d67bf4796
Automatically updated file after having opened the project with the latest build.
2016-03-18 19:22:26 +01:00
Fedor Isakov
6d625ff6c5
Refactoring in the reactor API:
...
- PredicateFactory, Solver
- new EvaluationTrace interface,
- new ask/tell protocol
- get rid of unwanted dependency between API packages.
Updated memreactor lib.
2016-03-16 16:28:59 +01:00
Fedor Isakov
b6777382af
Switch to using SNodeReference instead of SNodeID in anchors. Minor refactoring in utils. Fix type checking of logical values.
2016-02-18 11:46:24 +01:00
Fedor Isakov
90bec1f6e5
Introduce template reference to RuleTemplate and RuleEx. Navigation to the rule template from the activation trace. Avoid infinite repaint cycle caused by TreeTableCellRenderer
2016-02-17 17:27:23 +01:00
Fedor Isakov
02ecdb7de4
Switch to SNodePointer for rule's origin
2016-02-11 16:23:02 +01:00
Fedor Isakov
fafd072255
Activation Trace view
2016-01-31 18:40:22 +01:00
Fedor Isakov
2635bfde4a
Make Meta*Logical a class. Get rid of ProgramBuilder, also in the typechecking templates API.
2016-01-29 16:32:32 +01:00
Fedor Isakov
c9f7790185
Refactoring in the reactor API: LogicalPattern renamed to MetaLogical. MetaLogicalFactory introduced. NamedContext moved to internal API.
2016-01-29 16:17:51 +01:00
Fedor Isakov
ba74ebc591
Moving ProgramBuilder and RuleBuilder to the internal API
2016-01-29 16:17:50 +01:00
Fedor Isakov
8eea7a83a2
Migrate to MPS 3.3.1. Fix missing import.
2016-01-26 12:48:11 +01:00
Fedor Isakov
0f39fc1c75
Typechecking templates: use the SNodeId as the classifier id value
2016-01-11 15:30:29 +01:00
Fedor Isakov
453c50b159
Introducing ProgramBuilder: a factory of programs/constraints/predicates.
...
Switch to indirectly creating conjuncts in rule templates.
Re-packaging API and runtime classes.
2016-01-06 19:18:01 +01:00
Fedor Isakov
02f1e8c258
Moving predicate definitions to the reactor API. Cleaning up the unwanted dependencies in the API.
2016-01-05 14:46:28 +01:00
Fedor Isakov
c4ac5398db
Extracting the logical solvers to reuse in the abstract reactor
2016-01-05 14:46:28 +01:00
Fedor Isakov
86ee83c53f
Getting rid of StringLogical.
2016-01-05 12:31:13 +01:00
Fedor Isakov
90f337d2f3
Fix the JavaExpressionPredicate's cardinality in the APR form.
2015-12-28 17:04:47 +01:00
Fedor Isakov
9b68162e2d
Avoid using String instead of Boolean in AssertPredicate.
2015-12-28 15:27:49 +01:00