forked from SeasideSt/Grease
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/GsDevKit/Grease
- Loading branch information
Showing
292 changed files
with
1,600 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"noMethodMetaData" : true, | ||
"separateMethodMetaAndSource" : false, | ||
"useCypressPropertiesFile" : true } | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
1 change: 1 addition & 0 deletions
1
repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineCommon..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
baselines | ||
baselineCommon: spec | ||
|
||
spec | ||
for: #common | ||
do: [ spec blessing: #baseline. | ||
|
1 change: 1 addition & 0 deletions
1
repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselineGemStone..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
baselines | ||
baselineGemStone: spec | ||
|
||
spec | ||
for: #'gemstone' | ||
do: [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 8 additions & 11 deletions
19
repository/BaselineOfGrease.package/BaselineOfGrease.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "BaselineOfGrease", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "BaselineOfGrease", | ||
"pools" : [ | ||
], | ||
"super" : "BaselineOf", | ||
"type" : "normal" } | ||
"category" : "BaselineOfGrease", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "BaselineOfGrease", | ||
"type" : "normal" | ||
} |
1 change: 0 additions & 1 deletion
1
repository/BaselineOfGrease.package/monticello.meta/categories.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
SystemOrganization addCategory: #BaselineOfGrease! | ||
SystemOrganization addCategory: #'BaselineOfGrease-Manifest'! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
{ | ||
} | ||
{ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFile.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
files | ||
newTemporaryFile | ||
"Create a new temporary file in the systems temp directory and answer its pathString. | ||
It is the users responsibility to delete or move the file, it will not be cleaned up automatically | ||
(unless the host system has a policy for it)." | ||
^ self subclassResponsibility |
6 changes: 6 additions & 0 deletions
6
repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileNamed..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
files | ||
newTemporaryFileNamed: aName | ||
"Create a new temporary file in the systems temp directory and answer its pathString. | ||
It is the users responsibility to delete or move the file, it will not be cleaned up automatically | ||
(unless the host system has a policy for it)." | ||
self subclassResponsibility |
8 changes: 0 additions & 8 deletions
8
repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReferenceNamed..st
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
repository/Grease-Core.package/GRPlatform.class/instance/sizeOfFile..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
files | ||
sizeOfFile: aString | ||
|
||
self subclassResponsibility |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
encoding | ||
base64Encode: aByteArray | ||
^ (Base64MimeConverter mimeEncode: aByteArray readStream) contents | ||
^ (Base64MimeConverter mimeEncode: aByteArray readStream) contents |
2 changes: 1 addition & 1 deletion
2
.../Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/contentsOfFile.binary..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
file-library | ||
files | ||
contentsOfFile: aString binary: aBoolean | ||
^ self fileStreamOn: aString do: [ :stream | stream contents ] binary: aBoolean |
4 changes: 4 additions & 0 deletions
4
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/deleteFile..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
files | ||
deleteFile: aPathString | ||
|
||
GsFile removeServerFile: aPathString |
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/directoriesIn..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rease-GemStone-Core.package/GRGemStonePlatform.class/instance/ensureExistenceOfFolder..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
file-library | ||
files | ||
ensureExistenceOfFolder: aString | ||
"creates a folder named aString in the default server directory" | ||
ServerFileDirectory default assureExistenceOfPath: aString |
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/fileExists..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
file-library | ||
files | ||
fileExists: aString | ||
^ GsFile existsOnServer: aString |
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/filesIn..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/localNameOf..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
file-library | ||
files | ||
localNameOf: aFilename | ||
^(ServerFileDirectory on: aFilename) localName |
4 changes: 4 additions & 0 deletions
4
...sitory/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFile.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
files | ||
newTemporaryFile | ||
|
||
^ self newTemporaryFileNamed: UUID new greaseString |
7 changes: 7 additions & 0 deletions
7
.../Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/newTemporaryFileNamed..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
files | ||
newTemporaryFileNamed: aName | ||
|
||
| fileName | | ||
fileName := GRPlatform current pathSeparator,'tmp', GRPlatform current pathSeparator, aName. | ||
(self fileExists: fileName) ifTrue: [ GRError new signal: 'A (temporary) file with name ', aName, ' already exists.' ]. | ||
^ (GsFile openWriteOnServer: fileName) pathName |
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/pathSeparator.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
file-library | ||
files | ||
pathSeparator | ||
^ FileDirectory pathNameDelimiter asString |
2 changes: 1 addition & 1 deletion
2
...se-GemStone-Core.package/GRGemStonePlatform.class/instance/readFileStreamOn.do.binary..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
file-library | ||
files | ||
readFileStreamOn: aString do: aBlock binary: aBoolean | ||
| stream dir file | | ||
[ | ||
|
4 changes: 4 additions & 0 deletions
4
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/sizeOfFile..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
files | ||
sizeOfFile: aPathString | ||
|
||
^ GsFile sizeOfOnServer: aPathString |
2 changes: 1 addition & 1 deletion
2
.../Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/write.toFile.inFolder..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...e-GemStone-Core.package/GRGemStonePlatform.class/instance/writeFileStreamOn.do.binary..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFile.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
files | ||
newTemporaryFile | ||
|
||
^ self newTemporaryFileNamed: UUID new greaseString |
7 changes: 7 additions & 0 deletions
7
...ory/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileNamed..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
files | ||
newTemporaryFileNamed: aName | ||
|
||
| newFile | | ||
newFile := FileLocator temp / aName. | ||
newFile exists ifTrue: [ GRError new signal: 'A (temporary) file with name ', aName, ' already exists.' ]. | ||
^ newFile pathString |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/sizeOfFile..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
files | ||
sizeOfFile: aString | ||
|
||
^ aString asFileReference size |
2 changes: 1 addition & 1 deletion
2
repository/Grease-Pharo100-Core.package/monticello.meta/categories.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
SystemOrganization addCategory: #'Grease-Pharo100-Core'! | ||
self packageOrganizer ensurePackage: #'Grease-Pharo100-Core' withTags: #()! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"separateMethodMetaAndSource" : false, | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/group.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
group | ||
|
||
^ 'ANSI Compatibility' |
19 changes: 19 additions & 0 deletions
19
repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
initialization | ||
initialize | ||
|
||
super initialize. | ||
self | ||
replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ]' | ||
with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 ] ]'; | ||
replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ]' | ||
with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 ] ] ]'; | ||
replace: '``@expr1 and: [ | `@temp2 | ``@expr2 ] and: [ | `@temp3 | ``@expr3 ] and: [ | `@temp4 | ``@expr4 ] and: [ | `@temp5 | ``@expr5 ]' | ||
with: '``@expr1 and: [ | `@temp2 | ``@expr2 and: [ | `@temp3 | ``@expr3 and: [ | `@temp4 | ``@expr4 and: [ | `@temp5 | ``@expr5 ] ] ] ]'; | ||
replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ]' | ||
with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 ] ]'; | ||
replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ]' | ||
with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 ] ] ]'; | ||
replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ]' | ||
with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 ] ] ] ]'; | ||
replace: '``@expr1 or: [ | `@temp2 | ``@expr2 ] or: [ | `@temp3 | ``@expr3 ] or: [ | `@temp4 | ``@expr4 ] or: [ | `@temp5 | ``@expr5 ] or: [ | `@temp6 | ``@expr6 ]' | ||
with: '``@expr1 or: [ | `@temp2 | ``@expr2 or: [ | `@temp3 | ``@expr3 or: [ | `@temp4 | ``@expr4 or: [ | `@temp5 | ``@expr5 or: [ | `@temp6 | ``@expr6 ] ] ] ] ]' |
4 changes: 4 additions & 0 deletions
4
repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/name.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
name | ||
|
||
^ 'Booleans' |
4 changes: 4 additions & 0 deletions
4
repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/instance/rationale.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
rationale | ||
|
||
^ '#and:and: and #or:or: are not ANSI compatible.' |
11 changes: 11 additions & 0 deletions
11
repository/Grease-Pharo110-Slime.package/GRAnsiBooleansRule.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "GRSlimeTransformationRule", | ||
"category" : "Grease-Pharo110-Slime", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "GRAnsiBooleansRule", | ||
"type" : "normal" | ||
} |
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/group.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
group | ||
|
||
^ 'ANSI Compatibility' |
16 changes: 16 additions & 0 deletions
16
repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
initialization | ||
initialize | ||
|
||
super initialize. | ||
self | ||
replace: 'Character value: ``@expr' | ||
with: 'Character codePoint: ``@expr'. | ||
self | ||
replace: '`#source `{:node | node value isCharacter }` to: `#target' | ||
byEvaluating: [ :node | | ||
(node receiver value isCharacter and: [ | ||
node arguments first value isCharacter ]) | ||
ifTrue: [ | ||
RBLiteralNode value: (String streamContents: [ :stream | | ||
node receiver value codePoint to: node arguments first value codePoint do: [ :code | stream nextPut: (Character codePoint: code) ] ]) ] | ||
ifFalse: [ node ] ] |
4 changes: 4 additions & 0 deletions
4
repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/name.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
name | ||
|
||
^ 'Characters' |
4 changes: 4 additions & 0 deletions
4
repository/Grease-Pharo110-Slime.package/GRAnsiCharactersRule.class/instance/rationale.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
rationale | ||
|
||
^ 'Character value: 64 and $a to: $b is not ANSI compatible.' |
Oops, something went wrong.