[Vala] code refactoring
- From: pancake <pancake youterm com>
- To: vala-list gnome org
- Subject: [Vala] code refactoring
- Date: Fri, 21 Jan 2011 19:33:32 +0100
recently i have discovered coccinelle. a tool to do refactoring on C code using ast manipulations in order to
generate global patches or massive modifications like eclipse does.. but in the shell.
libvala provides an ast of the full source which could permit implementing such modifications easily. mostly
because vala syntax is simpler than C one.
i have also been thinking in the possibility to have a commandline introspection tool that allowed me to list
methods from classes, etc.. but integrated working with source and binding files. this will perfmit to create
autocompletion support for vim easily, or just querying the project from commandline to get list of items
(vars,enums...)
my questions are: do somebody did it already? is somebody going to do it? i dont have much time atm. but i
would love to discuss it.
--pancake
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]