- edited description
Custom Parser Support
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)
-
reporter -
reporter - edited description
- changed title to Custom Parser Support
-
reporter - changed status to open
Development begun, ETA V2.3.0
-
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
-
reporter New framework is finished, but static type parser still remains
-
reporter - changed status to resolved
Finished for V2.3.0 (type parser issue still remains)
- Log in to comment