Skip to content

Commit 26f94f4

Browse files
committed
Update version 1.1.0.
Now JointyC uses annotations for semantic definitions. * More stable * More simlicity in fixing association errors of semantic operation to grammar rules. * Improved the simplicity for the developer to define interpreters. * Semantic results management became completely transparent to the interpreters. No need to know things about the results buffer and semantic analysis machinery stuff.
1 parent 8283d74 commit 26f94f4

File tree

160 files changed

+8269
-1112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+8269
-1112
lines changed

.settings/org.eclipse.jdt.core.prefs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
eclipse.preferences.version=1
22
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
34
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
45
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
56
org.eclipse.jdt.core.compiler.compliance=1.8

docs/allclasses-frame.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22
<!-- NewPage -->
33
<html lang="it">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_121) on Fri May 25 12:45:40 CEST 2018 -->
5+
<!-- Generated by javadoc (1.8.0_121) on Tue Jun 12 14:45:14 CEST 2018 -->
66
<title>All Classes</title>
7-
<meta name="date" content="2018-05-25">
7+
<meta name="date" content="2018-06-12">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>
1111
<body>
1212
<h1 class="bar">All&nbsp;Classes</h1>
1313
<div class="indexContainer">
1414
<ul>
15-
<li><a href="jointyc/analysis/semantic/exception/AxiomResultException.html" title="class in jointyc.analysis.semantic.exception" target="classFrame">AxiomResultException</a></li>
15+
<li><a href="jointyc/analysis/semantic/exception/AnnotationException.html" title="class in jointyc.analysis.semantic.exception" target="classFrame">AnnotationException</a></li>
16+
<li><a href="jointyc/analysis/semantic/exception/AxiomBufferClearException.html" title="class in jointyc.analysis.semantic.exception" target="classFrame">AxiomBufferClearException</a></li>
1617
<li><a href="jointyc/analysis/lexer/EditableLexer.html" title="interface in jointyc.analysis.lexer" target="classFrame"><span class="interfaceName">EditableLexer</span></a></li>
1718
<li><a href="jointyc/analysis/parser/EditableParser.html" title="interface in jointyc.analysis.parser" target="classFrame"><span class="interfaceName">EditableParser</span></a></li>
1819
<li><a href="jointyc/analysis/parser/exception/InfiniteRecursionException.html" title="class in jointyc.analysis.parser.exception" target="classFrame">InfiniteRecursionException</a></li>
@@ -21,6 +22,12 @@ <h1 class="bar">All&nbsp;Classes</h1>
2122
<li><a href="jointyc/jdlc/JdlCompiler.html" title="class in jointyc.jdlc" target="classFrame">JdlCompiler</a></li>
2223
<li><a href="jointyc/analysis/lexer/Lexer.html" title="interface in jointyc.analysis.lexer" target="classFrame"><span class="interfaceName">Lexer</span></a></li>
2324
<li><a href="jointyc/analysis/lexer/LexerWrapper.html" title="class in jointyc.analysis.lexer" target="classFrame">LexerWrapper</a></li>
25+
<li><a href="jointyc/analysis/semantic/exception/MutuallyExclusiveInterpretationsException.html" title="class in jointyc.analysis.semantic.exception" target="classFrame">MutuallyExclusiveInterpretationsException</a></li>
26+
<li><a href="jointyc/analysis/semantic/annotation/NoBufferClear.html" title="annotation in jointyc.analysis.semantic.annotation" target="classFrame">NoBufferClear</a></li>
27+
<li><a href="jointyc/analysis/semantic/exception/NonTerminalReplicationException.html" title="class in jointyc.analysis.semantic.exception" target="classFrame">NonTerminalReplicationException</a></li>
28+
<li><a href="jointyc/analysis/semantic/annotation/NonTerminalToken.html" title="annotation in jointyc.analysis.semantic.annotation" target="classFrame">NonTerminalToken</a></li>
29+
<li><a href="jointyc/analysis/semantic/annotation/NonTerminalTokens.html" title="annotation in jointyc.analysis.semantic.annotation" target="classFrame">NonTerminalTokens</a></li>
30+
<li><a href="jointyc/jdlc/exception/NotDeclaredTerminalException.html" title="class in jointyc.jdlc.exception" target="classFrame">NotDeclaredTerminalException</a></li>
2431
<li><a href="jointyc/analysis/parser/Parser.html" title="interface in jointyc.analysis.parser" target="classFrame"><span class="interfaceName">Parser</span></a></li>
2532
<li><a href="jointyc/analysis/parser/ParserWrapper.html" title="class in jointyc.analysis.parser" target="classFrame">ParserWrapper</a></li>
2633
<li><a href="jointyc/analysis/semantic/SemanticAnalyzer.html" title="class in jointyc.analysis.semantic" target="classFrame">SemanticAnalyzer</a></li>
@@ -31,8 +38,12 @@ <h1 class="bar">All&nbsp;Classes</h1>
3138
<li><a href="jointyc/analysis/parser/StandardParser.html" title="class in jointyc.analysis.parser" target="classFrame">StandardParser</a></li>
3239
<li><a href="jointyc/analysis/parser/SyntaxIterator.html" title="class in jointyc.analysis.parser" target="classFrame">SyntaxIterator</a></li>
3340
<li><a href="jointyc/analysis/parser/SyntaxTree.html" title="interface in jointyc.analysis.parser" target="classFrame"><span class="interfaceName">SyntaxTree</span></a></li>
41+
<li><a href="jointyc/analysis/semantic/exception/TerminalReplicationException.html" title="class in jointyc.analysis.semantic.exception" target="classFrame">TerminalReplicationException</a></li>
42+
<li><a href="jointyc/analysis/semantic/annotation/TerminalToken.html" title="annotation in jointyc.analysis.semantic.annotation" target="classFrame">TerminalToken</a></li>
43+
<li><a href="jointyc/analysis/semantic/annotation/TerminalTokens.html" title="annotation in jointyc.analysis.semantic.annotation" target="classFrame">TerminalTokens</a></li>
3444
<li><a href="jointyc/analysis/parser/exception/UnexpectedSymbolException.html" title="class in jointyc.analysis.parser.exception" target="classFrame">UnexpectedSymbolException</a></li>
3545
<li><a href="jointyc/analysis/parser/exception/UnexpectedSymbolException.ExpectedTerminal.html" title="class in jointyc.analysis.parser.exception" target="classFrame">UnexpectedSymbolException.ExpectedTerminal</a></li>
46+
<li><a href="jointyc/analysis/semantic/exception/UnknownParameterException.html" title="class in jointyc.analysis.semantic.exception" target="classFrame">UnknownParameterException</a></li>
3647
</ul>
3748
</div>
3849
</body>

