Since my F# grammar and the simple support for the F# interactive (fsi) seems to be quite popular I have now created a project for it on Google Code:
http://code.google.com/p/fsharp-tmbundle/
I will publish instructions on how to use it and its dependencies there.
Just nu värderat 4.0 av 1 människor
december 7. 2008 08:17
Thanks for making this! I hope I can avoid VS as much as possible whilst learning and experimenting with F#, so the ability to do so in TextMate is a big help. Just one question, the following code: let totalInv (w: DblMergedToteWager) = let num_singles = w.MergedCombis |> List.map List.length |> List.fold_left (*) 1 decimal num_singles * w.Inv Breaks highlighting at the (*) in fold left... i.e. rest of document from that point onwards does not syntax highlight. I don't know if this is a bug in your grammar or if I am using poor F# style here (very likely!). Any ideas?
kinch
december 7. 2008 08:19
Also, I just noticed that the 'D' in 'DblMergedToteWager' is different colour to rest of word. Presumably type annotation has caused this? Is it a feature or a bug?
december 7. 2008 08:38
|> List.fold_left ( * ) 1 <--- does *not* break highlighting (i.e. works OK) if I put spaces around the *. (w : dblMergedToteWager) <--- highlights OK. (w : DblMergedToteWager) <---- highlights 'D' different colour to rest of word.
maj 3. 2009 09:28
Thanks for the feedback. (And sorry for the _late_ answear - I had turned of the notification by misstake...) I'll do my best to fix the grammar as soon as time permits. Regards, Johan Kullbom
kullbom
januari 8. 2010 15:58
I have now corrected the issue with (*) and "released" a fixed version of the grammar.
augusti 9. 2010 06:07
Thank you for making your TextMate bundle available. What is the keyboard shortcut for Eval? I don't recognize the character you used.
be7
“Languages shape the way we think, or don't.”
Mina sidor:
Publika projekt:
Sign in