Re: [Vala] View AST of source
Luca Bruno lethalman88@... writes: Care to share your changes to make it work? It wasn't complicated, I just removed all the parts that threw an error. It probably needs more work, but it runs. Here's the patch. https://gist.github.com/RedHatter/7684439 ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] View AST of source
Applied thanks. On Wed, Nov 27, 2013 at 11:50 PM, Christian Johnson _...@mail.com wrote: Luca Bruno lethalman88@... writes: Care to share your changes to make it work? It wasn't complicated, I just removed all the parts that threw an error. It probably needs more work, but it runs. Here's the patch. https://gist.github.com/RedHatter/7684439 ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list -- www.debian.org - The Universal Operating System ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] View AST of source
Care to share your changes to make it work? :-) On Sat, Nov 23, 2013 at 1:56 AM, Christian Johnson _...@mail.com wrote: Luca Bruno lethalman88@... writes: Also there's a tool valag for graphing the ast which I wrote for myself when learning the compiler, however it's not up-to-date. I shouldn't take too much effort to update. http://lethalman.hostei.com/valag.html Thank you! That works perfectly. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list -- www.debian.org - The Universal Operating System ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] View AST of source
Luca Bruno lethalman88@... writes: Also there's a tool valag for graphing the ast which I wrote for myself when learning the compiler, however it's not up-to-date. I shouldn't take too much effort to update. http://lethalman.hostei.com/valag.html Thank you! That works perfectly. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] View AST of source
You can --dump-tree. Also there's a tool valag for graphing the ast which I wrote for myself when learning the compiler, however it's not up-to-date. I shouldn't take too much effort to update. http://lethalman.hostei.com/valag.html On Thu, Nov 21, 2013 at 8:02 PM, Christian Johnson _...@mail.com wrote: Hi all! I would like to view the AST before it is transformed into ccode, before and after symbol resolution. Mostly to better understand the compilation possess. What would be the simplest way to do this? Are there any tools to help? If not, where would be the best place to insert some print statements into the vala source code to do so? Thank You. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list -- www.debian.org - The Universal Operating System ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list