File: HACKING

package info (click to toggle)
gtkgraph 0.6.2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,112 kB
  • ctags: 1,978
  • sloc: ansic: 24,063; sh: 7,341; makefile: 225; sed: 93; yacc: 83
file content (11 lines) | stat: -rw-r--r-- 728 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
Roll up your sleeves and jump in! See the file TODO for our task list. Send patches to gtkgraph@vitelus.com. Please read the PHILOSOPHY file for coding style requirements.

Here's some info about components of the program:

* Parser
Adapted from the bison multifunction calc example. C parts are in src/mathparse.c, yacc parts in src/mathparse.y. To generate the C code from the .y file, run bison with its name as the argument. This is only neccessary if you have modified it.

* UI
Straight GTK. I would have prefered to use C++, but that's not the recomended way to start GTK programming.
(For the record: I hate the GTK object model of doing OOP in C. The UNIX community needs to admit that C++ is better for some things.)