Improves the operation on iterators + various aspects of GAML - #699
Conversation
Completely Fixes #478
…trix_with and clean useless operator signatures
- Makes list_with, matrix_with iterators (which take as input the index, either an int or a point). The previous syntax (w/o using the iterator variable remains the same) - Adds map_with (size, pair_expression) as an iterator with the int index as input.
|
Also working on closing #661 |
- removes 'my', 'the' as possible prefixes / '°' for the constants - Fixes #666, allowing more complex expressions to follow '.'
- type_of returns the declared type (or runtime type in case of literal) - actual_type_of always returns the runtime type
|
The current compilation issue is the addition of I tried to fix this without success, however removing this requirement fix the compilation and GAMA seems to work just fine. @AlexisDrogoul is it safe to remove it ? I'm not sure why you did explicitly add those packages there 🤔 |
- add `returns` as a facet of `do` (fixes #163) - deprecates `with` as a facet of `do` - correctly computes the type of actions and primitives used in `do` - creates a specialized `DoDescription` to speed up compilation.
Yes -- sorry. I left these packages because they are mandatory to compile the grammar, but forgot to remove them after. |
Remove useless dependencies (which were breaking the compilation)
|
There are still some error at validation but nothing appears in the log in the gha (@RoiArthurB any idea why) ? |
Addresses primarily #677 by correctly retrieving and setting the value of the temp iterators's variables.