Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present draft
authorPatrik Svestka <patrik.svestka@gmail.com>
Wed, 14 Nov 2018 13:01:14 +0100
changeset 642 77d5fddb6462
parent 556 51c6afba5c91
child 643 65da3a4195b6
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present - All source *.st files are now Unicode UTF8 without BOM Files are in two groups (fileOut works this way in Smalltalk/X): - containing a unicode character have "{ Encoding: utf8 }" at the header - ASCII only are without the header
PPAndParser.st
PPCharSetPredicate.st
PPChoiceParser.st
PPEndOfInputParser.st
PPExpressionParser.st
PPFailure.st
PPLiteralSequenceParser.st
PPMemento.st
PPMemoizedParser.st
PPNotParser.st
PPStream.st
PPTrimmingParser.st
PPUnresolvedParser.st
PPWrappingParser.st
analyzer/tests/PPAnalyzerTest.st
devtools/PPDebugger.st
devtools/PPDebuggingParser.st
devtools/extensions.st
islands/JavaParser.st
islands/PPIsland.st
islands/PPMemoizingIsland.st
islands/RobustXmlFeedParser.st
islands/XmlFeedParser.st
parsers/java/PJBlockNode.st
parsers/java/PJConstructorDeclarationNode.st
parsers/java/PJExpressionStatementNode.st
parsers/java/PJInfixOperationNode.st
parsers/java/PJLocalVariableDeclarationStatementNode.st
parsers/java/PJReturnStatementNode.st
parsers/java/PJStatementNode.st
parsers/java/PJVariableDeclaratorNode.st
parsers/java/PPJavaLexicon.st
tests/PPMappingTest.st
tests/PPParserResource.st
tests/PPScriptingTest.st
--- a/PPAndParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPAndParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPDelegateParser subclass:#PPAndParser
@@ -40,6 +42,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPAndParser.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPAndParser.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
 
--- a/PPCharSetPredicate.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPCharSetPredicate.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 "{ NameSpace: Smalltalk }"
@@ -49,6 +51,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPCharSetPredicate.st 4 2010-12-18 17:02:23Z kursjan ž'
+    ^ '┬žId: PPCharSetPredicate.st 4 2010-12-18 17:02:23Z kursjan ┬ž'
 ! !
 
--- a/PPChoiceParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPChoiceParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPListParser subclass:#PPChoiceParser
@@ -39,6 +41,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPChoiceParser.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPChoiceParser.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
 
--- a/PPEndOfInputParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPEndOfInputParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPDelegateParser subclass:#PPEndOfInputParser
@@ -40,6 +42,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPEndOfInputParser.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPEndOfInputParser.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
 
--- a/PPExpressionParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPExpressionParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 "{ NameSpace: Smalltalk }"
@@ -113,6 +115,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPExpressionParser.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPExpressionParser.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
 
--- a/PPFailure.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPFailure.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 Object subclass:#PPFailure
@@ -91,6 +93,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPFailure.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPFailure.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
 
--- a/PPLiteralSequenceParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPLiteralSequenceParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPLiteralParser subclass:#PPLiteralSequenceParser
@@ -59,6 +61,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPLiteralSequenceParser.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPLiteralSequenceParser.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
 
--- a/PPMemento.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPMemento.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 Object subclass:#PPMemento
@@ -67,6 +69,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPMemento.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPMemento.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
 
--- a/PPMemoizedParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPMemoizedParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPDelegateParser subclass:#PPMemoizedParser
@@ -55,6 +57,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPMemoizedParser.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPMemoizedParser.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
 
--- a/PPNotParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPNotParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPDelegateParser subclass:#PPNotParser
@@ -32,6 +34,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPNotParser.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPNotParser.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
 
--- a/PPStream.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPStream.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 "{ NameSpace: Smalltalk }"
@@ -117,7 +119,7 @@
 		ifFalse: [ ^ super printOn: aStream ].
 	aStream
 		nextPutAll: (collection copyFrom: 1 to: position);
-		nextPutAll: 'Ě';
+		nextPutAll: '┬Ě';
 		nextPutAll: (collection copyFrom: position + 1 to: readLimit)
 ! !
 
--- a/PPTrimmingParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPTrimmingParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPDelegateParser subclass:#PPTrimmingParser
@@ -56,6 +58,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPTrimmingParser.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPTrimmingParser.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
 
--- a/PPUnresolvedParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPUnresolvedParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPParser subclass:#PPUnresolvedParser
@@ -31,5 +33,5 @@
 !
 
 version_SVN