docs/allclasses-noframe.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22
<!-- NewPage -->
33
<html lang="it">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_121) on Fri May 25 12:45:40 CEST 2018 -->
5+
<!-- Generated by javadoc (1.8.0_121) on Tue Jun 12 14:45:14 CEST 2018 -->
66
<title>All Classes</title>
7-
<meta name="date" content="2018-05-25">
7+
<meta name="date" content="2018-06-12">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>
1111
<body>
1212
<h1 class="bar">All&nbsp;Classes</h1>
1313
<div class="indexContainer">
1414
<ul>
15-
<li><a href="jointyc/analysis/semantic/exception/AxiomResultException.html" title="class in jointyc.analysis.semantic.exception">AxiomResultException</a></li>
15+
<li><a href="jointyc/analysis/semantic/exception/AnnotationException.html" title="class in jointyc.analysis.semantic.exception">AnnotationException</a></li>
16+
<li><a href="jointyc/analysis/semantic/exception/AxiomBufferClearException.html" title="class in jointyc.analysis.semantic.exception">AxiomBufferClearException</a></li>
1617
<li><a href="jointyc/analysis/lexer/EditableLexer.html" title="interface in jointyc.analysis.lexer"><span class="interfaceName">EditableLexer</span></a></li>
1718
<li><a href="jointyc/analysis/parser/EditableParser.html" title="interface in jointyc.analysis.parser"><span class="interfaceName">EditableParser</span></a></li>
1819
<li><a href="jointyc/analysis/parser/exception/InfiniteRecursionException.html" title="class in jointyc.analysis.parser.exception">InfiniteRecursionException</a></li>
@@ -21,6 +22,12 @@ <h1 class="bar">All&nbsp;Classes</h1>
2122
<li><a href="jointyc/jdlc/JdlCompiler.html" title="class in jointyc.jdlc">JdlCompiler</a></li>
2223
<li><a href="jointyc/analysis/lexer/Lexer.html" title="interface in jointyc.analysis.lexer"><span class="interfaceName">Lexer</span></a></li>
2324
<li><a href="jointyc/analysis/lexer/LexerWrapper.html" title="class in jointyc.analysis.lexer">LexerWrapper</a></li>
25+
<li><a href="jointyc/analysis/semantic/exception/MutuallyExclusiveInterpretationsException.html" title="class in jointyc.analysis.semantic.exception">MutuallyExclusiveInterpretationsException</a></li>
26+
<li><a href="jointyc/analysis/semantic/annotation/NoBufferClear.html" title="annotation in jointyc.analysis.semantic.annotation">NoBufferClear</a></li>
27+
<li><a href="jointyc/analysis/semantic/exception/NonTerminalReplicationException.html" title="class in jointyc.analysis.semantic.exception">NonTerminalReplicationException</a></li>
28+
<li><a href="jointyc/analysis/semantic/annotation/NonTerminalToken.html" title="annotation in jointyc.analysis.semantic.annotation">NonTerminalToken</a></li>
29+
<li><a href="jointyc/analysis/semantic/annotation/NonTerminalTokens.html" title="annotation in jointyc.analysis.semantic.annotation">NonTerminalTokens</a></li>
30+
<li><a href="jointyc/jdlc/exception/NotDeclaredTerminalException.html" title="class in jointyc.jdlc.exception">NotDeclaredTerminalException</a></li>
2431
<li><a href="jointyc/analysis/parser/Parser.html" title="interface in jointyc.analysis.parser"><span class="interfaceName">Parser</span></a></li>
2532
<li><a href="jointyc/analysis/parser/ParserWrapper.html" title="class in jointyc.analysis.parser">ParserWrapper</a></li>
2633
<li><a href="jointyc/analysis/semantic/SemanticAnalyzer.html" title="class in jointyc.analysis.semantic">SemanticAnalyzer</a></li>
@@ -31,8 +38,12 @@ <h1 class="bar">All&nbsp;Classes</h1>
3138
<li><a href="jointyc/analysis/parser/StandardParser.html" title="class in jointyc.analysis.parser">StandardParser</a></li>
3239
<li><a href="jointyc/analysis/parser/SyntaxIterator.html" title="class in jointyc.analysis.parser">SyntaxIterator</a></li>
3340
<li><a href="jointyc/analysis/parser/SyntaxTree.html" title="interface in jointyc.analysis.parser"><span class="interfaceName">SyntaxTree</span></a></li>
41+
<li><a href="jointyc/analysis/semantic/exception/TerminalReplicationException.html" title="class in jointyc.analysis.semantic.exception">TerminalReplicationException</a></li>
42+
<li><a href="jointyc/analysis/semantic/annotation/TerminalToken.html" title="annotation in jointyc.analysis.semantic.annotation">TerminalToken</a></li>
43+
<li><a href="jointyc/analysis/semantic/annotation/TerminalTokens.html" title="annotation in jointyc.analysis.semantic.annotation">TerminalTokens</a></li>
3444
<li><a href="jointyc/analysis/parser/exception/UnexpectedSymbolException.html" title="class in jointyc.analysis.parser.exception">UnexpectedSymbolException</a></li>
3545
<li><a href="jointyc/analysis/parser/exception/UnexpectedSymbolException.ExpectedTerminal.html" title="class in jointyc.analysis.parser.exception">UnexpectedSymbolException.ExpectedTerminal</a></li>
46+
<li><a href="jointyc/analysis/semantic/exception/UnknownParameterException.html" title="class in jointyc.analysis.semantic.exception">UnknownParameterException</a></li>
3647
</ul>
3748
</div>
3849
</body>

