Mon, 03 Jul 2017 20:31:47 +0100 |
Mario de Sousa |
Fix bug in datatype narrowing algorithm affecting IL code.
|
file |
diff |
annotate
|
Wed, 05 Apr 2017 13:21:50 +0100 |
Mario de Sousa |
Do datatype checking of initial values for structures and FBs, and print error messages when compiling erroneuos source code.
|
file |
diff |
annotate
|
Mon, 03 Apr 2017 22:18:22 +0100 |
Mario de Sousa |
Access elements[] in list_c through a new get_element() method.
|
file |
diff |
annotate
|
Mon, 03 Apr 2017 22:06:40 +0100 |
Mario de Sousa |
Start implementation of datatype checking of initial values for structures and FBs.
|
file |
diff |
annotate
|
Wed, 25 Jan 2017 18:22:41 +0000 |
Andrey Skvortsov |
Fix segmentation fault bug introduced by previous commit
|
file |
diff |
annotate
|
Tue, 24 Jan 2017 12:44:44 +0000 |
mjsousa |
Correcty determine the datatype (TIME) of the parameters of SFC actions with timed qualifiers
|
file |
diff |
annotate
|
Mon, 09 Mar 2015 19:22:00 +0000 |
mjsousa |
Do fill/narrow datatype analysis algorithm for derived_datatype_identifier_c (fixes bug related to arrays of arrays that was generating incorrect C code).
|
file |
diff |
annotate
|
Sun, 15 Feb 2015 16:07:29 +0000 |
mjsousa |
Fix bug introduced in 2014/10/19, while adding support for REF() opertors -> datatype checking was not catching datatype inconsistency errors!
|
file |
diff |
annotate
|
Sun, 16 Nov 2014 12:54:10 +0000 |
mjsousa |
Add support for relaxed datatype model for array datatypes.
|
file |
diff |
annotate
|
Sat, 25 Oct 2014 11:21:40 +0100 |
mjsousa |
Filling of symbol->scope annotation moved from narrow to fill_candidate_datatypes_c (became possible because narrowing of struct, array and symbolic variables is now done directly in fill_candidate_datatypes_c)
|
file |
diff |
annotate
|
Sun, 19 Oct 2014 11:53:36 +0100 |
mjsousa |
Fix bug with multple dereferencing (bool_var := bool_ptr_ptr^^;)
|
file |
diff |
annotate
|
Sun, 19 Oct 2014 08:36:49 +0100 |
mjsousa |
Fix bug: Add support for de-referencing pointers to struct (struct_ptr^.elem1) when used inside FB.
|
file |
diff |
annotate
|
Sun, 28 Sep 2014 16:35:44 +0100 |
mjsousa |
Add support for de-referencing of REF_TO datatypes (Note: dereferencing of arrays and structs not yet supported!)
|
file |
diff |
annotate
|
Thu, 31 Jul 2014 17:49:44 +0100 |
mjsousa |
Add support for the 'NULL' keyword, defined in version 3 of IEC 61131-3.
|
file |
diff |
annotate
|
Sun, 13 Jul 2014 13:47:16 +0100 |
mjsousa |
Narrow array subscripts correctly, even in the presence of other datatype errors (so we do not generate error messages for array subscripts that do not contain errors).
|
file |
diff |
annotate
|
Sun, 13 Jul 2014 12:26:58 +0100 |
mjsousa |
Add support for REF_TO derived datatypes (along with datatype verification)
|
file |
diff |
annotate
|
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
|