-    ^ 'žId: PPUnresolvedParser.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPUnresolvedParser.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
--- a/PPWrappingParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/PPWrappingParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser' }"
 
 PPActionParser subclass:#PPWrappingParser
@@ -25,6 +27,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPWrappingParser.st 2 2010-12-17 18:44:23Z vranyj1 ž'
+    ^ '┬žId: PPWrappingParser.st 2 2010-12-17 18:44:23Z vranyj1 ┬ž'
 ! !
 
--- a/analyzer/tests/PPAnalyzerTest.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/analyzer/tests/PPAnalyzerTest.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser/analyzer/tests' }"
 
 "{ NameSpace: Smalltalk }"
@@ -19,7 +21,7 @@
 !PPAnalyzerTest methodsFor:'accessing'!
 
 grammarA
-	"GŘting, Erwig, ▄bersetzerbau, Springer (p.63)"
+	"G├╝ting, Erwig, ├ťbersetzerbau, Springer (p.63)"
 
 	| grammar |
 	grammar := Dictionary new.
--- a/devtools/PPDebugger.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/devtools/PPDebugger.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser/devtools' }"
 
 Object subclass:#PPDebugger
@@ -77,5 +79,5 @@
 !
 
 version_SVN
-    ^ 'žId: PPDebugger.st 10 2012-05-04 18:54:13Z vranyj1 ž'
+    ^ '┬žId: PPDebugger.st 10 2012-05-04 18:54:13Z vranyj1 ┬ž'
 ! !
--- a/devtools/PPDebuggingParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/devtools/PPDebuggingParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser/devtools' }"
 
 PPParser subclass:#PPDebuggingParser
@@ -70,5 +72,5 @@
 !
 
 version_SVN
-    ^ 'žId: PPDebuggingParser.st 10 2012-05-04 18:54:13Z vranyj1 ž'
+    ^ '┬žId: PPDebuggingParser.st 10 2012-05-04 18:54:13Z vranyj1 ┬ž'
 ! !
--- a/devtools/extensions.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/devtools/extensions.st	Wed Nov 14 13:01:14 2018 +0100
@@ -340,4 +340,4 @@
 
 extensionsVersion_CVS
     ^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/extensions.st,v 1.3 2013-01-11 09:58:24 vrany Exp $'
-! !
\ No newline at end of file
+! !
--- a/islands/JavaParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/islands/JavaParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -11,7 +11,70 @@
 	category:'PetitIslands-Examples'
 !
 
-JavaParser comment:'A JavaParser is a island parser, that can extract method names from a java file.

Instance Variables
	arguments:		<Object>
	block:		<Object>
	classBody:		<Object>
	classDef:		<Object>
	classId:		<Object>
	javaClass:		<Object>
	javaClassIsland:		<Object>
	methodBody:		<Object>
	methodDef:		<Object>
	methodModifiers:		<Object>
	methodName:		<Object>
	modifiers:		<Object>
	semicolon:		<Object>
	throws:		<Object>
	type:		<Object>

arguments
	- xxxxx

block
	- xxxxx

classBody
	- xxxxx

classDef
	- xxxxx

classId
	- xxxxx

javaClass
	- xxxxx

javaClassIsland
	- xxxxx

methodBody
	- xxxxx

methodDef
	- xxxxx

methodModifiers
	- xxxxx

methodName
	- xxxxx

modifiers
	- xxxxx

semicolon
	- xxxxx

throws
	- xxxxx

type
	- xxxxx
'
+JavaParser comment:'A JavaParser is a island parser, that can extract method names from a java file.
+
+Instance Variables
+	arguments:		<Object>
+	block:		<Object>
+	classBody:		<Object>
+	classDef:		<Object>
+	classId:		<Object>
+	javaClass:		<Object>
+	javaClassIsland:		<Object>
+	methodBody:		<Object>
+	methodDef:		<Object>
+	methodModifiers:		<Object>
+	methodName:		<Object>
+	modifiers:		<Object>
+	semicolon:		<Object>
+	throws:		<Object>
+	type:		<Object>
+
+arguments
+	- xxxxx
+
+block
+	- xxxxx
+
+classBody
+	- xxxxx
+
+classDef
+	- xxxxx
+
+classId
+	- xxxxx
+
+javaClass
+	- xxxxx
+
+javaClassIsland
+	- xxxxx
+
+methodBody
+	- xxxxx
+
+methodDef
+	- xxxxx
+
+methodModifiers
+	- xxxxx
+
+methodName
+	- xxxxx
+
+modifiers
+	- xxxxx
+
+semicolon
+	- xxxxx
+
+throws
+	- xxxxx
+
+type
+	- xxxxx
+'
 !
 
 !JavaParser methodsFor:'as yet unclassified'!
