prepare for npm
This commit is contained in:
parent
770bd49e49
commit
656a039a30
|
@ -0,0 +1,2 @@
|
|||
import { Unlambda } from './src/unlambda';
|
||||
export default Unlambda;
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "type-unlambda",
|
||||
"version": "0.1.0",
|
||||
"name": "@esolangs/type-unlambda",
|
||||
"version": "0.1.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "type-unlambda",
|
||||
"version": "0.1.0",
|
||||
"name": "@esolangs/type-unlambda",
|
||||
"version": "0.1.1",
|
||||
"description": "Unlambda interpreter implemented in TypeScript's type system",
|
||||
"keywords": [
|
||||
"Unlambda",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* index.ts - Unlambda interpreter entry.
|
||||
* unlambda.ts - Unlambda interpreter entry.
|
||||
*
|
||||
* @author CismonX <admin@cismon.net>
|
||||
* @license MIT
|
||||
|
@ -23,7 +23,5 @@ type EvalResultOutput<T> = T extends [infer F, [infer I, infer O, infer C]] ? O
|
|||
*
|
||||
* Returns the output of program execution, or `never` if something went wrong.
|
||||
*/
|
||||
type Unlambda<Code extends string, Input extends string = ''> =
|
||||
export type Unlambda<Code extends string, Input extends string = ''> =
|
||||
EvalResultOutput<Eval<ParseResultValue<Parse<Code>>, [], [Input, '', '']>>;
|
||||
|
||||
export default Unlambda;
|
Loading…
Reference in New Issue