[Electro Grammar][Adde] Simple tool to test it from the CLI
This commit is contained in:
parent
119d8fd2e2
commit
58ee992c0f
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/python3
|
||||
import sys
|
||||
import os
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
|
||||
from kibot.bom.electro_grammar import parse
|
||||
|
||||
res = parse(sys.argv[1], with_extra=True, stronger=True)
|
||||
print(res)
|
||||
Loading…
Reference in New Issue