From 07cb2d6c9febe00d1025d7f6aeb3ce92b6eb4fbe Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 15 Jan 2023 16:27:15 +0530 Subject: chore: adds test command --- README.md | 14 +++++++++----- package.json | 1 + 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4f6900c..66c5775 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # TS Types lang A runtime for typescript's **type system** that turns it into a **general purpose**, **purely functional** programming language with effects! + ## Documentation - [stdlib reference](./docs/modules.md) - [examples](./examples/) @@ -12,9 +13,8 @@ A runtime for typescript's **type system** that turns it into a **general purpos * error handling * test runner * mutable references - * evaluate js expression + * js ffi * get cli args, env vars - * define custom effects ## Example @@ -51,6 +51,7 @@ interface HandleResponseK extends Kind1 { } ``` + ## Run a types-lang module Install it - @@ -71,11 +72,14 @@ yarn exec tsr run ./examples/guess-number.ts ## FAQ #### Why? -I dunno +Why not? #### How? -I dunno +Why? #### What? -I dunno +What? + +#### Should I use this? +No diff --git a/package.json b/package.json index f3d2577..92dd0ef 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "build": "tsc", "cli": "ts-node src/index.ts", "docs": "typedoc --plugin typedoc-plugin-markdown ./stdlib/*.ts", + "test:stdlib": "yarn cli run ./tests/builtins.spec.ts", "format": "prettier --write ./**/*.ts", "postinstall": "yarn build", "prepublish": "yarn build" -- cgit v1.3.1