<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">El 15/7/22 a las 15:38, Francisco Garau
via Cuis-dev escribió:<br>
</div>
<blockquote type="cite"
cite="mid:CAKAN0GcFKH5COYFF=oHRFPXLRmgxCmVk1NSP4xni8z+qqw2cww@mail.gmail.com">
<div>
<blockquote style="margin:0px 0px 0px
40px;border:none;padding:0px">
<div><br>
</div>
</blockquote>
</div>
<div>I think building a separate Parser is a sensible approach --
is there a Smalltalk Parser as a separate package that can be
tweaked without affecting the running image?</div>
</blockquote>
<p>You can overwrite #compilerClass method for the classes you want
the new syntax to be available. Point to a new subclass of
Compiler. Then implement #parserClass in the new Compiler
subclass, pointing to a new Parser subclass that implements your
syntax.</p>
<p>Cheers,</p>
<p> Mariano<br>
</p>
</body>
</html>