Pygments

generic syntax highlighter


Ticket #353 (new enhancement)

Opened 5 months ago

Last modified 8 weeks ago

F# Lexer

Reported by: thatch Owned by: thatch
Priority: major Milestone: Someday
Component: lexers Keywords:
Cc:

Description

Turns out there's a new dot-net language, which uses the same general syntax as the existing ocaml lexer. This may be as simple as adding the file extension to the ocaml lexer, as I tested some example files already and got no misparses.

http://research.microsoft.com/fsharp/hellowinform.aspx

Change History

Changed 5 months ago by thatch

  • milestone changed from 0.11 to 0.12

Actually, having read the 1.9.4 spec draft (which is at the unversioned url, http://research.microsoft.com/fsharp/manual/spec.pdf) there are a lot of fiddly bits (in particular sections 3.2 and 3.3, covering end comment delimiters being allowed within strings inside comments, having two types of preprocessor directives (one designed for mixing ocaml and F#, which do have slightly different keyword sets), and of course unicode support. I don't think I'll get to it in time for 0.11.

Changed 8 weeks ago by gbrandl

  • milestone changed from 1.0 to Someday

Moving to "Someday".

Note: See TracTickets for help on using tickets.