Search Unity

other CIL languages

Discussion in 'Editor & General Support' started by sleepyCat, Jan 8, 2008.

  1. sleepyCat

    sleepyCat

    Joined:
    Jun 3, 2005
    Posts:
    39
    I am currently playing around with F#. Compiled F# code works fine, but I wondered if it is possible to promote F# to first class status (i.e. being able to create/edit/compile F# scripts within the IDE).

    I understand that this is not supported, but it never hurts to ask and there seems to be some demand for other languages as well.

    My guess is to:

    1. copy the 'F# compiler dlls and exes' into the Mono.framework/MonoCompiler.framework folders
    2. patch the compile_any.pl script (ok with the indy license?)
    3. add a "NewBehaviourScript.fs" (and "fs Script Icon.png"?) in the Resources folder
    4. use F-Script/Nu to create a new F# script within the IDE (ok with the indy license?)

    or replace the files for Boo with their F# equivalents and hope that the IDE will not notice the fraud?

    Thanks, Alex