stage4/generate_c/generate_c_base.cc
Mon, 03 Apr 2017 22:18:22 +0100 Mario de Sousa Access elements[] in list_c through a new get_element() method.
Thu, 26 May 2016 15:00:20 +0100 mjsousa Add support for functions returning VOID (i.e. non-standard extension, allowing functions that do not return any data)
Sun, 08 May 2016 20:01:15 +0100 mjsousa Add option to not add the EN and ENO parameters to every function and FB (generated C code becomes smaller, and uses less memory for function invocations)
Wed, 17 Dec 2014 13:47:37 +0000 mjsousa When generating C code, use the const_value of a symbolic_variable when it is used in a subrange.
Sat, 06 Dec 2014 19:11:32 +0000 mjsousa Add a new pou_typename_c object to the AST to store references to previously declared Functions, FB, and Programs.
Sun, 16 Nov 2014 15:37:12 +0000 mjsousa merge
Sun, 16 Nov 2014 12:54:10 +0000 mjsousa Add support for relaxed datatype model for array datatypes.
Sun, 09 Nov 2014 22:02:34 +0000 mjsousa fix bug introduced a few commits ago: do not print the first char ('%') of a direct_variable_c (e.g. skip % in %IW4.2)
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.
Mon, 11 Aug 2014 07:22:37 +0100 mjsousa Fix calling of functions whose parameters are of an implicitly declared datatype (currently only makes sense for REF_TO datatypes, but may make sense to other datatypes too if the datatype model is changed in the future).
Sun, 10 Aug 2014 08:51:33 +0100 mjsousa fix indentations.
Sat, 09 Aug 2014 09:20:03 +0100 mjsousa Add support for non standard REF_TO ANY (equivalent to void *)
Thu, 31 Jul 2014 17:49:44 +0100 mjsousa Add support for the 'NULL' keyword, defined in version 3 of IEC 61131-3.
Sun, 30 Mar 2014 09:41:06 +0100 mjsousa Finish: Change order of SET_xxx() macros. (this will allow me to simplify the print_setter() methods later on)
Sun, 16 Mar 2014 13:02:28 +0000 mjsousa Make generation of #line directives optional.
Sun, 16 Mar 2014 10:16:25 +0000 mjsousa Insert #line directives in generated C code.
Sat, 08 Feb 2014 23:10:12 +0000 mjsousa Code cleanup (part 2): generate_typedecl_c now only prints to POUS.h !
Sun, 22 Dec 2013 09:50:02 +0000 Mario de Sousa Code cleanup: move datatype analysis to get_datatype_info_c
Thu, 03 Jan 2013 18:23:07 +0000 Mario de Sousa grand merge
Wed, 07 Nov 2012 20:07:11 +0000 Mario de Sousa Make search_base_type_c a singleton!
Fri, 19 Oct 2012 12:10:32 +0200 Edouard Tisserant Added double curly braces for pragma (kept single curly braces for compatibility). Added macro def and undef surrounding pragma to simplify user code. Moved useless comment from generated code back to code generator.
Thu, 14 Jun 2012 12:00:19 +0100 Mario de Sousa Clean up code (remove parsing of integers in stage 4).
Wed, 09 May 2012 23:00:10 +0100 mjsousa Fix parsing os TIME literals & rename the extract_integer() function.
Mon, 06 Jun 2011 11:01:47 +0200 laurent Fix bug when generating integer with leading zero (octal value for C compiler)
Mon, 30 May 2011 19:28:32 +0100 Mario de Sousa Fix conversion of binary digits to hex, when generating code.
Tue, 05 Apr 2011 15:14:19 +0200 Edouard Tisserant Re-generated std lib related code, with updated headers, updated all forgotten headers
Mon, 04 Apr 2011 10:42:03 +0100 Mario de Sousa starting to add proper header file with declaration of standard functions
Thu, 31 Mar 2011 10:45:34 +0100 Mario de Sousa Merging my Huge change with Edouards/Laurents version
Wed, 30 Mar 2011 19:53:32 +0100 Mario de Sousa Huge change.
Thu, 22 Apr 2010 07:03:18 +0200 laurent Bugs fixed:
Sun, 29 Nov 2009 16:38:11 +0100 laurent Adding support for declare, init, get and set macros
Thu, 27 Aug 2009 16:06:46 +0100 Catarina Boucinha Initial (very rough) version of semantic checker (stage3)
Mon, 25 May 2009 12:17:10 +0200 mario Adding support for SAFEBOOL. Some code generation yet to do...
Fri, 19 Dec 2008 15:09:29 +0100 lbessard Adding support for compiling struct data types
Fri, 24 Oct 2008 16:37:46 +0200 lbessard Adding support for EN/ENO in standard functions
Fri, 26 Sep 2008 14:42:05 +0200 lbessard Adding support for EN/ENO params in function and function blocks (standard function not supported yet)
Thu, 21 Aug 2008 16:08:19 +0200 etisserant added missing includes on some platform (gentoo/gcc-4.3.1)
Tue, 08 Apr 2008 18:21:37 +0200 lbessard Problem with negated literals while compiling generated C file on 32bits systems fixed
Thu, 06 Dec 2007 18:01:58 +0100 lbessard Adding support for derived data types.
Wed, 24 Oct 2007 17:39:51 +0200 lbessard Change generate_cc to generate_c