Hi Jasper,
This looks potentially quite interesting. I cloned the two repositories, but I
was not able to get things to run. Is it possible that your documentation
might omit some important steps in getting this set up?
Here's what I did:
Clone the repositories
Add the path as suggested in the readme for julia-glplot, and the path as
suggested in the readme for parse-c-headers/src/julia-src
julia> load("continuous_plot_gl.j")
Histogram not defined
in load at util.jl:230
in load at util.jl:242
at /tmp/julia-glplot/julia-glplot/continuous_plot_gl.j:119
in load at util.jl:253
From the bash prompt:
$ sh run.sh
real_path: No such file or directory
in load at util.jl:253
in process_options at client.jl:178
in _start at client.jl:227
It's pretty easy to guess that some of the dependencies aren't being loaded.
Might I suggest putting require("histogram.j") and any other dependencies in
any top-level functions (those meant to be run from the command line)?
Other things that would be good to clarify:
Does this run on Linux? OSX? I don't even know if it's supposed to work for my
platform.
Does this depend on external libraries? For example, in the parse-c-headers
you mention SDL. Is this a dependency? Many people won't have it installed, so
it would be worth mentioning such things.
How about something that says, "If you want to try it out, set these paths,
start Julia, and type <XYZ> at the prompt"? It would be lovely if I knew which
of these functions could be expected to produce some fun output.
Is there anything besides adding the path that needs to be done for the parse-
c repository? For example, are there functions there that I need to run before
I can expect the glplot functions to work?
There may be other points of potential confusion, but these are a start.
--Tim