fsprojects / FSharp.Compiler.PortaCode

The PortaCode F# code format and corresponding interpreter. Used by Fabulous and others.
Other
42 stars 11 forks source link

Complete operators, allow LiveCheck on types with Invoke checker #26

Closed dsyme closed 3 years ago

dsyme commented 3 years ago

This allows customizable live checkers e.g. for

[<LiveCheck>]
type Math() =

    [<LiveCheck( [| "NX1"; "NX2" |], [| "NX2" |] ) >]
    member _.Add(x: Tensor, y: Tensor) = x + y + 1.0