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

Cairo: Support complex data types in program input #2822

Merged
merged 9 commits into from
Jun 13, 2024
Merged

Conversation

lukaszcz
Copy link
Collaborator

@lukaszcz lukaszcz commented Jun 8, 2024

  • Types of arguments to main can now be field elements, numbers, booleans and (nested) records and lists.
  • Type of main result can now be a record of field elements, numbers and booleans. Lists or nested records are not allowed for the result.
  • Adds checks for the type of main in the Cairo pipeline.
  • Requires updating juvix-cairo-vm. The input can be provided in a Json file via the --program_input option of juvix-cairo-vm.

@lukaszcz lukaszcz added the cairo label Jun 8, 2024
@lukaszcz lukaszcz self-assigned this Jun 8, 2024
@lukaszcz lukaszcz force-pushed the complex-cairo-input branch from fa42c07 to 5d38878 Compare June 10, 2024 08:41
@lukaszcz lukaszcz marked this pull request as ready for review June 12, 2024 15:07
@lukaszcz lukaszcz force-pushed the complex-cairo-input branch from 1271f40 to b14e908 Compare June 12, 2024 15:48
@paulcadman paulcadman added this to the 0.6.3 milestone Jun 13, 2024
@lukaszcz lukaszcz merged commit 8410153 into main Jun 13, 2024
4 checks passed
@lukaszcz lukaszcz deleted the complex-cairo-input branch June 13, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support complex data types as arguments/result of main for the Cairo backend
2 participants