Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OwlCompiler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Nilsson
OwlCompiler
Commits
fdd72990
Commit
fdd72990
authored
19 years ago
by
Anders Nilsson
Browse files
Options
Downloads
Patches
Plain Diff
Made it compile again. Will throw Exception though when run.
parent
cc3a8612
No related branches found
No related tags found
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
.bzrignore
+1
-0
1 addition, 0 deletions
.bzrignore
CompilerGeneration.jrag
+1
-1
1 addition, 1 deletion
CompilerGeneration.jrag
Rewrites.jrag
+10
-0
10 additions, 0 deletions
Rewrites.jrag
build.xml
+6
-0
6 additions, 0 deletions
build.xml
owl.ast
+7
-1
7 additions, 1 deletion
owl.ast
with
25 additions
and
2 deletions
.bzrignore
+
1
−
0
View file @
fdd72990
...
...
@@ -2,3 +2,4 @@
parser/semantic.cache
AST
*.class
semantic.cache
This diff is collapsed.
Click to expand it.
CompilerGeneration.jrag
+
1
−
1
View file @
fdd72990
...
...
@@ -19,5 +19,5 @@ aspect CompilerGeneration {
}
aspect Name {
syn String Element
//
syn String Element
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Rewrites.jrag
0 → 100644
+
10
−
0
View file @
fdd72990
/* -*-Java-*- */
aspect RewriteClasses {
// rewrite OwlClass {
// when (isTopLevel())
// to OwlClassDecl {
// }
// }
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
build.xml
+
6
−
0
View file @
fdd72990
...
...
@@ -83,6 +83,12 @@
<!-- <beaver file="parser/JavaParser.beaver" terminalNames="yes" compress="no" useSwitch="yes"/> -->
</target>
<target
name=
"test"
depends=
"build"
>
<java
classname=
"GenCompiler"
classpath=
"."
>
<arg
value=
"GripperOntology_experimental3.owl"
/>
</java>
</target>
<!-- remove generated source files and .class files -->
<target
name=
"clean"
depends=
"cleanGen"
>
<!-- delete all .class files recursively -->
...
...
This diff is collapsed.
Click to expand it.
owl.ast
+
7
−
1
View file @
fdd72990
...
...
@@ -49,3 +49,9 @@ XmlnsRdfs : Attribute;
XmlnsOwl : Attribute;
Value ::= <STRING_LITERAL>;
// Types generated by rewrite rules
abstract Class;
OwlClassDecl : Class ::= <Id:String> ;
OwlClassUse : Class ::= <Id:String> ;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment