A language which was used by Figma until recently. It compiles to JavaScript or C#.
Why and how Figma migrated from Skew to Typescript.
Differences between Skew and TypeScript
Example from the homepage:
# Execution starts at the entry point @entry def fizzBuzz { for i in 1..101 { var text = mod(i, 3, "Fizz") + mod(i, 5, "Buzz") document.write((text == "" ? i.toString : text) + "\n") } } # The compiler inlines this function in release mode def mod(i int, n int, text string) string { return i % n == 0 ? text : "" } # Imported declarations are just for type checking @import namespace document { def write(text string) }
You must log in or register to comment.