Y
Hacker News
new
|
ask
|
show
|
jobs
by
dpeckett
542 days ago
Now that's an interesting thought, I wonder if you could use a modified subset of TypeScript to create a IDL/DDL for JSON-RPC. Then compile that schema into implementations for various target languages.
2 comments
IggleSniggle
542 days ago
Typia kinda does this, but currently only has a Typescript -> Typescript compiler.
link
crabmusket
541 days ago
Yeah that's what I'd look into. Maybe TS -> Json Schema -> target language.
link