components/prism-fsharp.js


Log

Author Commit Date CI Message
Michael Schmidt 00bfc969 2018-12-01T21:27:42 Improve F# (#1573) Implement a few F# features: 1. [Attributes](https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/attributes). 2. [Computation expressions](https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/computation-expressions) (resolves #1459). 3. Class names for type annotations, [casts ](https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/casting-and-conversions)(not including `as`), definitions and instancing (resolves #1460). 4. Proper support for ([nullable](https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/symbol-and-operator-reference/nullable-operators)) [operators](https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/symbol-and-operator-reference/).
Michael Schmidt f96b083a 2018-09-23T15:20:05 F#: Chars can only contain one character (#1570) This PR fixes #1480.
Golmote 12c0b20a 2018-03-08T22:19:01 Decouple minus sign from number pattern in most languages. Close #1110
Golmote 7753fc43 2017-10-22T14:34:43 F#: Regexp optimisation + don't use captures if not needed
Valtteri Laitinen 8aa2cc4a 2017-05-08T13:56:50 Replace [\w\W] with [\s\S] and [0-9] with \d in regexes (#1107) * Replace [\w\W] with [^] and [0-9] with \d in regexes * Replace [\s\S] with [^] * Replace [^] with [\s\S]
Golmote 7549eccb 2017-02-08T23:23:24 Add missing greedy config in APL, AutoIt, Dart, Elixir, Erlang, F#, Go, Haxe, Icon, Inform7, J, Makefile, Mel, Nim, Nix, NSIS, OCaml, Oz, Pari/GP, Parser, Pascal, Perl, Prolog, Pure, Qore, R, Rip, Ruby, Rust, SAS, Scheme, SQL, Stylus, Tcl and Verilog
Chaos Shen ad316a36 2015-10-10T17:51:31 Improve highlight: - add highlight for directives in C/C++ macros and C#/F# preprocessor lines; - add some predefined constants in C; - remove 'true' and 'false' from keyword list in JavaScript, they should be considered as boolean constant.
Golmote 0aa0791f 2015-08-19T08:42:00 F#: fix numbers
Golmote fdc94775 2015-08-19T08:34:03 F#: insert preprocessor before keyword + don't allow line feeds before #
Golmote 0101c890 2015-08-19T08:26:09 F#: improve string pattern
Golmote 09f20052 2015-08-19T08:07:32 F#: fix keywords containing exclamation mark
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Simon Reynolds 9b88775c 2015-02-13T08:31:45 Change numbers regexes from objects to simple array
Simon Reynolds 9a2c814a 2015-02-08T17:05:29 Correcting numbers regexes as per suggestions
Simon Reynolds eba71771 2015-02-08T13:17:02 Reversing change in examples.js, simplifying regexes and expanding numbers section in example per suggestion
Simon Reynolds 2664796c 2015-02-07T16:44:50 Removed newline consumption in single line comment and split numbers regex to handle hex, binary, integer and decimal numbers separately
Simon Reynolds 889cfeb1 2015-02-06T22:05:44 Added hexadecimal support
Simon Reynolds 45977784 2015-02-06T13:50:12 Added F# support and example Added F# support and example