--- a/islands/PPIsland.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/islands/PPIsland.st	Wed Nov 14 13:01:14 2018 +0100
@@ -10,7 +10,48 @@
 	category:'PetitIslands-Parsers'
 !
 
-PPIsland comment:'A PPIsland allows for imprecise parsing. One can create it on a parser p by calling: ''p island'' E.g.:

p := x, a island, y              accepts following inputs:
x.....a.....b 
xab

yet fails on:
x....a....c
xb
xac
x..b....a....b

The input represented by dots is called water and water can appear before and after the island. Use it, if you don''t want to define all the grammar rules and you want to skip something.

I am still an experiment, but if you know how to improve me, please contact Jan Kurs at: kurs@iam.unibe.ch

Instance Variables
	afterWaterParser:		<Object>
	awp:		<Object>
	beforeWaterParser:		<Object>
	bwp:		<Object>
	context:		<Object>
	island:		<Object>

afterWaterParser
	- xxxxx

awp
	- xxxxx

beforeWaterParser
	- xxxxx

bwp
	- xxxxx

context
	- xxxxx

island
	- xxxxx
'
+PPIsland comment:'A PPIsland allows for imprecise parsing. One can create it on a parser p by calling: ''p island'' E.g.:
+
+p := x, a island, y              accepts following inputs:
+x.....a.....b 
+xab
+
+yet fails on:
+x....a....c
+xb
+xac
+x..b....a....b
+
+The input represented by dots is called water and water can appear before and after the island. Use it, if you don''t want to define all the grammar rules and you want to skip something.
+
+I am still an experiment, but if you know how to improve me, please contact Jan Kurs at: kurs@iam.unibe.ch
+
+Instance Variables
+	afterWaterParser:		<Object>
+	awp:		<Object>
+	beforeWaterParser:		<Object>
+	bwp:		<Object>
+	context:		<Object>
+	island:		<Object>
+
+afterWaterParser
+	- xxxxx
+
+awp
+	- xxxxx
+
+beforeWaterParser
+	- xxxxx
+
+bwp
+	- xxxxx
+
+context
+	- xxxxx
+
+island
+	- xxxxx
+'
 !
 
 !PPIsland methodsFor:'accessing'!
--- a/islands/PPMemoizingIsland.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/islands/PPMemoizingIsland.st	Wed Nov 14 13:01:14 2018 +0100
@@ -9,7 +9,20 @@
 	category:'PetitIslands-Parsers'
 !
 
-PPMemoizingIsland comment:'A PPMemoizingIsland is memoized version of PPIsland. Use this one, unless you don''t mind really bad performance. If the memoized version is not working flawlessly, its a bug!!

Please see help of the PPIsland for how to use...

Instance Variables
	memoizationDictionaries:		<Object>
	rootParser:		<Object>

memoizationDictionaries
	- memoization cache

rootParser
	- used for memoizing, once the root changes, flushes the caches
'
+PPMemoizingIsland comment:'A PPMemoizingIsland is memoized version of PPIsland. Use this one, unless you don''t mind really bad performance. If the memoized version is not working flawlessly, its a bug!!
+
+Please see help of the PPIsland for how to use...
+
+Instance Variables
+	memoizationDictionaries:		<Object>
+	rootParser:		<Object>
+
+memoizationDictionaries
+	- memoization cache
+
+rootParser
+	- used for memoizing, once the root changes, flushes the caches
+'
 !
 
 
--- a/islands/RobustXmlFeedParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/islands/RobustXmlFeedParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -9,7 +9,8 @@
 	category:'PetitIslands-Examples'
 !
 
-RobustXmlFeedParser comment:'A RobustXmlFeedParser is XmlFeedParser, that can handle error within an xml Item element
'
+RobustXmlFeedParser comment:'A RobustXmlFeedParser is XmlFeedParser, that can handle error within an xml Item element
+'
 !
 
 
--- a/islands/XmlFeedParser.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/islands/XmlFeedParser.st	Wed Nov 14 13:01:14 2018 +0100
@@ -10,7 +10,66 @@
 	category:'PetitIslands-Examples'
 !
 
-XmlFeedParser comment:'A XmlFeedParser is Parser of a fake shop feed. Shop feed is a XML file with information about shop products. Shop feed can be malformed (for any reason) the parser will recover from malformed item and will continue on the next valid item.

Instance Variables
	closeItem:		<Object>
	closeName:		<Object>
	closeShoplist:		<Object>
	item:		<Object>
	itemContent:		<Object>
	name:		<Object>
	nameContent:		<Object>
	openItem:		<Object>
	openName:		<Object>
	openShoplist:		<Object>
	shoplist:		<Object>
	shoplistContent:		<Object>
	simpleElement:		<Object>
	stringValue:		<Object>

