Manipulating certain fields in a Cabal file used to be done through Cohatoe, but that is now removed. Scion should perform this task through the Cabal API.
The Cabal file format is not that complicated, and Leif already started a parser. Is it worth adding methods in Scion for reading/modifying a Cabal file? Exposing the file through JSON may be as complicated as having a parser/modifier in Eclipse. I wouldn't think having native Java support of Cabal files is too much duplication.
You could well be right. I haven't looked at it in detail. If the parser from Distribution.Simple is readable enough (it probably is) then it should be straightforward to port it to Java.
Fixed in JP's branch (git://github.com/JPMoresmau/eclipsefp.git). We have a full Cabal parser in Java.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.