ArrowSyntaxRendering is a tiny Pharo package that renders Smalltalk assignment and return tokens as arrows in Rubric code editors.
It changes display only:
:=is rendered as←^is rendered as↑- the stored source text remains normal Smalltalk
Metacello new
baseline: 'ArrowSyntaxRendering';
repository: 'github://Gabriel-Darbord/arrow-syntax-rendering:main/src';
load.To load tests too:
Metacello new
baseline: 'ArrowSyntaxRendering';
repository: 'github://Gabriel-Darbord/arrow-syntax-rendering:main/src';
load: 'development'.Enable or disable it from the Pharo settings browser under code browsing, or evaluate:
ASRArrowSyntaxInstaller enable.
ASRArrowSyntaxInstaller disable.
ASRArrowSyntaxInstaller toggle.