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

[WIP] python wrapper for codegen #1466

Closed
wants to merge 37 commits into from
Closed

Conversation

ThakeeNathees
Copy link
Collaborator

from jaclang import *


class MyNode(JacNode):
    val:int = 0


class a(JacEdge):
    pass

class b(JacEdge):
    pass

class c(JacEdge):
    pass


Start = MyNode(5);
root.connect(Start, a) # root +:a:+> Start;
Start.connect(MyNode(10), b).connect(MyNode(15), c) # Start +:b:+> MyNode(10) +:c:+> MyNode(15);
Start.connect(MyNode(20), b).connect(MyNode(25), a) # Start +:b:+> MyNode(20) +:a:+> MyNode(25);

@ThakeeNathees ThakeeNathees changed the title python wrapper for codegen [WIP] python wrapper for codegen Nov 26, 2024
@ThakeeNathees
Copy link
Collaborator Author

Suppressed by #1477

@ThakeeNathees ThakeeNathees deleted the thakee-py-codegen-re branch December 17, 2024 19:27
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.

8 participants