Skip to content
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

Codegen update #75

Merged
merged 3 commits into from
Apr 19, 2024
Merged

Codegen update #75

merged 3 commits into from
Apr 19, 2024

Conversation

leoqiao18
Copy link

update codegen to produce full function definition for javascript and python

@leoqiao18
Copy link
Author

@santolucito can you confirm that this is what you expected out of the JavaScript and Python codegen?

-- controller logic
++ controller
++ "\n\n"
-- return next cells and outputs (using JS object)
Copy link
Member

Choose a reason for hiding this comment

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

isnt this just a dict in python?

Copy link
Author

Choose a reason for hiding this comment

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

Yea, the input and output to the python function are both dicts.

@santolucito
Copy link
Member

lgtm! this is however a breaking change to a lot of our tools. luckily (I guess?) no one really uses our tools anyway, but it does mean we either need to update moveCube/etc or just take them down.

@santolucito santolucito merged commit f62eb86 into master Apr 19, 2024
2 checks passed
@santolucito santolucito deleted the codegen-function branch April 19, 2024 22:21
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