-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I have to parse a lua file which only has a table, but it has comments here and there.
luadata parses everything great but it seems doesnt handle comments...
src = """t = {
['a'] = 1000, -- hello
['b'] = {
},
['c'] = 'stable',
}"""
print(luadata.unserialize(src))
{'t': {'a': 1000, 1: '--', 2: 'hello', 'b': [''], 'c': 'stable'}}
Maybe I am missing something but I need your help!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels