Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dpeckett
· 1y ago · 0 comments
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.
Comments
[–]
IggleSniggle
1y ago
Typia kinda does this, but currently only has a Typescript -> Typescript compiler.
[–]
crabmusket
1y ago
Yeah that's what I'd look into. Maybe TS -> Json Schema -> target language.