Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New magic command parser (dotnet#3563)
* cleanup * rename lower-level parsing classes for reuse * it builds * wip * wip * cleanup * directive options and arguments * diagnostics for unknown magics and options * basic subcommand support * renames and cleanup * initial parsing of inline JSON * more code reorganization, start on directive serializability * finish removing named vs unnamed parameter distinction * support for serializing directives to JSON * cleanup * inherited and implicit parameters, JSON improvements * limit subcommand nesting to only one level * SubmissionParserTests passing * DirectiveTests passing * InputsWithinMagicCommandsTests passing * VariableSharingWithinMagicCommandsTests passing * refactoring, WIP on #!set and #!share * WIP on submission splitting refactor * #!share using new parser * Custom kernel specifiers, start on #!value * variable sharing improvements * fix #!value --from-file and --from-url * rename lower-level parsing classes for reuse * it builds * wip * wip * cleanup * directive options and arguments * diagnostics for unknown magics and options * basic subcommand support * renames and cleanup * initial parsing of inline JSON * more code reorganization, start on directive serializability * finish removing named vs unnamed parameter distinction * support for serializing directives to JSON * cleanup * inherited and implicit parameters, JSON improvements * limit subcommand nesting to only one level * SubmissionParserTests passing * DirectiveTests passing * InputsWithinMagicCommandsTests passing * VariableSharingWithinMagicCommandsTests passing * refactoring, WIP on #!set and #!share * WIP on submission splitting refactor * #!share using new parser * Custom kernel specifiers, start on #!value * variable sharing improvements * #!value --from-file and --from-url * fix more KeyValueStoreKernel tests * merge cleanup * fix a few tests accounting for empty DiagnosticsProduced event * more test fixes * fix some warnings * fix warnings, move PackageManagement and Journey to net8.0 * fix warnings and IVT * wire up #r nuget to new parser * wire up #i nuget to new parser * package loading fixes * explicitly set split command's SchedulingScope to parent's * update #!import to use new parser * get #!connect scenarios building using new API * Update #!mermaid to new parser * rename incorrectly named local function * allow directive subcommands to contain "-" and "_" * named pipe connections working, stio refactored but failing * add support for arrays in inline JSON in directives * fix stdio kernel connector * fix SQLite directive parsing * remove ChooseKernelDirective and derived types * update #!who and #!whos to use the new parser * SQL and KQL connector fixes * remove System.CommandLine reference from several projects * improve subcommand parameter parsing * basic completion support for magic commands * completion improvements * improve magic command completions to accommodate more kernel test cases * magic command completion fixes * update contract tests * a few more completion fixes * update Polyglot Notebooks for contract changes * fill missing magic command description * make SubmitCode.parameters optional in TypeScript contract * more contract test updates * fix ambiguous call error * more stdio and jupyter fixes * make a few more tests pass * fix ExtensionLab magic commands * fix another test using #!connect stdio * fix Journey magic commands * support custom validations without (internal-only) custom parsing * contract updates * fix occasional accidental reparenting; some code cleanup * allow events to be accessed after KernelInvocationContext is disposed * pass defaultKernelName per parse * combinatorial testing and bug fixes This includes some refactoring to reuse the combinatorial test utilities from the HTTP parser * update API baseline * more completion fixes * a little completion code cleanup * fix magic command completions in Polyglot Notebooks
- Loading branch information