Change append operator from . to :

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Include ason/read.h in install files

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Add Namespaces

We introduce a primitive API for namespaces. Namespaces contain named variables
with ASON values.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Add variable name checking for namespaces

We restrict variable names to alphanumerics and _, beginning with a letter.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Get rid of first argument to TESTS

We can calculate  the number of tests to save time.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Clean up everything in complement test

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Clean up unused harness variables

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Correctly scan test results in harness

We weren't using the iterator variable to go through the array.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Look up tests by name in harness

Now the TEST() bracket's argument is no longer irrelevant. We don't increment a
counter to create the list of results and assume the tests are in order, but
rather we look up the test we are running in the table.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Add equality/representation operators

We simplify many things by just biting the bullet and making these operators
that yield booleans.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Constify ops argument to ason_ns_create

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Lemon build rule fixup

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Add variable expressions to grammar

We can now assign and use variables from a namespace supplied to a parser.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Cleanup in representation reduction

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Remove parse.append.c

Lemon actually does have a place for this sort of code. Shift to using it.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Fix some minor problems tokenizing symbols and assignments

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Add ASONQ program

This program can be used to quickly evaluate ASON statements.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Store permanent asonq history

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Reduce values before outputting

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Initialize flag values when reducing unions

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>