Commit Graph

46 Commits

Author SHA1 Message Date
Fedor Isakov 3136d7bedb Switched to the latest EAP build, applied the migrations. 2017-03-09 14:36:20 +01:00
Fedor Isakov f86616da73 Introduce custom constraint "error" for reporting the errors. 2017-02-27 16:11:17 +01:00
Fedor Isakov 8da19f5102 Deprecate all old recovery-related stuff, clean up the generator templates. Remove RecoverSession runtime. 2017-02-17 11:58:11 +01:00
Fedor Isakov af9125bfe1 Switch to types recovering using second stage of the program. Remove usages of RecoverSession. 2017-02-17 11:58:10 +01:00
Fedor Isakov d985610a6d Refactor generating a program from type templates to work with handling stages. Dropping obsolete code. Minor stuff. 2017-02-13 17:23:07 +01:00
Fedor Isakov 43dc0752a0 Enable processing of multi-stage sessions. Display each stage as a separate tab in the activation trace. 2017-02-13 17:23:06 +01:00
Fedor Isakov dd41e08381 New feature: specify stage for a handler, produce multiple programs from the typechecking model. Stages are specified as strings. 2017-02-09 14:23:57 +01:00
Fedor Isakov 0359ff0ccd Refactoring in the type templates:
- get rid of the dependency on the type concept;
 - explicitly create type terms;
 - no more "alternative block";
 - introduce alternative "new type" pseudo constraint;
 - delete the deprecated constructs;
 - transition to TypeTermDeclaration;
 - separate the term declaration from the type constraints;
 - phasing out obsolete stuff.
2017-02-03 11:28:10 +01:00
Fedor Isakov 5b6590df9d Refactoring: switch to the updated interface methods of SessionSolver. Extract invocation arguments calculation from the predicate/constraint. 2017-02-03 11:15:00 +01:00
Fedor Isakov ec74d7ebd3 Primary constraints in handlers. Switch to multiple primary constraints. 2016-12-28 12:48:35 +01:00
Fedor Isakov f5ed430cd9 Build CLP program with handlers instead of rules. Minor rename refactoring. 2016-12-23 17:42:20 +01:00
Fedor Isakov 012dc6b305 Optimizing imports. 2016-12-23 17:40:05 +01:00
Fedor Isakov 5bb2d9c7fa Drop the deprecated postProcess and other obsolete features. 2016-12-23 17:40:04 +01:00
Fedor Isakov 8c3728aa74 Refactor typesystem2 runtime and generator to support handler templates referred to by rule templates. Enable to drop "postProcess" flag on the rules. 2016-12-23 17:26:25 +01:00
Fedor Isakov c796e43d35 Typesystem2 runtime: refactoring the pattern support in type template. 2016-12-12 16:02:13 +01:00
Fedor Isakov cd6b30deed Recovery creates detached nodes by default. 2016-11-16 16:58:57 +01:00
Fedor Isakov 6fc9c454b8 SModel lang extension for typesystem2. Tests. 2016-11-11 14:22:15 +01:00
Fedor Isakov aa9826e2e3 Typechecking facade. Tests. 2016-11-10 16:35:03 +01:00
Fedor Isakov 57bfd6433e Refactoring out the typechecking code from the sample plugin. 2016-11-07 15:07:16 +01:00
Fedor Isakov abce7d2cb7 Use the SRepository interface instead of Project in typechecking aspect 2016-11-02 12:21:10 +01:00
Fedor Isakov 236ba853d7 Refactor the way the template and origin node reference are processed. 2016-10-04 15:59:18 +02:00
Fedor Isakov dd1f2f28a5 Refactoring and cleaning up type/rule template API, introduce RecoverySession. Type table has recovery feature. Return type terms from the sample typechecking. Simple test. 2016-09-19 12:17:40 +02:00
Fedor Isakov 7d959dc154 Refactor the type templates generation and usage. Enable to use type templates outside of the application session. 2016-09-17 14:57:55 +02:00
Fedor Isakov 64a664f5a9 Remove obsolete module. 2016-09-17 14:57:55 +02:00
Fedor Isakov 9312b7d30e MPS suddenly decided to remove references to the deleted solution. 2016-09-01 11:03:36 +02:00
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 9064c6bbb8 Minor fixes, code restructuring, fixing the dependencies, removing obsolete file. 2016-08-30 17:04:11 +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 0018ee7154 Implementing types language aspect generation and runtime support. 2016-08-17 11:02:33 +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 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 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 a85baaff55 Refactor constraint and predicate creation into builders 2016-05-24 12:56:06 +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 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 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 ba74ebc591 Moving ProgramBuilder and RuleBuilder to the internal API 2016-01-29 16:17:50 +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 c4ac5398db Extracting the logical solvers to reuse in the abstract reactor 2016-01-05 14:46:28 +01:00
Fedor Isakov 8e59fc5f97 Refactoring in the reactor API: separating abstract program representation and evaluation session; cleaning up the interfaces. 2015-12-27 16:41:49 +01:00
Fedor Isakov 1e59499285 Better project structure 2015-12-25 21:22:52 +01:00