Skip to content

Add Natural numbers with refactored expressions#46

Merged
EnricoGhiorzi merged 8 commits intomainfrom
natural
Apr 6, 2026
Merged

Add Natural numbers with refactored expressions#46
EnricoGhiorzi merged 8 commits intomainfrom
natural

Conversation

@EnricoGhiorzi
Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
…tibility

- Allow floor operator for Integer and Natural arguments, though it does nothing
- Include a warning about this

Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
- Natural numbers are now used instead of Integers as indexes for events etc.

Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
- `new_var` API takes value, not `Expression`
- reintroduce expression context checks
- add missing documentation

Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
@EnricoGhiorzi EnricoGhiorzi merged commit 191d601 into main Apr 6, 2026
2 checks passed
@EnricoGhiorzi EnricoGhiorzi deleted the natural branch April 6, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant