From 60d64d6917f17de83ecd5c6c4c8d666866723f51 Mon Sep 17 00:00:00 2001 From: CismonX Date: Fri, 6 Nov 2020 20:08:09 +0800 Subject: [PATCH] Update README --- README.md | 7 ++++--- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5d2c463..df0eafe 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ type-unlambda - [Unlambda](http://www.madore.org/~david/programs/unlambda) inter Installation: ```sh +npm install --save-dev typescript@next npm install --save-dev @esolangs/type-unlambda ``` @@ -28,7 +29,7 @@ Screenshots: ## Notes -You're lilely to get the following error when trying to run a program with type-unlambda: +You're likely to get the following error when trying to run a program with type-unlambda: > Type instantiation is excessively deep and possibly infinite.ts(2589). @@ -43,6 +44,6 @@ if (instantiationDepth === 50 || instantiationCount >= 5000000) { } ``` -You may expect that there is an option somewhere where this limit can be configured, like `-ftemplate-depth=n` in gcc/clang. Unfortuanately, there isn't, [and it's likely to stay that way](https://github.com/microsoft/TypeScript/pull/29602). +You may expect that there is an option somewhere where this limit can be configured, like `-ftemplate-depth=n` in gcc/clang. Unfortunately, there isn't, [and it's likely to stay that way](https://github.com/microsoft/TypeScript/pull/29602). -To workaround this limitation, we modify the code of `tsserver` or `tsc` and loosen these limits until the error no longer applies. Changing `instantiationDepth` to `1000` is sufficient to run the example above. +To workaround this limitation, we modify the code of `tsserver` or `tsc` in `node_modules` to loosen these limits until the error no longer applies. Changing `instantiationDepth` to `1000` is sufficient to run the example above. diff --git a/package-lock.json b/package-lock.json index a5f4713..b8b3abf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@esolangs/type-unlambda", - "version": "0.1.1", + "version": "0.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6ee7d51..a696e0b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@esolangs/type-unlambda", - "version": "0.1.1", + "version": "0.1.2", "description": "Unlambda interpreter implemented in TypeScript's type system", "keywords": [ "Unlambda",