docs/constant-values.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="it">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_121) on Fri May 25 12:45:40 CEST 2018 -->
5+
<!-- Generated by javadoc (1.8.0_121) on Tue Jun 12 14:45:12 CEST 2018 -->
66
<title>Constant Field Values</title>
7-
<meta name="date" content="2018-05-25">
7+
<meta name="date" content="2018-06-12">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>

docs/deprecated-list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="it">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_121) on Fri May 25 12:45:40 CEST 2018 -->
5+
<!-- Generated by javadoc (1.8.0_121) on Tue Jun 12 14:45:14 CEST 2018 -->
66
<title>Deprecated List</title>
7-
<meta name="date" content="2018-05-25">
7+
<meta name="date" content="2018-06-12">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>

docs/help-doc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="it">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_121) on Fri May 25 12:45:40 CEST 2018 -->
5+
<!-- Generated by javadoc (1.8.0_121) on Tue Jun 12 14:45:14 CEST 2018 -->
66
<title>API Help</title>
7-
<meta name="date" content="2018-05-25">
7+
<meta name="date" content="2018-06-12">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>

docs/index-files/index-1.html

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="it">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_121) on Fri May 25 12:45:40 CEST 2018 -->
5+
<!-- Generated by javadoc (1.8.0_121) on Tue Jun 12 14:45:13 CEST 2018 -->
66
<title>A-Index</title>
7-
<meta name="date" content="2018-05-25">
7+
<meta name="date" content="2018-06-12">
88
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
99
<script type="text/javascript" src="../script.js"></script>
1010
</head>
@@ -69,7 +69,7 @@
6969
<!-- -->
7070
</a></div>
7171
<!-- ========= END OF TOP NAVBAR ========= -->
72-
<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">N</a>&nbsp;<a href="index-12.html">P</a>&nbsp;<a href="index-13.html">Q</a>&nbsp;<a href="index-14.html">R</a>&nbsp;<a href="index-15.html">S</a>&nbsp;<a href="index-16.html">T</a>&nbsp;<a href="index-17.html">U</a>&nbsp;<a href="index-18.html">V</a>&nbsp;<a href="index-19.html">W</a>&nbsp;<a name="I:A">
72+
<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">P</a>&nbsp;<a href="index-14.html">Q</a>&nbsp;<a href="index-15.html">R</a>&nbsp;<a href="index-16.html">S</a>&nbsp;<a href="index-17.html">T</a>&nbsp;<a href="index-18.html">U</a>&nbsp;<a href="index-19.html">V</a>&nbsp;<a href="index-20.html">W</a>&nbsp;<a name="I:A">
7373
<!-- -->
7474
</a>
7575
<h2 class="title">A</h2>
@@ -111,18 +111,25 @@ <h2 class="title">A</h2>
111111
<div class="block">Implements the iterative algorithm that visits the specified syntax tree and
112112
calls the semantic actions on the interpreter</div>
113113
</dd>
114+
<dt><a href="../jointyc/analysis/semantic/exception/AnnotationException.html" title="class in jointyc.analysis.semantic.exception"><span class="typeNameLink">AnnotationException</span></a> - Exception in <a href="../jointyc/analysis/semantic/exception/package-summary.html">jointyc.analysis.semantic.exception</a></dt>
115+
<dd>
116+
<div class="block">Thrown when an interpretation method is annotated for a non-existing token (terminal or non-terminal)
117+
with the <a href="../jointyc/analysis/semantic/annotation/TerminalToken.html" title="annotation in jointyc.analysis.semantic.annotation"><code>TerminalToken</code></a> or with the <a href="../jointyc/analysis/semantic/annotation/NonTerminalToken.html" title="annotation in jointyc.analysis.semantic.annotation"><code>NonTerminalToken</code></a> annotations.</div>
118+
</dd>
119+
<dt><span class="memberNameLink"><a href="../jointyc/analysis/semantic/exception/AnnotationException.html#AnnotationException-java.lang.Class-java.lang.reflect.Method-java.lang.String-">AnnotationException(Class&lt;?&gt;, Method, String)</a></span> - Constructor for exception jointyc.analysis.semantic.exception.<a href="../jointyc/analysis/semantic/exception/AnnotationException.html" title="class in jointyc.analysis.semantic.exception">AnnotationException</a></dt>
120+
<dd>&nbsp;</dd>
114121
<dt><span class="memberNameLink"><a href="../jointyc/analysis/parser/StandardParser.html#axiom">axiom</a></span> - Variable in class jointyc.analysis.parser.<a href="../jointyc/analysis/parser/StandardParser.html" title="class in jointyc.analysis.parser">StandardParser</a></dt>
115122
<dd>
116123
<div class="block">The axiom (i.e. the rule from which the parsing will start)</div>
117124
</dd>
118-
<dt><a href="../jointyc/analysis/semantic/exception/AxiomResultException.html" title="class in jointyc.analysis.semantic.exception"><span class="typeNameLink">AxiomResultException</span></a> - Exception in <a href="../jointyc/analysis/semantic/exception/package-summary.html">jointyc.analysis.semantic.exception</a></dt>
125+
<dt><a href="../jointyc/analysis/semantic/exception/AxiomBufferClearException.html" title="class in jointyc.analysis.semantic.exception"><span class="typeNameLink">AxiomBufferClearException</span></a> - Exception in <a href="../jointyc/analysis/semantic/exception/package-summary.html">jointyc.analysis.semantic.exception</a></dt>
119126
<dd>
120-
<div class="block">Usually thrown when the last semantic action of an interpreter left more than one object in the result buffer.</div>
127+
<div class="block">Thrown when the interpreter method of the axiom has been annotated with the <a href="../jointyc/analysis/semantic/annotation/NoBufferClear.html" title="annotation in jointyc.analysis.semantic.annotation"><code>NoBufferClear</code></a> annotation.</div>
121128
</dd>
122-
<dt><span class="memberNameLink"><a href="../jointyc/analysis/semantic/exception/AxiomResultException.html#AxiomResultException--">AxiomResultException()</a></span> - Constructor for exception jointyc.analysis.semantic.exception.<a href="../jointyc/analysis/semantic/exception/AxiomResultException.html" title="class in jointyc.analysis.semantic.exception">AxiomResultException</a></dt>
129+
<dt><span class="memberNameLink"><a href="../jointyc/analysis/semantic/exception/AxiomBufferClearException.html#AxiomBufferClearException--">AxiomBufferClearException()</a></span> - Constructor for exception jointyc.analysis.semantic.exception.<a href="../jointyc/analysis/semantic/exception/AxiomBufferClearException.html" title="class in jointyc.analysis.semantic.exception">AxiomBufferClearException</a></dt>
123130
<dd>&nbsp;</dd>
124131
</dl>
125-
<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">N</a>&nbsp;<a href="index-12.html">P</a>&nbsp;<a href="index-13.html">Q</a>&nbsp;<a href="index-14.html">R</a>&nbsp;<a href="index-15.html">S</a>&nbsp;<a href="index-16.html">T</a>&nbsp;<a href="index-17.html">U</a>&nbsp;<a href="index-18.html">V</a>&nbsp;<a href="index-19.html">W</a>&nbsp;</div>
132+
<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">P</a>&nbsp;<a href="index-14.html">Q</a>&nbsp;<a href="index-15.html">R</a>&nbsp;<a href="index-16.html">S</a>&nbsp;<a href="index-17.html">T</a>&nbsp;<a href="index-18.html">U</a>&nbsp;<a href="index-19.html">V</a>&nbsp;<a href="index-20.html">W</a>&nbsp;</div>
126133
<!-- ======= START OF BOTTOM NAVBAR ====== -->
127134
<div class="bottomNav"><a name="navbar.bottom">
128135
<!-- -->

0 commit comments

Comments
 (0)