-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add constant arrays, streams and unions #1
Comments
current version (as described in BNF) seems to be not really useful so I decided to use Sisal 2.0 arrays as the base. Related article is "A formal semantics for Sisal arrays" by Isabelle Attali et al according to BNF array constant should look like: array optional_array_id [optional_array_type] {_optional_first_index; _optional_array_list} in Sisial 3.0 description document ";" is replaced by "!" and multidimensional array is always array of arrays |
_array_part_list represent array parts separated by ";" if there is only one part -- it should be something like 1,2,3. If not, something like 8.. : [1,2,3] or [1,2,3] : 8 (for three-dimensional array). Or it can be "otherwise". Of course there are lot situations when the definition syntax will be correct but ambiguous or meaningless. for further examples check out the article |
currently only array[integer] [1:1,2,3] one-dimension arrays are implemented, more to be done |
No description provided.
The text was updated successfully, but these errors were encountered: