diff --git a/src/ifccsv/icon.ico b/src/ifccsv/icon.ico new file mode 100644 index 0000000000..3b7a67ba20 Binary files /dev/null and b/src/ifccsv/icon.ico differ diff --git a/src/ifccsv/ifccsv.py b/src/ifccsv/ifccsv.py index 06175492bc..f25ea8c88e 100644 --- a/src/ifccsv/ifccsv.py +++ b/src/ifccsv/ifccsv.py @@ -35,10 +35,32 @@ class IfcSelectorParser(): morethan: ">" lessthan: "<" - %import common.WORD // imports from terminal library - %import common.ESCAPED_STRING - %import common.WS - %ignore WS // Disregard spaces in text + // Embed common.lark for packaging + DIGIT: "0".."9" + HEXDIGIT: "a".."f"|"A".."F"|DIGIT + INT: DIGIT+ + SIGNED_INT: ["+"|"-"] INT + DECIMAL: INT "." INT? | "." INT + _EXP: ("e"|"E") SIGNED_INT + FLOAT: INT _EXP | DECIMAL _EXP? + SIGNED_FLOAT: ["+"|"-"] FLOAT + NUMBER: FLOAT | INT + SIGNED_NUMBER: ["+"|"-"] NUMBER + _STRING_INNER: /.*?/ + _STRING_ESC_INNER: _STRING_INNER /(?