2014-09-28 |
mjsousa |
Turn support of derefencing operator '^' an option (default is not supported).
|
changeset |
files
|
2014-09-28 |
mjsousa |
Add support for de-referencing of REF_TO datatypes (Note: dereferencing of arrays and structs not yet supported!)
|
changeset |
files
|
2014-09-27 |
mjsousa |
Add support for REF_TO inside arrays and structs (a non-standard feature!)
|
changeset |
files
|
2014-08-11 |
mjsousa |
Code cleanup: with the introduction of anotation_map[], generate_c_vardecl_c can now derive directly from generate_c_base_c
|
changeset |
files
|
2014-08-11 |
mjsousa |
Fix typos in comments
|
changeset |
files
|
2014-08-11 |
mjsousa |
Add comments, and make get_datatype_id_str_c equivalent to get_datatype_id_c
|
changeset |
files
|
2014-08-11 |
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).
|
changeset |
files
|
2014-08-10 |
mjsousa |
fix indentations.
|
changeset |
files
|
2014-08-10 |
mjsousa |
in lvalue, add check for REF() fucntion invocation, and the NULL literal
|
changeset |
files
|
2014-08-09 |
mjsousa |
Initialise REF_TO variables to NULL.
|
changeset |
files
|
2014-08-09 |
mjsousa |
Make support for REF_TO ANY a command line option.
|
changeset |
files
|
2014-08-09 |
mjsousa |
Add support for non standard REF_TO ANY (equivalent to void *)
|
changeset |
files
|
2014-08-08 |
mjsousa |
Update some comments. (No changes to code)
|
changeset |
files
|
2014-08-08 |
mjsousa |
Introduce absyntax class for keyword ANY, and use REF_TO(ANY) as datatype of NULL literal.
|
changeset |
files
|
2014-08-06 |
mjsousa |
Fix bug (introduced a few commits ago) when generating SFC actions that are mapped onto variables --> Make generate_sfcdecl_c stateless (i.e. does not depend on order by which it is called).
|
changeset |
files
|
2014-07-31 |
mjsousa |
Add support for the 'NULL' keyword, defined in version 3 of IEC 61131-3.
|
changeset |
files
|
2014-07-29 |
mjsousa |
for option '-Op' (generate <pouname>.h/c): add '#include <pouname>.h' to the .c file, and '#ifdef <pouname>_H' to the .h file
|
changeset |
files
|
2014-07-25 |
mjsousa |
Ass include of iec_std_lib.h in POUS.h file.
|
changeset |
files
|
2014-07-21 |
mjsousa |
Add support for implicitly declared REF_TO datatypes.
|
changeset |
files
|
2014-07-20 |
mjsousa |
With -Op option --> Place implicitly defined datatypes in the .h file corresponding to the POU where they are used.
|
changeset |
files
|
2014-07-20 |
mjsousa |
Add name of POU as prefix to names of implicitly defined datatypes
|
changeset |
files
|
2014-07-20 |
mjsousa |
Implicitly defined array datatypes use new naming method (greatly simplifies stage 4 code).
|
changeset |
files
|
2014-07-20 |
mjsousa |
array_specification_c may be used as a datatype! Add it to spec_init_separator_c
|
changeset |
files
|
2014-07-13 |
mjsousa |
Change REF() operator to return the correct REF_TO datatype datatype.
|
changeset |
files
|
2014-07-13 |
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).
|
changeset |
files
|
2014-07-13 |
mjsousa |
Add support for REF_TO derived datatypes (along with datatype verification)
|
changeset |
files
|
2014-07-06 |
mjsousa |
Add option to place each POU in a distinct .c and .h file pair.
|
changeset |
files
|
2014-07-06 |
mjsousa |
code re-organisation. Preparing for the changes to come in the next commit (one C file for each POU)
|
changeset |
files
|
2014-07-06 |
mjsousa |
Remove un-used parameter from class constructor.
|
changeset |
files
|
2014-07-06 |
mjsousa |
Move standard FBs to a pre-converted C file, insted of converting them every time along with the IEC source.
|
changeset |
files
|
2014-07-06 |
mjsousa |
Move library files compiled to C to their own subdiectory.
|
changeset |
files
|
2014-07-06 |
mjsousa |
Fix stupid mistake in previous commit (use 'long double' instead of 'ld' in istandard library macro)
|
changeset |
files
|
2014-07-05 |
mjsousa |
merge
|
changeset |
files
|
2014-07-05 |
mjsousa |
Update build/compile instructions to reflect the fact that autoconf needs to be executed.
|
changeset |
files
|
2014-07-05 |
mjsousa |
Fix time conversion function in std library, and change into macro (so it may be used in variable initialisations)
|
changeset |
files
|
2014-06-01 |
mjsousa |
Add support for the stepname.T syntax.
|
changeset |
files
|
2014-06-01 |
mjsousa |
Change the name of the variable with the step state to stepname.X (in the generated VARIABLES.csv file)
|
changeset |
files
|
2014-05-31 |
mjsousa |
Add support for Stepname.X syntax.
|
changeset |
files
|
2014-05-31 |
mjsousa |
Remove dead code previously left in by mistake.
|
changeset |
files
|
2014-05-29 |
mjsousa |
Add error message for invalid datatype of transition condition. Generalize datatype narrowing algorithm for transition conditions.
|
changeset |
files
|
2014-05-28 |
Edouard Tisserant |
merge
|
changeset |
files
|
2014-05-28 |
Edouard Tisserant |
closed temporary fix branch
|
changeset |
files
|
2014-05-20 |
mjsousa |
Check VAR_EXTERN variables declared in FBs instantiated in a Program (and recursively too - FBs in FBs).
|
changeset |
files
|
2014-05-20 |
mjsousa |
Fix typo in as yet dormant code (related to REF_TO keyword, that is not yet active)
|
changeset |
files
|
2014-05-08 |
mjsousa |
Fix compilation error on platforms where real64_t is mapped onto 'long double'
|
changeset |
files
|
2014-04-08 |
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)
|
changeset |
files
|
2014-04-04 |
mjsousa |
Remove call to type_is_complex() in ST code generation.
|
changeset |
files
|
2014-03-31 |
mjsousa |
A little code cleanup (reduce number of possible variable generation states)
|
changeset |
files
|
2014-03-30 |
mjsousa |
Finish: Change order of SET_xxx() macros. (this will allow me to simplify the print_setter() methods later on)
|
changeset |
files
|
2014-03-29 |
mjsousa |
Change order of SET_xxx() macros. (this will allow me to simplify the print_setter() methods later on)
|
changeset |
files
|
2014-03-27 |
Edouard Tisserant |
More static declarations in POUS.c in order to avoid conflicting symbol definitions with new POUS.c inclusion scheme
|
changeset |
files
|
2014-03-26 |
Edouard Tisserant |
Fix multiple resources support, POUS.c now only contain static definitions. POUS.c is included in configuration C code as well as in resources to allow GLOBAL FBs to be declared in configurations
|
changeset |
files
|
2014-03-20 |
Edouard Tisserant |
Disable stage4 options with on windows since getsuboptr isn't supported in mingw
|
changeset |
files
|
2014-03-20 |
Edouard Tisserant |
merge
|
changeset |
files
|
2014-03-19 |
mjsousa |
Track of line number correctly when input file has code with very long lines.
|
changeset |
files
|
2014-03-19 |
mjsousa |
Fix memory leak in lexical parser.
|
changeset |
files
|
2014-03-16 |
mjsousa |
Make generation of #line directives optional.
|
changeset |
files
|
2014-03-16 |
mjsousa |
Insert #line directives in generated C code.
|
changeset |
files
|
2014-03-15 |
mjsousa |
Add support for parsing of REF_TO keyword (defined in IEC61131-3 v3). This support is currently inactive (in flex) until we get to add C code generation later on.
|
changeset |
files
|
2014-03-15 |
mjsousa |
Update files to be ignored by mercurial: ignore files generated by autoconf, directory test/, and *.orig
|
changeset |
files
|