by Brian McKenna
This project appears to have gone dormant. It will be removed from the list soon unless new activity is noted.
Statically typed, functional language that compiles to JavaScript.

Roy is an experimental programming language that targets JavaScript. It tries to meld JavaScript semantics with some features common in static functional languages:

  • Damas-Hindley-Milner type inference
  • Whitespace significant syntax
  • Compile-time meta-programming
  • Simple tagged unions
  • Pattern matching
  • Structural typing
  • Monad syntax
let print x =
  console.log x

print "Hello"
print 100
print [1, 2, 3]

let log = console.log

log "Hello"
log 100
log [1, 2, 3]

// Lambdas
console.log ((\x -> x + 1) 100)
Information updated 08/28/15
View Comments