closeItem
	- xxxxx

closeName
	- xxxxx

closeShoplist
	- xxxxx

item
	- xxxxx

itemContent
	- xxxxx

name
	- xxxxx

nameContent
	- xxxxx

openItem
	- xxxxx

openName
	- xxxxx

openShoplist
	- xxxxx

shoplist
	- xxxxx

shoplistContent
	- xxxxx

simpleElement
	- xxxxx

stringValue
	- xxxxx
'
+XmlFeedParser comment:'A XmlFeedParser is Parser of a fake shop feed. Shop feed is a XML file with information about shop products. Shop feed can be malformed (for any reason) the parser will recover from malformed item and will continue on the next valid item.
+
+Instance Variables
+	closeItem:		<Object>
+	closeName:		<Object>
+	closeShoplist:		<Object>
+	item:		<Object>
+	itemContent:		<Object>
+	name:		<Object>
+	nameContent:		<Object>
+	openItem:		<Object>
+	openName:		<Object>
+	openShoplist:		<Object>
+	shoplist:		<Object>
+	shoplistContent:		<Object>
+	simpleElement:		<Object>
+	stringValue:		<Object>
+
+closeItem
+	- xxxxx
+
+closeName
+	- xxxxx
+
+closeShoplist
+	- xxxxx
+
+item
+	- xxxxx
+
+itemContent
+	- xxxxx
+
+name
+	- xxxxx
+
+nameContent
+	- xxxxx
+
+openItem
+	- xxxxx
+
+openName
+	- xxxxx
+
+openShoplist
+	- xxxxx
+
+shoplist
+	- xxxxx
+
+shoplistContent
+	- xxxxx
+
+simpleElement
+	- xxxxx
+
+stringValue
+	- xxxxx
+'
 !
 
 !XmlFeedParser methodsFor:'grammar'!
--- a/parsers/java/PJBlockNode.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/parsers/java/PJBlockNode.st	Wed Nov 14 13:01:14 2018 +0100
@@ -9,7 +9,9 @@
 	category:'PetitJava-AST'
 !
 
-PJBlockNode comment:'A node representing a block of java code.

A block begins with: { ends with: } and has statement in between.'
+PJBlockNode comment:'A node representing a block of java code.
+
+A block begins with: { ends with: } and has statement in between.'
 !
 
 !PJBlockNode methodsFor:'accessing'!
--- a/parsers/java/PJConstructorDeclarationNode.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/parsers/java/PJConstructorDeclarationNode.st	Wed Nov 14 13:01:14 2018 +0100
@@ -9,7 +9,9 @@
 	category:'PetitJava-AST'
 !
 
-PJConstructorDeclarationNode comment:'constructor-specific behavioural entity.

more in superclass comment'
+PJConstructorDeclarationNode comment:'constructor-specific behavioural entity.
+
+more in superclass comment'
 !
 
 !PJConstructorDeclarationNode methodsFor:'accessing'!
--- a/parsers/java/PJExpressionStatementNode.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/parsers/java/PJExpressionStatementNode.st	Wed Nov 14 13:01:14 2018 +0100
@@ -9,7 +9,15 @@
 	category:'PetitJava-AST'
 !
 
-PJExpressionStatementNode comment:'A statement which has nothing but expression in it.


Examples:

5;
a = 5;
a.foo();
a = for(5);'
+PJExpressionStatementNode comment:'A statement which has nothing but expression in it.
+
+
+Examples:
+
+5;
+a = 5;
+a.foo();
+a = for(5);'
 !
 
 
--- a/parsers/java/PJInfixOperationNode.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/parsers/java/PJInfixOperationNode.st	Wed Nov 14 13:01:14 2018 +0100
@@ -9,7 +9,9 @@
 	category:'PetitJava-AST'
 !
 
-PJInfixOperationNode comment:'This node is a STUB!!!!!!!!

It''s being used for each node that consists of 2 expressions and some operation in between e.g.: +, -, =, +=, ==...'
+PJInfixOperationNode comment:'This node is a STUB!!!!!!!!
+
+It''s being used for each node that consists of 2 expressions and some operation in between e.g.: +, -, =, +=, ==...'
 !
 
 !PJInfixOperationNode methodsFor:'accessing'!
--- a/parsers/java/PJLocalVariableDeclarationStatementNode.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/parsers/java/PJLocalVariableDeclarationStatementNode.st	Wed Nov 14 13:01:14 2018 +0100
@@ -9,7 +9,14 @@
 	category:'PetitJava-AST'
 !
 
