Skip to content

Deserialize analog#90

Closed
vishnu-m77 wants to merge 8 commits intov1.0from
deserialize_analog
Closed

Deserialize analog#90
vishnu-m77 wants to merge 8 commits intov1.0from
deserialize_analog

Conversation

@vishnu-m77
Copy link
Copy Markdown
Collaborator

@vishnu-m77 vishnu-m77 commented Apr 7, 2026

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Feature: oqd_core.frontend.analog.deserialize.py takes in a JSON file and generates the Analog code.

  • What is the current behavior? (You can also link to an open issue here)
    No deserializer to convert JSON into Analog Interface code.

  • What is the new behavior (if this is a feature change)?
    The Typer app oqd_core.frontend.analog.output has a new -d (deserialize) option which converts a JSON file into analog code.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    No breaking change.

  • Other information:
    N/A

@vishnu-m77
Copy link
Copy Markdown
Collaborator Author

vishnu-m77 commented Apr 7, 2026

Test the deserializer using:

python3 -m oqd_core.frontend.analog.output -d -i examples/analog/test.ast -o examples/analog/test.out

@vishnu-m77 vishnu-m77 closed this Apr 7, 2026
@vishnu-m77 vishnu-m77 deleted the deserialize_analog branch April 7, 2026 20:26
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