Custom Parser Support

Issue #44 resolved
Yusuf Ismail repo owner created an issue

The QuantumParser should be easily extensible with custom parsers An example format of how it could work goes as follows

[QuantumDeserializer]
private static CustomType CustomTypeDeserializer(string text)
{
   ...
}

Where CustomTypeDeserializer was a static method that returns an object of type CustomType. This would automatically be loaded by the QuantumParser, thus allowing Commands to use CustomType as a valid argument type

By creating such a system it is easy to extend the coverage of QCs parsing without requiring source code modification

Comments (6)

  1. Yusuf Ismail reporter

    All of the parsers have been ported over to IQcParser, the type parsing system still needs to be ported (less trivial due to its namespace system) and the framework still needs to be written

  2. Log in to comment