[cfe-users] Question about clang documentation or better a book

2019-06-20 Thread Steven Truppe via cfe-users
Hi everyone, i'm new to clang and i need to parse C++ code that can use custom c++ functions/variables i write myself and then i need a way to create my own AST that has access to the own defined functions/variables. I was not able to find a book about clang and my llvm book talks to less about

Re: [cfe-users] General Question

2019-06-19 Thread Steven Truppe via cfe-users
When i've created my own ast - how can i run the code in realtime ? On 19.06.19 16:49, Steven Truppe via cfe-users wrote: i'm writing a project where i want to have a graphical interface and be able to use nodes (think of nodes like functions) with in and output slots. where do i hav

Re: [cfe-users] General Question

2019-06-19 Thread Steven Truppe via cfe-users
i'm writing a project where i want to have a graphical interface and be able to use nodes (think of nodes like functions) with in and output slots. where do i have to start to create my own AST and then execute it at runtime ? On 19.06.19 16:20, Steven Truppe via cfe-users wrote: Hi eve

[cfe-users] General Question

2019-06-19 Thread Steven Truppe via cfe-users
Hi everyone, i want to use clang to create some kind of graphical programming language where you have nodes with atomic operations that you can connect (think of a node like a function with parameter and in and output nodes). now i found out clang creates the AST, how can i create my own AST so