Skip to content

Improve documentation and method names#164

Merged
jan-ferdinand merged 2 commits intomasterfrom
jfs/docs
Nov 21, 2025
Merged

Improve documentation and method names#164
jan-ferdinand merged 2 commits intomasterfrom
jfs/docs

Conversation

@jan-ferdinand
Copy link
Member

In particular:

  • BasicSnippet::input becomes BasicSnippet::parameters
  • BasicSnippet::output becomes BasicSnippet::return_vaues

This reduces the confusion between inputs to Triton VM (like public and secret input) and the inputs to a BasicSnippet.

Also, document BasicSnippet.

In particular:
- `BasicSnippet::input` becomes `BasicSnippet::parameters`
- `BasicSnippet::output` becomes `BasicSnippet::return_vaues`

This reduces the confusion between inputs to Triton VM (like public and
secret input) and the inputs to a `BasicSnippet`.
@jan-ferdinand jan-ferdinand linked an issue Nov 21, 2025 that may be closed by this pull request
@jan-ferdinand jan-ferdinand merged commit 9e07282 into master Nov 21, 2025
3 checks passed
@jan-ferdinand jan-ferdinand deleted the jfs/docs branch November 21, 2025 12:15
@skaunov
Copy link
Contributor

skaunov commented Nov 21, 2025

These names are significantly better than arguments!

It's a bit sad I have no idea how to be notified when neptune-core will switch to a version with this. I would rebase to it! X)

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.

"BasicSnippet::input could be BasicSnippet::arguments"

2 participants