Commit 69aaf486 authored by Anders Nilsson's avatar Anders Nilsson

Can now parse all-in-one OWL-S ontology. Not tested if generated compiler can do anything useful.

parent e124d4da
......@@ -20,3 +20,4 @@ siaras/ontology.pprj
RoSta/GeneratedAspects.jrag
RoSta/Parser.java
RoSta/RoSta.ast
owl-s
......@@ -27,7 +27,7 @@
<!-- compile sources -->
<target name="build" depends="gen">
<javac compiler="jikes" debug="true" nowarn="true" srcdir="." includes="AST/*.java *.java" excludes="tools/** " classpath=".:${tools}/beaver-rt.jar:${tools}/junit.jar"/>
<javac debug="true" nowarn="true" srcdir="." includes="AST/*.java *.java" excludes="tools/** " classpath=".:${tools}/beaver-rt.jar:${tools}/junit.jar"/>
</target>
<!-- generate compiler source files -->
......
......@@ -18,6 +18,10 @@ ListFirst : ComplexElement;
ListRest : ComplexElement;
ExprKIFCondition : ComplexElement;
ExprExpressionData : ComplexElement;
ExpressionCondition : ComplexElement;
ExpressionLogicLanguage : ComplexElement;
ExpressionRefURI : ComplexElement;
ObjectListList : ComplexElement;
RdfDeclaration : ComplexElement;
RdfDescription : ComplexElement;
RdfFirst : ComplexElement;
......@@ -26,7 +30,9 @@ RdfRest : ComplexElement;
RdfType : ComplexElement;
RdfsComment : ComplexElement;
RdfsDomain : ComplexElement;
RdfsLabel : ComplexElement;
RdfsRange : ComplexElement;
RdfsSeeAlso : ComplexElement;
RdfsSubClassOf : ComplexElement;
RdfsSubPropertyOf : ComplexElement;
OwlOntology : ComplexElement;
......@@ -39,7 +45,9 @@ OwlDatatypeProperty : OwlProperty;
OwlDisjointWith : ComplexElement;
OwlDistinctMembers: ComplexElement;
OwlEquivalentClass : ComplexElement;
OwlEquivalentProperty : ComplexElement;
OwlFunctionalProperty : OwlProperty;
OwlHasValue : ComplexElement;
OwlImports : ComplexElement;
OwlIntersectionOf : ComplexElement;
OwlInverseOf : ComplexElement;
......@@ -52,6 +60,7 @@ OwlRestriction : ComplexElement;
OwlSomeValuesFrom : OwlValuesFrom;
OwlTransitiveProperty : ComplexElement;
OwlUnionOf : ComplexElement;
OwlVersionInfo : ComplexElement;
P1AnyOrder : ComplexElement;
P1Components : ComplexElement;
P1ComposedOf : ComplexElement;
......@@ -72,6 +81,8 @@ P1Sequence : ComplexElement;
P1Then : ComplexElement;
P1UntilProcess : ComplexElement;
P1UntilCondition : ComplexElement;
ProcessParticipant : ComplexElement;
ProcessPerform : ComplexElement;
abstract SimpleElement : Element;
StringElement : SimpleElement ::= <LITERAL>;
......@@ -87,19 +98,21 @@ RdfParseType : Attribute;
RdfResource : Attribute;
XmlBase : Attribute;
Xmlns : Attribute;
XmlnsDaml : Attribute;
XmlnsDc : Attribute;
XmlnsExpr : Attribute;
XmlnsList : Attribute;
XmlnsOwl : Attribute;
XmlnsP1 : Attribute;
XmlnsProtege : Attribute;
XmlnsRdf : Attribute;
XmlnsRdfs : Attribute;
XmlnsSwrl : Attribute;
XmlnsSwrlb : Attribute;
XmlnsXsd : Attribute;
XmlnsXsp : Attribute;
XmlnsXX : Attribute ::= <IDENTIFIER>;
// XmlnsDaml : Attribute;
// XmlnsDc : Attribute;
// XmlnsExpr : Attribute;
// XmlnsList : Attribute;
// XmlnsOwl : Attribute;
// XmlnsOwls : Attribute;
// XmlnsP1 : Attribute;
// XmlnsProtege : Attribute;
// XmlnsRdf : Attribute;
// XmlnsRdfs : Attribute;
// XmlnsSwrl : Attribute;
// XmlnsSwrlb : Attribute;
// XmlnsXsd : Attribute;
// XmlnsXsp : Attribute;
DiscardedElement : Element ::= Identifier Attribute* Element*;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment