├── .envrc ├── .git-blame-ignore-revs ├── .github ├── dependabot.yml └── workflows │ ├── ci.yml │ ├── clean.yml │ ├── plugin.yml │ └── sourcegraph.yml ├── .gitignore ├── .mergify.yml ├── .sbtopts ├── .scala-steward.conf ├── .scalafmt.conf ├── .vscode ├── launch.json └── tasks.json ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── example.smithyql ├── flake.lock ├── flake.nix ├── images ├── command.png ├── lens.png └── prefs.png ├── modules ├── ast │ └── src │ │ ├── main │ │ └── scala │ │ │ └── playground │ │ │ └── smithyql │ │ │ ├── AST.scala │ │ │ ├── ASTVisitor.scala │ │ │ └── DSL.scala │ │ └── test │ │ └── scala │ │ └── playground │ │ └── Assertions.scala ├── core │ └── src │ │ ├── main │ │ └── scala │ │ │ └── playground │ │ │ ├── CompilationError.scala │ │ │ ├── DeprecatedInfo.scala │ │ │ ├── DynamicServiceProxy.scala │ │ │ ├── FileCompiler.scala │ │ │ ├── FileRunner.scala │ │ │ ├── Interpreters.scala │ │ │ ├── IorUtils.scala │ │ │ ├── MultiServiceResolver.scala │ │ │ ├── NodeEncoderVisitor.scala │ │ │ ├── OperationCompiler.scala │ │ │ ├── OperationRunner.scala │ │ │ ├── PlaygroundConfig.scala │ │ │ ├── PreludeCompiler.scala │ │ │ ├── QueryCompiler.scala │ │ │ ├── QueryCompilerVisitor.scala │ │ │ ├── ServiceIndex.scala │ │ │ ├── ServiceNameExtractor.scala │ │ │ ├── TextUtils.scala │ │ │ ├── Uri.scala │ │ │ ├── smithyql │ │ │ ├── NodeContext.scala │ │ │ ├── RangeIndex.scala │ │ │ └── syntax.scala │ │ │ ├── smithyutil │ │ │ └── AddDynamicRefinements.scala │ │ │ ├── std │ │ │ └── StdlibRuntime.scala │ │ │ └── types.scala │ │ └── test │ │ └── scala │ │ └── playground │ │ ├── Diffs.scala │ │ ├── DynamicModel.scala │ │ ├── IorUtilsTests.scala │ │ ├── MultiServiceResolverTests.scala │ │ ├── NodeEncoderTests.scala │ │ ├── PreludeCompilerTests.scala │ │ ├── ServiceNameExtractorTests.scala │ │ ├── ServiceUtils.scala │ │ ├── TestTextUtils.scala │ │ └── smithyql │ │ ├── AtPositionTests.scala │ │ └── CompilationTests.scala ├── e2e │ └── src │ │ └── test │ │ └── scala │ │ └── playground │ │ └── e2e │ │ └── E2ETests.scala ├── examples │ └── src │ │ └── main │ │ ├── scala │ │ └── demo │ │ │ └── smithy │ │ │ └── InstantProvider.scala │ │ └── smithy │ │ ├── demo.smithy │ │ ├── fake_aws.smithy │ │ └── noop.smithy ├── formatter │ └── src │ │ ├── main │ │ └── scala │ │ │ └── playground │ │ │ └── smithyql │ │ │ └── format │ │ │ └── Formatter.scala │ │ └── test │ │ └── scala │ │ └── playground │ │ └── smithyql │ │ └── format │ │ └── FormattingTests.scala ├── language-support │ └── src │ │ ├── main │ │ └── scala │ │ │ └── playground │ │ │ └── language │ │ │ ├── CodeLensProvider.scala │ │ │ ├── CommandProvider.scala │ │ │ ├── CommandResultReporter.scala │ │ │ ├── CompletionProvider.scala │ │ │ ├── CompletionVisitor.scala │ │ │ ├── DefinitionProvider.scala │ │ │ ├── DiagnosticProvider.scala │ │ │ ├── DocumentSymbolProvider.scala │ │ │ ├── Feedback.scala │ │ │ ├── FileNames.scala │ │ │ ├── FormattingProvider.scala │ │ │ ├── Progress.scala │ │ │ └── TextDocumentProvider.scala │ │ └── test │ │ └── scala │ │ └── playground │ │ └── language │ │ ├── CodeLensProviderTests.scala │ │ ├── CompletionItemTests.scala │ │ ├── CompletionProviderTests.scala │ │ ├── CompletionTests.scala │ │ ├── DefinitionProviderTests.scala │ │ ├── DiagnosticProviderTests.scala │ │ ├── Diffs.scala │ │ ├── DocumentSymbolProviderTests.scala │ │ └── FormattingProviderTests.scala ├── lsp-kernel │ └── src │ │ ├── main │ │ └── scala │ │ │ └── playground │ │ │ └── lsp │ │ │ ├── BuildLoader.scala │ │ │ ├── ConfigurationValue.scala │ │ │ ├── LSPEnvironment.scala │ │ │ ├── LanguageClient.scala │ │ │ ├── LanguageServer.scala │ │ │ ├── MainServer.scala │ │ │ ├── ModelLoader.scala │ │ │ ├── PluginResolver.scala │ │ │ ├── RunFileParams.scala │ │ │ ├── ServerBuilder.scala │ │ │ ├── ServerLoader.scala │ │ │ └── TextDocumentManager.scala │ │ └── test │ │ ├── resources │ │ └── test-workspaces │ │ │ ├── default │ │ │ ├── broken.smithyql │ │ │ ├── demo.smithyql │ │ │ ├── empty.smithyql │ │ │ ├── http-demo.smithyql │ │ │ ├── multi-query-one-failing.smithyql │ │ │ ├── multi-query-partial-runner.smithyql │ │ │ ├── multi-query.smithyql │ │ │ ├── no-runner.smithy │ │ │ ├── smithy-build.json │ │ │ └── weather.smithy │ │ │ ├── empty-config │ │ │ └── smithy-build.json │ │ │ ├── json-models │ │ │ ├── input.smithyql │ │ │ ├── smithy-build.json │ │ │ └── src │ │ │ │ └── valid-smithy-model.json │ │ │ └── non-model-jsons │ │ │ ├── smithy-build.json │ │ │ └── src │ │ │ └── not-a-smithy-model.json │ │ └── scala │ │ └── playground │ │ └── lsp │ │ ├── EmptyConfigTests.scala │ │ ├── LanguageServerIntegrationTestSharedServer.scala │ │ ├── LanguageServerReloadIntegrationTests.scala │ │ ├── ModelLoaderTests.scala │ │ ├── PluginResolverTests.scala │ │ └── harness │ │ ├── LanguageServerIntegrationTests.scala │ │ └── TestClient.scala ├── lsp │ └── src │ │ └── main │ │ └── scala │ │ └── playground │ │ └── lsp │ │ ├── Main.scala │ │ ├── PlaygroundLanguageClientAdapter.scala │ │ ├── PlaygroundLanguageServerAdapter.scala │ │ └── converters.scala ├── parser │ └── src │ │ ├── main │ │ └── scala │ │ │ └── playground │ │ │ └── smithyql │ │ │ └── parser │ │ │ ├── Parsers.scala │ │ │ ├── SourceParser.scala │ │ │ └── v2 │ │ │ └── scanner.scala │ │ └── test │ │ ├── resources │ │ └── parser-examples │ │ │ ├── README.md │ │ │ ├── listed │ │ │ ├── comments-in-list-empty │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── comments-in-list │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── heterogenous-list │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── list-with-bools-trailing-comma │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── list-with-bools │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── list-with-comments │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── list-with-ints │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── list-with-null │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ └── list-with-strings │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── negative │ │ │ └── prelude │ │ │ │ ├── multiple-use-without-spaces │ │ │ │ └── input.smithyql-test │ │ │ │ └── use-without-spaces │ │ │ │ └── input.smithyql-test │ │ │ ├── prelude │ │ │ └── multiple-services │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── query │ │ │ ├── comment-at-line-start │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── comment-inside-line │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── comments-literally-everywhere │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── per-operation-service-reference-with-whitespace │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── per-operation-service-reference │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── simple-call-dense │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── simple-call-sparse-with-underscore │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── simple-call-sparse │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── simple-call-trailing-leading-space │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ └── simple-call │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── source-file │ │ │ ├── empty │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── just-comments │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── just-whitespace │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── multiple-queries │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── single-query-with-comments │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── single-query │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ └── use-service │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── struct │ │ │ ├── comment-in-the-middle-of-a-keypair-after-line-break │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── comment-in-the-middle-of-a-keypair-before-line-break │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── comments-literally-everywhere │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── empty-struct │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── more-comments-in-the-middle-of-a-keypair-with-preceding-whitespace │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── more-comments-in-the-middle-of-a-keypair │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── more-complicated-case-with-indentation-and-comments │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── more-line-comments │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── multiple-line-comments │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── nonempty-comment │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── one-parameter-multiline-split │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── one-parameter-multiline-trailing-comma │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── one-parameter-multiline │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── one-parameter-single-line-trailing-comma │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── one-parameter-single-line │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── simple-call-space-in-object │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── simple-call-with-double │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── simple-call-with-float │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── struct-equal-sign │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── struct-with-bool │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── struct-with-comment-and-trailing-comma │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ ├── struct-with-list │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ └── struct-with-null │ │ │ │ ├── input.smithyql-test │ │ │ │ └── output.json │ │ │ └── use-clause │ │ │ ├── use-segments │ │ │ ├── input.smithyql-test │ │ │ └── output.json │ │ │ ├── use-service-with-numbers │ │ │ ├── input.smithyql-test │ │ │ └── output.json │ │ │ ├── use-service-with-underscore │ │ │ ├── input.smithyql-test │ │ │ └── output.json │ │ │ ├── use-service-with-whitespace │ │ │ ├── input.smithyql-test │ │ │ └── output.json │ │ │ └── use-simple │ │ │ ├── input.smithyql-test │ │ │ └── output.json │ │ └── scala │ │ └── playground │ │ └── smithyql │ │ └── parser │ │ ├── Codecs.scala │ │ ├── CommentParsingTests.scala │ │ ├── Diffs.scala │ │ ├── Examples.scala │ │ ├── ParserSuite.scala │ │ ├── generative │ │ ├── ListParserTests.scala │ │ ├── PreludeParserTests.scala │ │ ├── QueryParserTests.scala │ │ ├── SourceFileParserTests.scala │ │ ├── StructParserTests.scala │ │ ├── UseServiceParserTests.scala │ │ └── negative │ │ │ └── PreludeParserNegativeTests.scala │ │ └── v2 │ │ ├── Diffs.scala │ │ ├── ScannerExampleTests.scala │ │ ├── ScannerSuite.scala │ │ └── ScannerTests.scala ├── plugin-core │ └── src │ │ └── main │ │ └── scala │ │ └── playground │ │ └── plugins │ │ └── PlaygroundPlugin.scala ├── plugin-sample │ └── src │ │ └── main │ │ ├── resources │ │ └── META-INF │ │ │ └── services │ │ │ └── playground.plugins.PlaygroundPlugin │ │ └── scala │ │ └── playground │ │ └── sample │ │ └── SamplePlaygroundPlugin.scala ├── protocol4s │ └── src │ │ └── main │ │ └── smithy │ │ └── std.smithy └── source │ └── src │ ├── main │ └── scala │ │ └── playground │ │ └── smithyql │ │ ├── StringRangeUtils.scala │ │ └── WithSource.scala │ └── test │ └── scala │ └── playground │ └── smithyql │ ├── Arbitraries.scala │ └── Diffs.scala ├── project ├── build.properties └── plugins.sbt ├── rebuild.sh ├── release-plugin.sh ├── smithy-build.json └── vscode-extension ├── .gitignore ├── .vscodeignore ├── LICENSE ├── fixture └── example.smithyql ├── grammar.tmLanguage.json ├── language-configuration.json ├── package.json ├── src ├── coursier.ts ├── extension.ts └── test │ ├── runTest.ts │ └── suite │ ├── extension.test.ts │ └── index.ts ├── tsconfig.json └── yarn.lock /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /.git-blame-ignore-revs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.git-blame-ignore-revs -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/clean.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.github/workflows/clean.yml -------------------------------------------------------------------------------- /.github/workflows/plugin.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.github/workflows/plugin.yml -------------------------------------------------------------------------------- /.github/workflows/sourcegraph.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.github/workflows/sourcegraph.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.gitignore -------------------------------------------------------------------------------- /.mergify.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.mergify.yml -------------------------------------------------------------------------------- /.sbtopts: -------------------------------------------------------------------------------- 1 | -J-Xmx8G 2 | -J-Xss2M 3 | -------------------------------------------------------------------------------- /.scala-steward.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.scala-steward.conf -------------------------------------------------------------------------------- /.scalafmt.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.scalafmt.conf -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/README.md -------------------------------------------------------------------------------- /example.smithyql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/example.smithyql -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/flake.nix -------------------------------------------------------------------------------- /images/command.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/images/command.png -------------------------------------------------------------------------------- /images/lens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/images/lens.png -------------------------------------------------------------------------------- /images/prefs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/images/prefs.png -------------------------------------------------------------------------------- /modules/ast/src/main/scala/playground/smithyql/AST.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/ast/src/main/scala/playground/smithyql/AST.scala -------------------------------------------------------------------------------- /modules/ast/src/main/scala/playground/smithyql/ASTVisitor.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/ast/src/main/scala/playground/smithyql/ASTVisitor.scala -------------------------------------------------------------------------------- /modules/ast/src/main/scala/playground/smithyql/DSL.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/ast/src/main/scala/playground/smithyql/DSL.scala -------------------------------------------------------------------------------- /modules/ast/src/test/scala/playground/Assertions.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/ast/src/test/scala/playground/Assertions.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/CompilationError.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/CompilationError.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/DeprecatedInfo.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/DeprecatedInfo.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/DynamicServiceProxy.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/DynamicServiceProxy.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/FileCompiler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/FileCompiler.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/FileRunner.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/FileRunner.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/Interpreters.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/Interpreters.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/IorUtils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/IorUtils.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/MultiServiceResolver.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/MultiServiceResolver.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/NodeEncoderVisitor.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/NodeEncoderVisitor.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/OperationCompiler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/OperationCompiler.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/OperationRunner.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/OperationRunner.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/PlaygroundConfig.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/PlaygroundConfig.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/PreludeCompiler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/PreludeCompiler.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/QueryCompiler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/QueryCompiler.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/QueryCompilerVisitor.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/QueryCompilerVisitor.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/ServiceIndex.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/ServiceIndex.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/ServiceNameExtractor.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/ServiceNameExtractor.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/TextUtils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/TextUtils.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/Uri.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/Uri.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/smithyql/NodeContext.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/smithyql/NodeContext.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/smithyql/RangeIndex.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/smithyql/RangeIndex.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/smithyql/syntax.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/smithyql/syntax.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/smithyutil/AddDynamicRefinements.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/smithyutil/AddDynamicRefinements.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/std/StdlibRuntime.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/std/StdlibRuntime.scala -------------------------------------------------------------------------------- /modules/core/src/main/scala/playground/types.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/main/scala/playground/types.scala -------------------------------------------------------------------------------- /modules/core/src/test/scala/playground/Diffs.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/test/scala/playground/Diffs.scala -------------------------------------------------------------------------------- /modules/core/src/test/scala/playground/DynamicModel.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/test/scala/playground/DynamicModel.scala -------------------------------------------------------------------------------- /modules/core/src/test/scala/playground/IorUtilsTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/test/scala/playground/IorUtilsTests.scala -------------------------------------------------------------------------------- /modules/core/src/test/scala/playground/MultiServiceResolverTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/test/scala/playground/MultiServiceResolverTests.scala -------------------------------------------------------------------------------- /modules/core/src/test/scala/playground/NodeEncoderTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/test/scala/playground/NodeEncoderTests.scala -------------------------------------------------------------------------------- /modules/core/src/test/scala/playground/PreludeCompilerTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/test/scala/playground/PreludeCompilerTests.scala -------------------------------------------------------------------------------- /modules/core/src/test/scala/playground/ServiceNameExtractorTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/test/scala/playground/ServiceNameExtractorTests.scala -------------------------------------------------------------------------------- /modules/core/src/test/scala/playground/ServiceUtils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/test/scala/playground/ServiceUtils.scala -------------------------------------------------------------------------------- /modules/core/src/test/scala/playground/TestTextUtils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/test/scala/playground/TestTextUtils.scala -------------------------------------------------------------------------------- /modules/core/src/test/scala/playground/smithyql/AtPositionTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/test/scala/playground/smithyql/AtPositionTests.scala -------------------------------------------------------------------------------- /modules/core/src/test/scala/playground/smithyql/CompilationTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/core/src/test/scala/playground/smithyql/CompilationTests.scala -------------------------------------------------------------------------------- /modules/e2e/src/test/scala/playground/e2e/E2ETests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/e2e/src/test/scala/playground/e2e/E2ETests.scala -------------------------------------------------------------------------------- /modules/examples/src/main/scala/demo/smithy/InstantProvider.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/examples/src/main/scala/demo/smithy/InstantProvider.scala -------------------------------------------------------------------------------- /modules/examples/src/main/smithy/demo.smithy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/examples/src/main/smithy/demo.smithy -------------------------------------------------------------------------------- /modules/examples/src/main/smithy/fake_aws.smithy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/examples/src/main/smithy/fake_aws.smithy -------------------------------------------------------------------------------- /modules/examples/src/main/smithy/noop.smithy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/examples/src/main/smithy/noop.smithy -------------------------------------------------------------------------------- /modules/formatter/src/main/scala/playground/smithyql/format/Formatter.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/formatter/src/main/scala/playground/smithyql/format/Formatter.scala -------------------------------------------------------------------------------- /modules/formatter/src/test/scala/playground/smithyql/format/FormattingTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/formatter/src/test/scala/playground/smithyql/format/FormattingTests.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/CodeLensProvider.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/CodeLensProvider.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/CommandProvider.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/CommandProvider.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/CommandResultReporter.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/CommandResultReporter.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/CompletionProvider.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/CompletionProvider.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/CompletionVisitor.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/CompletionVisitor.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/DefinitionProvider.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/DefinitionProvider.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/DiagnosticProvider.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/DiagnosticProvider.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/DocumentSymbolProvider.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/DocumentSymbolProvider.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/Feedback.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/Feedback.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/FileNames.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/FileNames.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/FormattingProvider.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/FormattingProvider.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/Progress.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/Progress.scala -------------------------------------------------------------------------------- /modules/language-support/src/main/scala/playground/language/TextDocumentProvider.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/main/scala/playground/language/TextDocumentProvider.scala -------------------------------------------------------------------------------- /modules/language-support/src/test/scala/playground/language/CodeLensProviderTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/test/scala/playground/language/CodeLensProviderTests.scala -------------------------------------------------------------------------------- /modules/language-support/src/test/scala/playground/language/CompletionItemTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/test/scala/playground/language/CompletionItemTests.scala -------------------------------------------------------------------------------- /modules/language-support/src/test/scala/playground/language/CompletionProviderTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/test/scala/playground/language/CompletionProviderTests.scala -------------------------------------------------------------------------------- /modules/language-support/src/test/scala/playground/language/CompletionTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/test/scala/playground/language/CompletionTests.scala -------------------------------------------------------------------------------- /modules/language-support/src/test/scala/playground/language/DefinitionProviderTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/test/scala/playground/language/DefinitionProviderTests.scala -------------------------------------------------------------------------------- /modules/language-support/src/test/scala/playground/language/DiagnosticProviderTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/test/scala/playground/language/DiagnosticProviderTests.scala -------------------------------------------------------------------------------- /modules/language-support/src/test/scala/playground/language/Diffs.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/test/scala/playground/language/Diffs.scala -------------------------------------------------------------------------------- /modules/language-support/src/test/scala/playground/language/DocumentSymbolProviderTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/test/scala/playground/language/DocumentSymbolProviderTests.scala -------------------------------------------------------------------------------- /modules/language-support/src/test/scala/playground/language/FormattingProviderTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/language-support/src/test/scala/playground/language/FormattingProviderTests.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/BuildLoader.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/BuildLoader.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/ConfigurationValue.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/ConfigurationValue.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/LSPEnvironment.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/LSPEnvironment.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/LanguageClient.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/LanguageClient.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/LanguageServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/LanguageServer.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/MainServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/MainServer.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/ModelLoader.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/ModelLoader.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/PluginResolver.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/PluginResolver.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/RunFileParams.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/RunFileParams.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/ServerBuilder.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/ServerBuilder.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/ServerLoader.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/ServerLoader.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/main/scala/playground/lsp/TextDocumentManager.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/main/scala/playground/lsp/TextDocumentManager.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/default/broken.smithyql: -------------------------------------------------------------------------------- 1 | KL. -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/default/demo.smithyql: -------------------------------------------------------------------------------- 1 | use service playground.std#Random 2 | 3 | NextUUID { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/default/empty.smithyql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/default/http-demo.smithyql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/resources/test-workspaces/default/http-demo.smithyql -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/default/multi-query-one-failing.smithyql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/resources/test-workspaces/default/multi-query-one-failing.smithyql -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/default/multi-query-partial-runner.smithyql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/resources/test-workspaces/default/multi-query-partial-runner.smithyql -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/default/multi-query.smithyql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/resources/test-workspaces/default/multi-query.smithyql -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/default/no-runner.smithy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/resources/test-workspaces/default/no-runner.smithy -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/default/smithy-build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/resources/test-workspaces/default/smithy-build.json -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/default/weather.smithy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/resources/test-workspaces/default/weather.smithy -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/empty-config/smithy-build.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/json-models/input.smithyql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/resources/test-workspaces/json-models/input.smithyql -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/json-models/smithy-build.json: -------------------------------------------------------------------------------- 1 | { 2 | "imports": ["src"] 3 | } 4 | -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/json-models/src/valid-smithy-model.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/resources/test-workspaces/json-models/src/valid-smithy-model.json -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/non-model-jsons/smithy-build.json: -------------------------------------------------------------------------------- 1 | { 2 | "imports": ["src"] 3 | } 4 | -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/resources/test-workspaces/non-model-jsons/src/not-a-smithy-model.json: -------------------------------------------------------------------------------- 1 | { 2 | "this": "is not a Smithy model file" 3 | } 4 | -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/scala/playground/lsp/EmptyConfigTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/scala/playground/lsp/EmptyConfigTests.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/scala/playground/lsp/LanguageServerIntegrationTestSharedServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/scala/playground/lsp/LanguageServerIntegrationTestSharedServer.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/scala/playground/lsp/LanguageServerReloadIntegrationTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/scala/playground/lsp/LanguageServerReloadIntegrationTests.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/scala/playground/lsp/ModelLoaderTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/scala/playground/lsp/ModelLoaderTests.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/scala/playground/lsp/PluginResolverTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/scala/playground/lsp/PluginResolverTests.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/scala/playground/lsp/harness/LanguageServerIntegrationTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/scala/playground/lsp/harness/LanguageServerIntegrationTests.scala -------------------------------------------------------------------------------- /modules/lsp-kernel/src/test/scala/playground/lsp/harness/TestClient.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp-kernel/src/test/scala/playground/lsp/harness/TestClient.scala -------------------------------------------------------------------------------- /modules/lsp/src/main/scala/playground/lsp/Main.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp/src/main/scala/playground/lsp/Main.scala -------------------------------------------------------------------------------- /modules/lsp/src/main/scala/playground/lsp/PlaygroundLanguageClientAdapter.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp/src/main/scala/playground/lsp/PlaygroundLanguageClientAdapter.scala -------------------------------------------------------------------------------- /modules/lsp/src/main/scala/playground/lsp/PlaygroundLanguageServerAdapter.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp/src/main/scala/playground/lsp/PlaygroundLanguageServerAdapter.scala -------------------------------------------------------------------------------- /modules/lsp/src/main/scala/playground/lsp/converters.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/lsp/src/main/scala/playground/lsp/converters.scala -------------------------------------------------------------------------------- /modules/parser/src/main/scala/playground/smithyql/parser/Parsers.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/main/scala/playground/smithyql/parser/Parsers.scala -------------------------------------------------------------------------------- /modules/parser/src/main/scala/playground/smithyql/parser/SourceParser.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/main/scala/playground/smithyql/parser/SourceParser.scala -------------------------------------------------------------------------------- /modules/parser/src/main/scala/playground/smithyql/parser/v2/scanner.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/main/scala/playground/smithyql/parser/v2/scanner.scala -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/README.md -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/comments-in-list-empty/input.smithyql-test: -------------------------------------------------------------------------------- 1 | [ 2 | //in list 3 | ] 4 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/comments-in-list-empty/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/listed/comments-in-list-empty/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/comments-in-list/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/listed/comments-in-list/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/comments-in-list/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/listed/comments-in-list/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/heterogenous-list/input.smithyql-test: -------------------------------------------------------------------------------- 1 | ["a", 10] 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/heterogenous-list/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/listed/heterogenous-list/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-bools-trailing-comma/input.smithyql-test: -------------------------------------------------------------------------------- 1 | [true, false,] 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-bools-trailing-comma/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/listed/list-with-bools-trailing-comma/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-bools/input.smithyql-test: -------------------------------------------------------------------------------- 1 | [true, false] 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-bools/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/listed/list-with-bools/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-comments/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/listed/list-with-comments/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-comments/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/listed/list-with-comments/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-ints/input.smithyql-test: -------------------------------------------------------------------------------- 1 | [420, 2137,] 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-ints/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/listed/list-with-ints/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-null/input.smithyql-test: -------------------------------------------------------------------------------- 1 | [null] 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-null/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/listed/list-with-null/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-strings/input.smithyql-test: -------------------------------------------------------------------------------- 1 | ["hello", "world",] 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/listed/list-with-strings/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/listed/list-with-strings/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/negative/prelude/multiple-use-without-spaces/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/negative/prelude/multiple-use-without-spaces/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/negative/prelude/use-without-spaces/input.smithyql-test: -------------------------------------------------------------------------------- 1 | useservicea#B 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/prelude/multiple-services/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/prelude/multiple-services/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/prelude/multiple-services/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/prelude/multiple-services/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/comment-at-line-start/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/comment-at-line-start/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/comment-at-line-start/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/comment-at-line-start/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/comment-inside-line/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/comment-inside-line/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/comment-inside-line/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/comment-inside-line/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/comments-literally-everywhere/input.smithyql-test: -------------------------------------------------------------------------------- 1 | op 2 | // after op 3 | { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/comments-literally-everywhere/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/comments-literally-everywhere/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/per-operation-service-reference-with-whitespace/input.smithyql-test: -------------------------------------------------------------------------------- 1 | com . aws # Kinesis . hello {} 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/per-operation-service-reference-with-whitespace/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/per-operation-service-reference-with-whitespace/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/per-operation-service-reference/input.smithyql-test: -------------------------------------------------------------------------------- 1 | com.aws#Kinesis.hello {} 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/per-operation-service-reference/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/per-operation-service-reference/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/simple-call-dense/input.smithyql-test: -------------------------------------------------------------------------------- 1 | hello{} 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/simple-call-dense/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/simple-call-dense/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/simple-call-sparse-with-underscore/input.smithyql-test: -------------------------------------------------------------------------------- 1 | hello_world { } 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/simple-call-sparse-with-underscore/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/simple-call-sparse-with-underscore/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/simple-call-sparse/input.smithyql-test: -------------------------------------------------------------------------------- 1 | hello { } 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/simple-call-sparse/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/simple-call-sparse/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/simple-call-trailing-leading-space/input.smithyql-test: -------------------------------------------------------------------------------- 1 | hello{} 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/simple-call-trailing-leading-space/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/simple-call-trailing-leading-space/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/simple-call/input.smithyql-test: -------------------------------------------------------------------------------- 1 | hello {} 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/query/simple-call/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/query/simple-call/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/empty/input.smithyql-test: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/empty/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/source-file/empty/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/just-comments/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/source-file/just-comments/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/just-comments/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/source-file/just-comments/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/just-whitespace/input.smithyql-test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/just-whitespace/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/source-file/just-whitespace/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/multiple-queries/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/source-file/multiple-queries/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/multiple-queries/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/source-file/multiple-queries/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/single-query-with-comments/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/source-file/single-query-with-comments/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/single-query-with-comments/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/source-file/single-query-with-comments/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/single-query/input.smithyql-test: -------------------------------------------------------------------------------- 1 | hello {} 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/single-query/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/source-file/single-query/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/use-service/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/source-file/use-service/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/source-file/use-service/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/source-file/use-service/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/comment-in-the-middle-of-a-keypair-after-line-break/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/comment-in-the-middle-of-a-keypair-after-line-break/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/comment-in-the-middle-of-a-keypair-after-line-break/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/comment-in-the-middle-of-a-keypair-after-line-break/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/comment-in-the-middle-of-a-keypair-before-line-break/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/comment-in-the-middle-of-a-keypair-before-line-break/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/comment-in-the-middle-of-a-keypair-before-line-break/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/comment-in-the-middle-of-a-keypair-before-line-break/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/comments-literally-everywhere/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/comments-literally-everywhere/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/comments-literally-everywhere/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/comments-literally-everywhere/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/empty-struct/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/empty-struct/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/empty-struct/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/empty-struct/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/more-comments-in-the-middle-of-a-keypair-with-preceding-whitespace/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/more-comments-in-the-middle-of-a-keypair-with-preceding-whitespace/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/more-comments-in-the-middle-of-a-keypair-with-preceding-whitespace/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/more-comments-in-the-middle-of-a-keypair-with-preceding-whitespace/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/more-comments-in-the-middle-of-a-keypair/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/more-comments-in-the-middle-of-a-keypair/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/more-comments-in-the-middle-of-a-keypair/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/more-comments-in-the-middle-of-a-keypair/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/more-complicated-case-with-indentation-and-comments/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/more-complicated-case-with-indentation-and-comments/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/more-complicated-case-with-indentation-and-comments/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/more-complicated-case-with-indentation-and-comments/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/more-line-comments/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/more-line-comments/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/more-line-comments/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/more-line-comments/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/multiple-line-comments/input.smithyql-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/multiple-line-comments/input.smithyql-test -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/multiple-line-comments/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/multiple-line-comments/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/nonempty-comment/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { 2 | // hello 3 | } 4 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/nonempty-comment/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/nonempty-comment/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/one-parameter-multiline-split/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { 2 | world 3 | : 4 | "bar" 5 | } 6 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/one-parameter-multiline-split/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/one-parameter-multiline-split/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/one-parameter-multiline-trailing-comma/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { 2 | world: "bar", 3 | } 4 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/one-parameter-multiline-trailing-comma/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/one-parameter-multiline-trailing-comma/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/one-parameter-multiline/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { 2 | world: "bar" 3 | } 4 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/one-parameter-multiline/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/one-parameter-multiline/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/one-parameter-single-line-trailing-comma/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { world: "bar", } 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/one-parameter-single-line-trailing-comma/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/one-parameter-single-line-trailing-comma/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/one-parameter-single-line/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { world: "bar" } 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/one-parameter-single-line/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/one-parameter-single-line/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/simple-call-space-in-object/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { } 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/simple-call-space-in-object/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/simple-call-space-in-object/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/simple-call-with-double/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { a: 1.7976931348623157E308 } 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/simple-call-with-double/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/simple-call-with-double/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/simple-call-with-float/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { a: 21.37 } 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/simple-call-with-float/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/simple-call-with-float/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/struct-equal-sign/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { 2 | // Testing for legacy syntax support 3 | arg = "value" 4 | } 5 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/struct-equal-sign/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/struct-equal-sign/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/struct-with-bool/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { verbose: true } 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/struct-with-bool/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/struct-with-bool/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/struct-with-comment-and-trailing-comma/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { 2 | world: "bar", 3 | // 4 | } 5 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/struct-with-comment-and-trailing-comma/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/struct-with-comment-and-trailing-comma/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/struct-with-list/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { values: [ ] } 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/struct-with-list/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/struct-with-list/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/struct-with-null/input.smithyql-test: -------------------------------------------------------------------------------- 1 | { a = null } 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/struct/struct-with-null/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/struct/struct-with-null/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/use-clause/use-segments/input.smithyql-test: -------------------------------------------------------------------------------- 1 | use service com.example.kubukoz.playground#Demo 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/use-clause/use-segments/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/use-clause/use-segments/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/use-clause/use-service-with-numbers/input.smithyql-test: -------------------------------------------------------------------------------- 1 | use service com1.example2#Demo3 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/use-clause/use-service-with-numbers/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/use-clause/use-service-with-numbers/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/use-clause/use-service-with-underscore/input.smithyql-test: -------------------------------------------------------------------------------- 1 | use service com.aws#Kinesis_2022 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/use-clause/use-service-with-underscore/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/use-clause/use-service-with-underscore/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/use-clause/use-service-with-whitespace/input.smithyql-test: -------------------------------------------------------------------------------- 1 | use service com1 . example2 # Demo3 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/use-clause/use-service-with-whitespace/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/use-clause/use-service-with-whitespace/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/use-clause/use-simple/input.smithyql-test: -------------------------------------------------------------------------------- 1 | use service com#Demo 2 | -------------------------------------------------------------------------------- /modules/parser/src/test/resources/parser-examples/use-clause/use-simple/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/resources/parser-examples/use-clause/use-simple/output.json -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/Codecs.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/Codecs.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/CommentParsingTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/CommentParsingTests.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/Diffs.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/Diffs.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/Examples.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/Examples.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/ParserSuite.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/ParserSuite.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/generative/ListParserTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/generative/ListParserTests.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/generative/PreludeParserTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/generative/PreludeParserTests.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/generative/QueryParserTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/generative/QueryParserTests.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/generative/SourceFileParserTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/generative/SourceFileParserTests.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/generative/StructParserTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/generative/StructParserTests.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/generative/UseServiceParserTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/generative/UseServiceParserTests.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/generative/negative/PreludeParserNegativeTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/generative/negative/PreludeParserNegativeTests.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/v2/Diffs.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/v2/Diffs.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/v2/ScannerExampleTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/v2/ScannerExampleTests.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/v2/ScannerSuite.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/v2/ScannerSuite.scala -------------------------------------------------------------------------------- /modules/parser/src/test/scala/playground/smithyql/parser/v2/ScannerTests.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/parser/src/test/scala/playground/smithyql/parser/v2/ScannerTests.scala -------------------------------------------------------------------------------- /modules/plugin-core/src/main/scala/playground/plugins/PlaygroundPlugin.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/plugin-core/src/main/scala/playground/plugins/PlaygroundPlugin.scala -------------------------------------------------------------------------------- /modules/plugin-sample/src/main/resources/META-INF/services/playground.plugins.PlaygroundPlugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/plugin-sample/src/main/resources/META-INF/services/playground.plugins.PlaygroundPlugin -------------------------------------------------------------------------------- /modules/plugin-sample/src/main/scala/playground/sample/SamplePlaygroundPlugin.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/plugin-sample/src/main/scala/playground/sample/SamplePlaygroundPlugin.scala -------------------------------------------------------------------------------- /modules/protocol4s/src/main/smithy/std.smithy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/protocol4s/src/main/smithy/std.smithy -------------------------------------------------------------------------------- /modules/source/src/main/scala/playground/smithyql/StringRangeUtils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/source/src/main/scala/playground/smithyql/StringRangeUtils.scala -------------------------------------------------------------------------------- /modules/source/src/main/scala/playground/smithyql/WithSource.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/source/src/main/scala/playground/smithyql/WithSource.scala -------------------------------------------------------------------------------- /modules/source/src/test/scala/playground/smithyql/Arbitraries.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/source/src/test/scala/playground/smithyql/Arbitraries.scala -------------------------------------------------------------------------------- /modules/source/src/test/scala/playground/smithyql/Diffs.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/modules/source/src/test/scala/playground/smithyql/Diffs.scala -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=1.11.4 2 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/project/plugins.sbt -------------------------------------------------------------------------------- /rebuild.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/rebuild.sh -------------------------------------------------------------------------------- /release-plugin.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/release-plugin.sh -------------------------------------------------------------------------------- /smithy-build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/smithy-build.json -------------------------------------------------------------------------------- /vscode-extension/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/.gitignore -------------------------------------------------------------------------------- /vscode-extension/.vscodeignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/.vscodeignore -------------------------------------------------------------------------------- /vscode-extension/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/LICENSE -------------------------------------------------------------------------------- /vscode-extension/fixture/example.smithyql: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vscode-extension/grammar.tmLanguage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/grammar.tmLanguage.json -------------------------------------------------------------------------------- /vscode-extension/language-configuration.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/language-configuration.json -------------------------------------------------------------------------------- /vscode-extension/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/package.json -------------------------------------------------------------------------------- /vscode-extension/src/coursier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/src/coursier.ts -------------------------------------------------------------------------------- /vscode-extension/src/extension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/src/extension.ts -------------------------------------------------------------------------------- /vscode-extension/src/test/runTest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/src/test/runTest.ts -------------------------------------------------------------------------------- /vscode-extension/src/test/suite/extension.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/src/test/suite/extension.test.ts -------------------------------------------------------------------------------- /vscode-extension/src/test/suite/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/src/test/suite/index.ts -------------------------------------------------------------------------------- /vscode-extension/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/tsconfig.json -------------------------------------------------------------------------------- /vscode-extension/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubukoz/smithy-playground/HEAD/vscode-extension/yarn.lock --------------------------------------------------------------------------------