Add a QBool type
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Add a lexer for JSON
Our JSON parser is a three stage parser. The first stage tokenizes the streaminto a set of lexical tokens. Since the lexical grammar is regular, we canuse a finite state machine to model it. The state machine will emit tokensas they are identified....
Add a JSON message boundary identifier
The second stage of our JSON parser is a simple state machine that identifiesindividual JSON values by counting the levels of nesting of tokens. It doesnot perform grammar validation. We use this to emit a full JSON value to the...
Add a JSON parser
This is the third and final stage of the JSON parser. It parses lexical tokensperforming grammar validation and creating the final QObject representation. Ituses a recursive decent parser.
Cleanup configure checks for dup3 and fallocate
We have a function for this which does not issue annoying warnings.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Properly escape QDECREF macro arguments
QDECREF does not properly escape the macro arguments which can lead tounexpected syntax errors.
Add operations to qlist to allow it to be used as a stack
This makes lists no longer invariant. It's a very useful bit of functionalitythough.
To deal with the fact that lists are no longer invariant, introduce a deepcopy mechanism for lists.
Allow strings to grow in size
This lets us use QString for building larger strings
Add a QFloat datatype
Add unit test for QFloat
View all revisions | View revisions
Also available in: Atom