ATD now supports TypeScript

ATD is a language for specifying typed interfaces for communicating across programming languages. It turns concrete type definitions (“schema”) into code for each language. This code can read and write JSON safely, relieving the user of worrying about the structure of the JSON data.

Starting from version 2.5.0, ATD provides atdts, a single executable that turns a file foo.atd into foo.ts. See the tutorial for an introduction. The programming languages targeted by ATD are now:

  • Java
  • OCaml
  • Python + mypy
  • ReScript (BuckleScript)
  • Scala
  • TypeScript

For an expert overview of the features that are currently supported, check out the test data:

See also the announcement for atdpy that we made a month ago.