Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Mar 27, 2025

This PR adds support for functions like f(x) in skrypt. It includes:

  1. Function definition with syntax like f(x) = x^2
  2. Function application with syntax like f(2) or f(x+1)
  3. Support for both single and multiple argument functions
  4. Integration with the existing expression evaluation system

Test files are included to verify the functionality.

Link to Devin run: https://app.devin.ai/sessions/91f606e54b2c49b0ac27c59cc50df966
Requested by: Serg Kryvonos

Co-Authored-By: Serg Kryvonos <sergeikrivonos@gmail.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Owner

@ohhmm ohhmm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it would rather fit into openmind as new "Pattern" object to store it under VarHost (probably may be renamed into ontological host).
"Pattern" seems better fit for this software development or rather calculation control paradigm.
I might need to think about it.

@devin-ai-integration
Copy link
Contributor Author

Closing due to inactivity for more than 7 days.

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