Typed code, three targets
TypeRB
One portable language.
Go, Ruby, and TypeScript.
TypeRB combines static types with concise syntax, portable semantics, and explicit target boundaries.
hello.trb
v0.4.10-dev
def greeting(name: String): String
return "Hello, TypeRB!" if name.empty?()
return "Hello, " + name + "!"
end
def main()
puts(greeting("Ada"))
return
end
$ Hello, Ada!
Portable by design
Choose a target without changing the language.
GoNative binaries and services
RubyServer and application development
TypeScriptBrowser and server applications