Show HN: Scala-ts – Scala to TypeScript compiler
github.com
github.com
"scala-ts is a simple tool which can generate TypeScript interfaces and classes from Scala case classes."
Not really what I call a compiler. This is more a REST endpoint consumer generator.
PS: for the reverse exercise, here is a syntactical TypeScript to Scala translator: https://github.com/densh/TypeScript/tree/topic/scala-emitter...
Further, it is my belief that your project actually was a compiler, whether you thought of it as that or not!
(I actually recommend pushing that line of thought all the way through, and using something like thrift (with Scrooge) for this kind of problem. The thrift compiler is a compiler and the thrift IDL is a defined and specified language rather than an ad-hoc subset of Scala)
scala-ts is a simple tool which can generate TypeScript interfaces and classes from Scala case classes