Point README to v0.3.1 spec Write toml test script for python3 Make sure toml passes the new version of the test suite which has 75 tests. Fix issues with backslashes.
12 lines
209 B
Python
Executable File
12 lines
209 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import toml_test
|
|
import toml
|
|
import sys
|
|
import json
|
|
|
|
if __name__ == '__main__':
|
|
tdata = toml.loads(sys.stdin.read())
|
|
tagged = toml_test.tag(tdata)
|
|
print(json.dumps(tagged))
|