Skip to content

Conversation

@meso03
Copy link

@meso03 meso03 commented Oct 6, 2025

No description provided.

/// - `lazy_args`: optional indices of lazy arguments; use None for strict
/// - `pyfunc`: owned Python callable captured into this production
#[cfg(feature = "python")]
pub fn add_python_primitive(
Copy link
Collaborator

Choose a reason for hiding this comment

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

This function should not exist directly, instead, have a function create_python_production or something in py.rs, and then call .add_entry(create_python_production(...)) where you would call this.


/// by dreamegg::domain::Val so they don't appear here.
#[derive(Clone,Debug, PartialEq, Eq, Hash)]
pub enum PyVal {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This could potentially just be PyAny

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