├── .eslintrc ├── .gitattributes ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── pull_request_template.md └── workflows │ ├── ci.yml │ └── test-pr.yml ├── .gitignore ├── .husky ├── pre-commit └── pre-push ├── .npmignore ├── .prettierignore ├── .prettierrc ├── ARCHITECTURE.md ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── SECURITY.md ├── bin ├── README.md └── kin.ts ├── contributing.md ├── examples ├── arrays.kin ├── conditional-statement.kin ├── functions.kin ├── io.kin ├── loops.kin ├── objects.kin └── switch.kin ├── grammar.bnf ├── package.json ├── public └── kin-logo.svg ├── renovate.json ├── src ├── index.ts ├── lexer │ ├── lexer.ts │ └── tokens.ts ├── lib │ └── log.ts ├── parser │ ├── ast.ts │ └── parser.ts └── runtime │ ├── environment.ts │ ├── eval │ ├── expressions.ts │ └── statements.ts │ ├── globals.ts │ ├── interpreter.ts │ ├── print.ts │ └── values.ts ├── tests ├── lexer.test.ts ├── parser.test.ts └── switch.test.ts └── tsconfig.json /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/test-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.github/workflows/test-pr.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.husky/pre-push -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | build/ 2 | dist/ 3 | node_modules/ 4 | coverage/ -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/.prettierrc -------------------------------------------------------------------------------- /ARCHITECTURE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/ARCHITECTURE.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/SECURITY.md -------------------------------------------------------------------------------- /bin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/bin/README.md -------------------------------------------------------------------------------- /bin/kin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/bin/kin.ts -------------------------------------------------------------------------------- /contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/contributing.md -------------------------------------------------------------------------------- /examples/arrays.kin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/examples/arrays.kin -------------------------------------------------------------------------------- /examples/conditional-statement.kin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/examples/conditional-statement.kin -------------------------------------------------------------------------------- /examples/functions.kin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/examples/functions.kin -------------------------------------------------------------------------------- /examples/io.kin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/examples/io.kin -------------------------------------------------------------------------------- /examples/loops.kin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/examples/loops.kin -------------------------------------------------------------------------------- /examples/objects.kin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/examples/objects.kin -------------------------------------------------------------------------------- /examples/switch.kin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/examples/switch.kin -------------------------------------------------------------------------------- /grammar.bnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/grammar.bnf -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/package.json -------------------------------------------------------------------------------- /public/kin-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/public/kin-logo.svg -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/renovate.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/lexer/lexer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/lexer/lexer.ts -------------------------------------------------------------------------------- /src/lexer/tokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/lexer/tokens.ts -------------------------------------------------------------------------------- /src/lib/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/lib/log.ts -------------------------------------------------------------------------------- /src/parser/ast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/parser/ast.ts -------------------------------------------------------------------------------- /src/parser/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/parser/parser.ts -------------------------------------------------------------------------------- /src/runtime/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/runtime/environment.ts -------------------------------------------------------------------------------- /src/runtime/eval/expressions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/runtime/eval/expressions.ts -------------------------------------------------------------------------------- /src/runtime/eval/statements.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/runtime/eval/statements.ts -------------------------------------------------------------------------------- /src/runtime/globals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/runtime/globals.ts -------------------------------------------------------------------------------- /src/runtime/interpreter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/runtime/interpreter.ts -------------------------------------------------------------------------------- /src/runtime/print.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/runtime/print.ts -------------------------------------------------------------------------------- /src/runtime/values.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/src/runtime/values.ts -------------------------------------------------------------------------------- /tests/lexer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/tests/lexer.test.ts -------------------------------------------------------------------------------- /tests/parser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/tests/parser.test.ts -------------------------------------------------------------------------------- /tests/switch.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/tests/switch.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kin-lang/kin/HEAD/tsconfig.json --------------------------------------------------------------------------------