Added DefaultParser

This commit is contained in:
2019-10-29 18:39:51 +01:00
parent 101319b8b6
commit 8107e149b9
18 changed files with 1581 additions and 376 deletions
+3 -5
View File
@@ -1,7 +1,7 @@
import sys
from core.utils import sysarg_to_string
from core.sheerka import Sheerka
from sdp.sheerkaDataProvider import Event
def main():
@@ -10,12 +10,10 @@ def main():
# first, record the event
event_as_string = sysarg_to_string(sys.argv[1:])
evt_digest = sheerka.record_event(Event(event_as_string))
# launch the parsers
result = sheerka.eval(event_as_string)
# execute the concepts
print(event_as_string)
print(result)
return True