-PJLocalVariableDeclarationStatementNode comment:'Node representing a local variable declaration statement.

Eg:

int a;
int a = 5;
int a, b;
int a = 5, b;'
+PJLocalVariableDeclarationStatementNode comment:'Node representing a local variable declaration statement.
+
+Eg:
+
+int a;
+int a = 5;
+int a, b;
+int a = 5, b;'
 !
 
 !PJLocalVariableDeclarationStatementNode methodsFor:'accessing'!
--- a/parsers/java/PJReturnStatementNode.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/parsers/java/PJReturnStatementNode.st	Wed Nov 14 13:01:14 2018 +0100
@@ -9,7 +9,13 @@
 	category:'PetitJava-AST'
 !
 
-PJReturnStatementNode comment:'Return statement node.

Ex:

return 5;
return 5+a.foo();
return a;'
+PJReturnStatementNode comment:'Return statement node.
+
+Ex:
+
+return 5;
+return 5+a.foo();
+return a;'
 !
 
 !PJReturnStatementNode methodsFor:'accessing'!
--- a/parsers/java/PJStatementNode.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/parsers/java/PJStatementNode.st	Wed Nov 14 13:01:14 2018 +0100
@@ -9,6 +9,8 @@
 	category:'PetitJava-AST'
 !
 
-PJStatementNode comment:'A general superclass for every statement node.

Example: if, while, return, variable declaration..'
+PJStatementNode comment:'A general superclass for every statement node.
+
+Example: if, while, return, variable declaration..'
 !
 
--- a/parsers/java/PJVariableDeclaratorNode.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/parsers/java/PJVariableDeclaratorNode.st	Wed Nov 14 13:01:14 2018 +0100
@@ -9,7 +9,15 @@
 	category:'PetitJava-AST'
 !
 
-PJVariableDeclaratorNode comment:'A part of local variable declaration statement.

Example.
statement: int a;
declarator: a

statement: float a, b = 4;
declarator1: a
declarator2: b = 4'
+PJVariableDeclaratorNode comment:'A part of local variable declaration statement.
+
+Example.
+statement: int a;
+declarator: a
+
+statement: float a, b = 4;
+declarator1: a
+declarator2: b = 4'
 !
 
 !PJVariableDeclaratorNode methodsFor:'accessing'!
--- a/parsers/java/PPJavaLexicon.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/parsers/java/PPJavaLexicon.st	Wed Nov 14 13:01:14 2018 +0100
@@ -25,7 +25,11 @@
 	category:'PetitJava-Core'
 !
 
-PPJavaLexicon comment:'A parser with a definitions for some basic Java gramar parts

Grammar rules follow as closely as possible the specification found in "The Java Language Specification Third Edition"

URL = '
+PPJavaLexicon comment:'A parser with a definitions for some basic Java gramar parts
+
+Grammar rules follow as closely as possible the specification found in "The Java Language Specification Third Edition"
+
+URL = '
 !
 
 
--- a/tests/PPMappingTest.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/tests/PPMappingTest.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser/tests' }"
 
 "{ NameSpace: Smalltalk }"
@@ -96,6 +98,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPMappingTest.st 4 2010-12-18 17:02:23Z kursjan ž'
+    ^ '┬žId: PPMappingTest.st 4 2010-12-18 17:02:23Z kursjan ┬ž'
 ! !
 
--- a/tests/PPParserResource.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/tests/PPParserResource.st	Wed Nov 14 13:01:14 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'stx:goodies/petitparser/tests' }"
 
 "{ NameSpace: Smalltalk }"
@@ -41,6 +43,6 @@
 !
 
 version_SVN
-    ^ 'žId: PPParserResource.st 4 2010-12-18 17:02:23Z kursjan ž'
+    ^ '┬žId: PPParserResource.st 4 2010-12-18 17:02:23Z kursjan ┬ž'
 ! !
 
--- a/tests/PPScriptingTest.st	Sat Mar 19 00:12:47 2016 +0100
+++ b/tests/PPScriptingTest.st	Wed Nov 14 13:01:14 2018 +0100
@@ -9,7 +9,8 @@
 	category:'PetitTests-Tests'
 !
 
-PPScriptingTest comment:'These are some simple demo-scripts of parser combinators for the compiler construction course.
http://www.iam.unibe.ch/~scg/Teaching/CC/index.html'
+PPScriptingTest comment:'These are some simple demo-scripts of parser combinators for the compiler construction course.
+http://www.iam.unibe.ch/~scg/Teaching/CC/index.html'
 !