Presentation is loading. Please wait.

Presentation is loading. Please wait.

ReL Components CodeCompiler.java Python.g AST Visitor Interpreter

Similar presentations


Presentation on theme: "ReL Components CodeCompiler.java Python.g AST Visitor Interpreter"— Presentation transcript:

1 ReL Components CodeCompiler.java Python.g AST Visitor Interpreter
The Tuple entry in CodeCompiler was modified to deal with putting SIM, SQL, Prolog, and ASP information and expressions on the runtime stack and to assure that a new instance of PyTuple is created after the expressions are evaluated. The Python grammar was changed to include SIM, SQL, Prolog, and ASP statements. Interpreter Runtime Stack PyTuple.java parseSIM() jSIMParser jSQLParser There is no jSIMParser to parse SIM statements like jSQLParser for SQL but I hope one will be built as a project. jSQLParser parses SQL statements from PyTuple and produces an AST that can be visited. parseSIM parses SIM statements from PyTuple and produces and passes AS information to SIMHelper. SIMHelper.java SQLVisitor.java SIMHelper produces appropriate SPARQL statements for the SIM statements which are sent to SPARQLDoer. SPARQLDoer.java SQLVisitor visits the jSQLParser AST and produces appropriate SPARQL statements for the SQL statements which are sent to SPARQLDoer. Oracle DBMS


Download ppt "ReL Components CodeCompiler.java Python.g AST Visitor Interpreter"

Similar presentations


Ads by Google