# This is a generated file, do not edit!
# Generated for adb4c5ce20d521335c175283f8f8af5db16c6963

# Standard Library
import base64

# 3rd Party
import thirdparty.pyparsing as pp  # MIT license

# CAUV
import cauv.messaging as messaging

# Definitions
l = pp.Suppress(pp.Literal('('))
r = pp.Suppress(pp.Literal(')'))
c = pp.Suppress(',')
hexchars = '0123456789abcdefABCDEF'

# Basic Types
# being less strict in parsing here leads to much simpler (=faster) parsing!
p_int = pp.Word(pp.nums + '+-')
p_int.setParseAction(lambda x: int(''.join(x)))

p_byte = pp.Word(
    hexchars, exact=2
)  # byte is actually only used in byteVec, which is overriden with a special case
p_byte.setParseAction(int)

p_bool = pp.Literal('0') ^ pp.Literal('1')
p_bool.setParseAction(lambda x: bool(x[0]))
# This is a generated file, do not edit!
# Generated for 5f805f4e49d78503960f4e2b78482acc4fc60684


# Standard Library
import base64

# 3rd Party
import thirdparty.pyparsing as pp # MIT license

# CAUV
import cauv.messaging as messaging

# Definitions
l = pp.Suppress(pp.Literal('('))
r = pp.Suppress(pp.Literal(')'))
c = pp.Suppress(',')
hexchars = '0123456789abcdefABCDEF'

# Basic Types
# being less strict in parsing here leads to much simpler (=faster) parsing!
p_int = pp.Word(pp.nums + '+-')
p_int.setParseAction(lambda x: int(''.join(x)))


p_byte = pp.Word(hexchars, exact=2) # byte is actually only used in byteVec, which is overriden with a special case
p_byte.setParseAction(int)

p_bool = pp.Literal('0') ^ pp.Literal('1')
p_bool.setParseAction(lambda x: bool(x[0]))
# This is a generated file, do not edit!
# Generated for 8ec0addfbaf2c0c73c5ad696a0cac9d6dde5ec13


# Standard Library
import base64

# 3rd Party
import thirdparty.pyparsing as pp # MIT license

# CAUV
import cauv.messaging as messaging

# Definitions
l = pp.Suppress(pp.Literal('('))
r = pp.Suppress(pp.Literal(')'))
c = pp.Suppress(',')
hexchars = '0123456789abcdefABCDEF'

# Basic Types
# being less strict in parsing here leads to much simpler (=faster) parsing!
p_int = pp.Word(pp.nums + '+-')
p_int.setParseAction(lambda x: int(''.join(x)))


p_byte = pp.Word(hexchars, exact=2) # byte is actually only used in byteVec, which is overriden with a special case
p_byte.setParseAction(int)

p_bool = pp.Literal('0') ^ pp.Literal('1')
p_bool.setParseAction(lambda x: bool(x[0]))