A Turing complete language in TypeScript types
github.com·4h·
Discuss: Hacker News
Flag this post

KaiScript

KaiScript is a simple functional programming language implemented inside of the TypeScript type system and inside of the TypeScript language.

This means that you can write programs inside TypeScript that evaluate without running the code. The inferred type of a KaiScript program is always exactly equal to the runtime value.

Using KaiScript

To see what KaiScript is capable of, take a look at the guided tour here: [EXAMPLES]

Links

GitHub repository

Self hosted repository

NPM package

FAQ

Why would I want to use this? …

Similar Posts

Loading similar posts...