[I already replied to Igor directly, but here are my thoughts, so that others can comment too]
The proposal looks promising! I think adding some new Mono-specific templates, fixing debugging and integrating the binding with official MonoDevelop distribution sounds like a good aim.
One thing that would be good to do is to figure out how exactly the integration should be done – I think you can ask about that on the MonoDevelop mailing list and they’ll send you suggestions on what exactly needs to be done (and you could then include that in your proposal). Another idea would be to spend some time on testing – again, ask on the MonoDevelop mailing list, but it would be good to have some tests that cover the stability of the F# binding. Perhaps MonoDevelop already has some infrastructure that you could use – if not, it might be an interesting and useful work item to include.
Tomas
--
You received this message because you are subscribed to the Google
Groups "FSharp Open Source Community" group.
To post to this group, send email to fsharp-o...@googlegroups.com
To unsubscribe from this group, send email to
fsharp-opensou...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fsharp-opensource?hl=en
The proposal looks promising! I think adding some new Mono-specific templates, fixing debugging and integrating the binding with official MonoDevelop distribution sounds like a good aim.
One thing that would be good to do is to figure out how exactly the integration should be done – I think you can ask about that on the MonoDevelop mailing list and they’ll send you suggestions on what exactly needs to be done (and you could then include that in your proposal). Another idea would be to spend some time on testing – again, ask on the MonoDevelop mailing list, but it would be good to have some tests that cover the stability of the F# binding. Perhaps MonoDevelop already has some infrastructure that you could use – if not, it might be an interesting and useful work item to include.
Usually, all students in Mono GSoC work in a separate repo on github during the summer, in forks of the respective projects (see http://github.com/mono-soc-2011 for last years projects). Once the summer is done, the code can be merged back into the main repo. We're looking for continued contributions to the community, and many of our soc students continue working on the projects and merge things by themselves after the program is done. How the code ends up back in the main repo is not that important, if a project is successfully completed it's usually straightforward to merge it.
Tests are good :D There's some nunit integration going on iirc, but even if there's no unit testing infrastructure integrated in MD right now, creating unit tests projects that run manually is also good.
WRT shipping the addin in MD, MD supports installing external addins from an addin repository, so that may be a good first step, and from there adding it to the default list of shipped addins is a simple step. We can cross that bridge when we get there :)
It seems that there is some work along these lines in the many forks on github. For example, this commit (https://github.com/karthikvishnu/fsharpbinding/commit/1613da1b7808369f193cfa4a29369ad0820d29c8) adds a library template.
It seems that there is some work along these lines in the many forks on github. For example, this commit (https://github.com/karthikvishnu/fsharpbinding/commit/1613da1b7808369f193cfa4a29369ad0820d29c8) adds a library template.
I know that and I want to implement gtk fsharp app template.
Great, I think that would be a useful addition. I'll be happy to help test your changes (on Linux) over the summer.
--
Hi,
the ConfigurationParameters class used to require these two methods (they were used to add/remove defined symbols and they were probably called by some other component). It looks like they are no longer needed – in general, the best approach is to check how this is done in other integrations (search the MonoDevelop source code for CSharpCompilerParameters, which is the C# equivalent of this type).
Regarding debugging (mentioned earlier), the F# compiler for Mono is able to generate MDB debug symbols and if you use the command line compiler (mdb) then it should work – see this guide: http://www.mono-project.com/Guide:Debugger.
In MonoDevelop, we’d like to use the soft debugger. This should work automatically when the compiler produces debug symbols, but for some reason it does not happen. I was not able to find the place in MonoDevelop where it launches the debugger (to find out why this does not happen for F#). The MonoDevelop developer mailing list/IRC should be a good palce to ask about this. You’ll need to build MonoDevelop from source to get some debug symbols and then you should be able to track this down.
I agree that getting the debugger to work should be one of the priorities! (Some Gtk# and other templates should be more fun and updating it to work with the latest release and integrating it with the main branch would be another priority...)
Hope this helps!
Tomas
Hi,
I’m not familiar with the C# Gtk template, but I think MonoDevelop has some visual designer for Gtk that you can use with C#. As far as I know, this wouldn’t work out-of-the box with F#. I’m not sure if this is a key issue – perhaps improving F# Interactive would be more important for the typical F# uses – but if you’re interested in getting that to work, then try checking out how the designer works in C#.
T.