Skip to content

Example .force files #47

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

Merged
merged 6 commits into from
Apr 30, 2025
Merged

Example .force files #47

merged 6 commits into from
Apr 30, 2025

Conversation

GregT2207
Copy link
Contributor

Implements issue #35

  • Added a .force script to generate the Fibonacci sequence up to N terms
  • In doing this I discovered an issue with for loops not accepting a variable for the max, only a float literal
  • The new match expression in interpreter.rs handles both cases

@GregT2207
Copy link
Contributor Author

Just a reminder on this one

@mirdaki
Copy link
Owner

mirdaki commented Apr 16, 2025

Hey! Thanks for adding another example and fixing that bug! I'm on a trip right now, but once I'm back I'll take a look at it and get it merged

@mirdaki
Copy link
Owner

mirdaki commented Apr 30, 2025

Added a couple tests to match the logic update. Thank you!

@mirdaki mirdaki merged commit ec64e49 into mirdaki:main Apr 30, 2025
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.

2 participants