Thu, 29 May 2014 12:06:22 +0100 |
mjsousa |
Add error message for invalid datatype of transition condition. Generalize datatype narrowing algorithm for transition conditions.
|
file |
diff |
annotate
|
Tue, 08 Apr 2014 14:35:31 +0100 |
mjsousa |
Correctly handle structured variables that include FB and external FBs (example: FB1.FB2.extFB3.FB4.extFB5.extFB6.structvar.field1 := 42;) (this commit fixes only ST code. TODO: IL and SFC)
|
file |
diff |
annotate
|
Sun, 02 Mar 2014 16:42:56 +0000 |
mjsousa |
Add limited support for the REF() operator (defined in v3 of IEC 61131-3)
|
file |
diff |
annotate
|
Sun, 22 Dec 2013 09:50:02 +0000 |
Mario de Sousa |
Code cleanup: move datatype analysis to get_datatype_info_c
|
file |
diff |
annotate
|
Thu, 22 Aug 2013 16:53:17 +0100 |
mjsousa |
Fill in the 'datatype' anotation in the identifiers of symbolic variables.
|
file |
diff |
annotate
|
Wed, 21 Aug 2013 21:34:43 +0100 |
mjsousa |
Small code cleanup (move common code to a function)
|
file |
diff |
annotate
|
Wed, 21 Aug 2013 21:26:55 +0100 |
mjsousa |
Fix datatype analysis of conditional IL operators (CALC, CALCN, RETC, RETCN, JMPC, JMPCN, S and R)
|
file |
diff |
annotate
|
Wed, 21 Aug 2013 16:08:50 +0100 |
mjsousa |
make sure all IL operands are narrowed (datatype checking algorithm)
|
file |
diff |
annotate
|
Tue, 20 Aug 2013 11:15:40 +0100 |
mjsousa |
Add support for FB call semantics of 'S' and 'R' IL operators!
|
file |
diff |
annotate
|
Wed, 07 Aug 2013 10:18:29 +0100 |
mjsousa |
Fix datatype analysis of structured variables that contain arrays in their fields (e.g. var.x1[var2 + 42].y1).
|
file |
diff |
annotate
|
Thu, 04 Apr 2013 09:45:11 +0900 |
Edouard Tisserant |
Merged Mario's changes
|
file |
diff |
annotate
|
Wed, 13 Feb 2013 18:56:25 +0000 |
Mario de Sousa |
Add a new node to the abstract symtax tree, which will let us do datatype checking of FB variable declarations using the standard algorithm, and no special cases.
|
file |
diff |
annotate
|
Wed, 23 Jan 2013 14:53:14 +0000 |
Mario de Sousa |
Consider fb_name_decl_c a non base data type class!
|
file |
diff |
annotate
|
Wed, 23 Jan 2013 14:30:03 +0000 |
Mario de Sousa |
Fill symbol->datatype anotation for FB declarations.
|
file |
diff |
annotate
|
Wed, 23 Jan 2013 13:46:11 +0000 |
Mario de Sousa |
Fill in the symbol.datatype annotation in symbol classes used in derived data type declarations.
|
file |
diff |
annotate
|
Mon, 11 Mar 2013 12:49:33 +0100 |
Laurent Bessard |
Fixed bug with SFC transition datatype checking
|
file |
diff |
annotate
|
Sun, 13 Jan 2013 16:06:00 +0000 |
Mario de Sousa |
Set the symbol->datatpe of function_declaration_c
|
file |
diff |
annotate
|
Sun, 13 Jan 2013 14:25:38 +0000 |
Mario de Sousa |
Fill in the symbol->datatype of elementary datatypes.
|
file |
diff |
annotate
|
Wed, 14 Nov 2012 14:03:57 +0000 |
Mario de Sousa |
Fix datatype checking of enumerated datatype declarations. We now follow the fill->narrow algorithm correctly.
|
file |
diff |
annotate
|
Tue, 13 Nov 2012 18:03:17 +0000 |
Mario de Sousa |
Change the base datatype of enumerations to an enumerated_type_declaration_c (for named types!)
|
file |
diff |
annotate
|
Wed, 07 Nov 2012 20:07:11 +0000 |
Mario de Sousa |
Make search_base_type_c a singleton!
|
file |
diff |
annotate
|
Fri, 26 Oct 2012 10:11:28 +0100 |
Mario de Sousa |
Prepare to delete search_constant_type_c -> Move the static variables from search_constant_type_c to get_datatype_info_c
|
file |
diff |
annotate
|
Thu, 25 Oct 2012 18:20:28 +0100 |
Mario de Sousa |
Correctly generate C code for IL expressions, i.e. IL instructions inside parenthesis.
|
file |
diff |
annotate
|
Sat, 13 Oct 2012 12:13:49 +0100 |
Mario de Sousa |
Move is_datatype_valid/equal() to get_datatype_info_c
|
file |
diff |
annotate
|
Thu, 11 Oct 2012 19:16:35 +0100 |
Mario de Sousa |
Fix bug related to support of SAFE datatypes.
|
file |
diff |
annotate
|
Sun, 07 Oct 2012 09:45:54 +0100 |
Mario de Sousa |
Set datatype of il_intruction_c objects containing an ST operator.
|
file |
diff |
annotate
|
Sun, 07 Oct 2012 09:33:42 +0100 |
Mario de Sousa |
Delete unused variables.
|
file |
diff |
annotate
|
Thu, 04 Oct 2012 14:30:51 +0100 |
Mario de Sousa |
Add new get_datatype_info_c (preparing to remove search_expression_type_c)
|
file |
diff |
annotate
|
Wed, 26 Sep 2012 20:12:39 +0200 |
Manuele Conti |
Minor changes needed to build with pedantic flag.
|
file |
diff |
annotate
|
Fri, 31 Aug 2012 15:09:25 +0100 |
Mario de Sousa |
Start adding support for data type checking of enums.
|
file |
diff |
annotate
|
Thu, 10 May 2012 16:09:50 +0100 |
mjsousa |
Add high level comments.
|
file |
diff |
annotate
|
Wed, 25 Apr 2012 16:44:23 +0100 |
Mario de Sousa |
Fix comment.
|
file |
diff |
annotate
|
Mon, 16 Apr 2012 20:13:58 +0100 |
Mario de Sousa |
Fix bug when handling code with data type errors.
|
file |
diff |
annotate
|
Sat, 07 Apr 2012 16:14:17 +0100 |
Mario de Sousa |
Start data type checking of var declarations (including direct variables!)
|
file |
diff |
annotate
|
Thu, 15 Mar 2012 13:18:02 +0000 |
Mario de Sousa |
Add EXPT widen table.
|
file |
diff |
annotate
|
Thu, 15 Mar 2012 12:50:44 +0000 |
Mario de Sousa |
Some stupid code cleanups.
|
file |
diff |
annotate
|
Wed, 14 Mar 2012 20:01:50 +0000 |
Mario de Sousa |
Clean up the code.
|
file |
diff |
annotate
|
Wed, 14 Mar 2012 11:14:41 +0000 |
Mario de Sousa |
Clean code for comparison operations & operators.
|
file |
diff |
annotate
|
Wed, 14 Mar 2012 10:51:49 +0000 |
Mario de Sousa |
Cleaning up XORN, ANDN, and ORN operator code.
|
file |
diff |
annotate
|
Wed, 14 Mar 2012 10:26:03 +0000 |
Mario de Sousa |
Add 'widen' tables for AND, OR and XOR operations.
|
file |
diff |
annotate
|
Tue, 13 Mar 2012 19:04:07 +0000 |
Mario de Sousa |
Add MOD widening table, and some code clean-ups.
|
file |
diff |
annotate
|
Tue, 13 Mar 2012 16:38:21 +0000 |
Mario de Sousa |
Change setting of deprecated_operation from fill to narrow_candidate_datatypes_c.
|
file |
diff |
annotate
|
Sat, 10 Mar 2012 11:21:41 +0000 |
Mario de Sousa |
Clean up code, and add support for 'safe' version of literals.
|
file |
diff |
annotate
|
Fri, 09 Mar 2012 17:58:19 +0000 |
Mario de Sousa |
Semantic verification of NOT operator.
|
file |
diff |
annotate
|
Thu, 08 Mar 2012 19:14:45 +0000 |
Mario de Sousa |
Delete no longer needed copy_candidate_datatype_list() function.
|
file |
diff |
annotate
|
Thu, 08 Mar 2012 18:57:55 +0000 |
Mario de Sousa |
Narrow IL lists twice, in order to handle JMP to labels before the JMP itself.
|
file |
diff |
annotate
|
Sat, 03 Mar 2012 08:51:28 +0000 |
Mario de Sousa |
Remove spurious printf()s, used during debugging session.
|
file |
diff |
annotate
|
Fri, 02 Mar 2012 12:53:41 +0000 |
Mario de Sousa |
Continue adding support for semantic verification of JMP and RET.
|
file |
diff |
annotate
|
Mon, 27 Feb 2012 11:44:03 +0000 |
Mario de Sousa |
Change prev_il_instruction to a vector<>
|
file |
diff |
annotate
|
Mon, 27 Feb 2012 11:28:51 +0000 |
Mario de Sousa |
Some small cleanups.
|
file |
diff |
annotate
|
Sat, 25 Feb 2012 19:16:35 +0000 |
Mario de Sousa |
Add support for semantic verification of CALC, CALCN, etc..
|
file |
diff |
annotate
|
Thu, 23 Feb 2012 13:25:49 +0000 |
Mario de Sousa |
Finish support for semantic verification of IL paranthesised expressions.
|
file |
diff |
annotate
|
Tue, 21 Feb 2012 17:39:57 +0000 |
Mario de Sousa |
More changes for support of semantic verification of il_expressions
|
file |
diff |
annotate
|
Mon, 20 Feb 2012 19:44:40 +0000 |
Mario de Sousa |
Start of support for IL expressions (parenthesis).
|
file |
diff |
annotate
|
Mon, 20 Feb 2012 17:52:01 +0000 |
Mario de Sousa |
Cleaning up the code.
|
file |
diff |
annotate
|
Mon, 20 Feb 2012 15:24:26 +0000 |
Mario de Sousa |
Fix a few more bugs related to FB/function calls in IL.
|
file |
diff |
annotate
|
Sat, 18 Feb 2012 21:03:01 +0000 |
Mario de Sousa |
Add support for semantic verification for implict FB calls in IL (e.g. PV ton_var)
|
file |
diff |
annotate
|
Thu, 16 Feb 2012 14:18:23 +0100 |
Conti Manuele |
Change name help function.
|
file |
diff |
annotate
|
Thu, 16 Feb 2012 12:59:02 +0000 |
Mario de Sousa |
Update comments on general architecture.
|
file |
diff |
annotate
|
Thu, 16 Feb 2012 10:27:52 +0000 |
Mario de Sousa |
Narrow IL code backwords, so as to correctly handle invocations to overloaded functions from IL code.
|
file |
diff |
annotate
|