You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to antlr-di...@googlegroups.com
Hello everyone!
I am working on my own language and am looking to generate LLVM machine code from my language and was finding it a bit tricky to connect my compiled ANTLR4 lexer and parser with an LLVMlite compiler. Does anyone have any suggestions or ideas on how to solve this issue?
Thanks.
Martin Mirchev
unread,
Oct 3, 2020, 11:45:20 AM10/3/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to antlr-discussion
Hi, I suggest using a visitor to walk the tree and generate IR. This will put most of the complexity in your visitor, but you can probably create some utility functions to reduce the complexity.