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!
Start here Documentation Language guides, application packages, tooling, lint rules, and reference material. Learn A Tour of TypeRB Work through guided lessons that compile and evaluate directly in the browser. Experiment Playground Write, evaluate, format, and inspect generated Go, Ruby, or TypeScript.

Portable by design

Choose a target without changing the language.

GoNative binaries and services
RubyServer and application development
TypeScriptBrowser and server applications