Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Typia kinda does this, but currently only has a Typescript -> Typescript compiler.


Yeah that's what I'd look into. Maybe TS -> Json Schema -> target language.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: