Hello, I would like to create a GUI to help/guide users type in data according to a grammar. This GUI could be a tree/graph widget in which the nodes can only take certain values according to the corresponding rule in the grammar.
More specifically, when the user wants to create a new tree/graph, he needs to create the root and can only provide the starting rule. Once the root node is created the user can provide it's children etc, etc. I did some tinkering in Python with a tree grammar that outputs an AST. If I run the parser on some sample input, I do get a nice tree of type: antlr3.tree.CommonTree whose children and node type are available from the root. There must be a nicer way to do this without having to provide some input to the parser. Any ideas, recommendations or remarks would be greatly appreciated. Regards, Arye. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
