Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@bettinaheim
Copy link
Contributor

No description provided.

@bettinaheim bettinaheim requested a review from bamarsha April 22, 2020 04:46
@bettinaheim bettinaheim merged commit c938ae8 into samarsha/standalone Apr 22, 2020
@bettinaheim bettinaheim deleted the beheim/standaloneTest branch April 22, 2020 21:07
bamarsha added a commit that referenced this pull request Apr 23, 2020
* Start set up for entry point code generation

* Generate sequence of command-line options

* Generate argument properties

* Capitalize first letter of argument property

* Add autogen comment to entry point file

* Add run method to runner

* Check if temp entry point exists in CodegenContext.Create

* Get entry points from compilation

* Add non-generated entry point driver source

* Use IEnumerable for array types

* Convert argument names to kebab-case

* Undo changes to CodegenContext

* Remove unnecessary string interpolation

* Use entry point summary as description for root command

* Use doc comment for option descriptions

* One-letter parameters get one dash

* Don't output anything if return type is Unit

* Handle parameters of type Range

* Add doc comments to driver

* Add argument handler for BigInt

* Don't allow more dots than necessary in range

* Don't show duplicate errors

* Add function to create error messages

* Add argument handler for Result type

* Add argument handler for type Unit

* Change readonly fields to properties

* Refactor argument parsers

* Refactor getArgumentHandler

* Remove extra blank line

* Use Enum.TryParse for Result

* Combine simulate and resources commands

* Pass simulate description to constructor

* Set simulate command as the default

* Add suggestions for custom argument types

* Entry point option names shadow standard names

* Support custom simulators

* Use DefaultSimulator property

* Support custom DefaultSimulator; remove reflection

* Add TODO for option alias constants

* Verify not more than one entry point

* Use CommandLineArguments.SimulatorOption

* Simplify function names

* Add constants for simulator names

* Protect namespace name instead of class names

* Support tab completion for simulators

* Consistent trailing newlines for generatedClasses and driver

* Add basic unit tests

* Add tests for option types

* Add failure cases

* Better test syntax

* Add help message test

* Add tests for name conversions and shadowing

* Add tests for multiple options

* Add simulator tests

* Should be private

* More detailed error message for missing reference

* Use platform-specific delimiter

* Use default simulator when --simulator is shadowed

* Normalize whitespace in tests

* Update DefaultIfShadowed summary

* Add DefaultSimulator tests

* Use AssemblyConstants for simulator names

* Use H gate to test for ToffoliSimulator

* Use try/finally for console redirects and current culture

* Add missing dashes in test name

* Better way to write the testAssembly function

* adding an execution test (#174)

* forgot to use dll instead of exe

* Add TODO

* Remove space-separated range parsing

Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
Co-authored-by: Bettina Heim <beheim@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants