Squeak 3.9: using SqNumberParser in Number>>readFrom:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Regexes (was Re: Squeak 3.9: using SqNumberParser in Number>>readFrom:)

J J-6
Why are regexes still an external dependency?  At this point they are as
much a requirement as file access, no?  Is it the implementation that people
don't like?  If so I would say adopt it anyway if the interface is livable
(and change it to a livable one if it isn't) and fix the implementation
later.


>From: "Lukas Renggli" <[hidden email]>
>Reply-To: The general-purpose Squeak developers
>list<[hidden email]>
>To: "The general-purpose Squeak developers
>list"<[hidden email]>
>Subject: Re: Squeak 3.9: using SqNumberParser in Number>>readFrom:
>Date: Sun, 25 Mar 2007 15:56:46 +0200
>
>>OK, I have committed to the repository. No SqNumberParser needed, so
>>it should be compatible to Squeak 3.8. Midway through it, I realized
>>that the input checking would be best handled by a regular expression.
>>I still use the normal collection protocol (occurrenceOf:, indexOf:
>>etc).
>
>Sounds fine, unfortunately the packages you posted are empty again.
>
>Btw, you can see the contents of your packages before publishing by
>clicking on 'Browse' in the Monticello browser.
>
>>Would it be OK to use regular expressions or is that another
>>dependency that people would not like to have?
>
>I would try to avoid any external dependencies that are not necessary
>at all cost.
>
>Lukas
>
>--
>Lukas Renggli
>http://www.lukas-renggli.ch
>

_________________________________________________________________
Live Search Maps – find all the local information you need, right when you
need it. http://maps.live.com/?icid=hmtag2&FORM=MGAC01


12