Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Arrays instantiated in configuration.st transpile incorrectly #230

Closed
Specter-13 opened this issue Sep 20, 2023 · 3 comments
Closed
Assignees
Labels
bug Something isn't working ixc-compiler question Further information is requested

Comments

@Specter-13
Copy link
Collaborator

Describe the bug
When I define array in GLOBAL section in configuration.st file, compiler transpiles it with missing information

To Reproduce
Steps to reproduce the behavior:

  1. add for example myArrayString: ARRAY[0..10] OF STRING; in configuration.st file
  2. run ixc
  3. build the project and see errors

Expected behavior
arrays should be transpiled correctly

Screenshots
image

@Specter-13 Specter-13 added bug Something isn't working question Further information is requested ixc-compiler labels Sep 20, 2023
@PTKu
Copy link
Member

PTKu commented Sep 20, 2023

/cib

@IX-BOT
Copy link
Contributor

IX-BOT commented Sep 20, 2023

IX-BOT pushed a commit that referenced this issue Sep 20, 2023
PTKu added a commit that referenced this issue Sep 20, 2023
…project for simple data exchange (#215)

* Create draft PR for #214

* wip

* wip

* added experimental implementation of recursive array iteration, wip

* added logic for handling arrays recursively, added bool for web api login to stay connected

* added intitial implementation of tiaroot serializer, wip

* code hugely refactored, added simple tool for generating serialized tiarootobject

* wip on test and refactoring

* added implementation of scanning by symbol for tia2ax, refactoring, docu and bug fixin

* Create draft PR for #230

* fixes array generation in globals

* uncomment arrays

* parent of an array declared in config is now this.Connector

* added ignoring multidimensional arrays

* remove arrays for successful build

* test fix

---------

Co-authored-by: PTKu <PTKu@users.noreply.github.com>
Co-authored-by: Peter <61538034+PTKu@users.noreply.github.com>
Co-authored-by: Specter-13 <56168909+Specter-13@users.noreply.github.com>
PTKu added a commit that referenced this issue Sep 20, 2023
…al project for simple data exchange (#232)

* Create draft PR for #214

* wip

* wip

* added experimental implementation of recursive array iteration, wip

* added logic for handling arrays recursively, added bool for web api login to stay connected

* added intitial implementation of tiaroot serializer, wip

* code hugely refactored, added simple tool for generating serialized tiarootobject

* wip on test and refactoring

* added implementation of scanning by symbol for tia2ax, refactoring, docu and bug fixin

* Create draft PR for #230

* fixes array generation in globals

* uncomment arrays

* parent of an array declared in config is now this.Connector

* added ignoring multidimensional arrays

* remove arrays for successful build

* test fix

* adds package info

---------

Co-authored-by: PTKu <PTKu@users.noreply.github.com>
Co-authored-by: Specter-13 <56168909+Specter-13@users.noreply.github.com>
@PTKu
Copy link
Member

PTKu commented Sep 20, 2023

Closed by #232 #215

@PTKu PTKu closed this as completed Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ixc-compiler question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants