Skip to content

Fix function argument parsing#18

Merged
davassi merged 1 commit intomasterfrom
fix-incorrect-max-function-result
Jun 7, 2025
Merged

Fix function argument parsing#18
davassi merged 1 commit intomasterfrom
fix-incorrect-max-function-result

Conversation

@davassi
Copy link
Owner

@davassi davassi commented Jun 7, 2025

Summary

  • handle , in expression parser
  • tokenize comma as Token::Comma
  • treat commas in the shunting-yard algorithm

Testing

  • cargo test --quiet
  • echo -e "max(2^3,3^2)\nquit" | cargo run --quiet --bin yarer --

https://chatgpt.com/codex/tasks/task_e_684411ba85308326a2030d798813c5ed

@davassi davassi merged commit b1edabd into master Jun 7, 2025
1 check passed
@davassi davassi deleted the fix-incorrect-max-function-result branch June 7, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant