On Wed, Jun 15, 2011 at 10:34:46AM -0500, Paul Johnson wrote:
On Tue, Jun 14, 2011 at 7:57 PM, Kevin Kofler kevin.kofler@chello.at wrote:
Kevin Kofler wrote:
In this case, the most obvious candidates would probably be FreePascal/Lazarus and GPC, but porting to a completely different, more commonly used language (I'd suggest C++) might also be worth considering for upstream (depending on how hard it is to port to a Free Pascal compiler).
Actually, maybe this can help: http://cp-dev.sourceforge.net/ (but it's 32- bit-x86-only and it might not be complete enough to build OpenBUGS yet, plus I still wonder why the .obc source files contain that binary metadata in addition to the Pascal-like code).
Kevin Kofler
Thanks for the link. I did not know about that project yet, but it does point over to the OpenBUGS site.
I agree with you it is a bit weird that the BUGS source code is wrapped into those binary odc files. The most favorable interpretation I can give this is that it is a form of literate programming, where the code is wrapped into documentation and so forth.
To the ODC haters: I agree, but...
This *is* an open source project, if you have the right editor. I ran the free BlackBox program inside Wine just now. Putting code into ODC files is not conceptually different from wrapping a CPP program into LaTeX source code, or wrapping R code into an Rnw file. The fact that the code is not just a flat ascii file you can read with Emacs does not make it less open.
Is there any editor on Fedora that can handle these files? I tried libreoffice but it appeared to crash.
Rich.