|
Message-ID: <20140727175125.GI10402@port70.net> Date: Sun, 27 Jul 2014 19:51:26 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: Non-stub gettext API functions committed, ready for testing * Rich Felker <dalias@...c.org> [2014-07-27 13:36:05 -0400]: > On Sun, Jul 27, 2014 at 07:23:09PM +0200, Szabolcs Nagy wrote: > > so they implement > > conditional (?:) > > logic (&&, ||, !) > > relational (==, !=, <, >, <=, >=) > > and arithmetic (+, -, *, /, %) > > operators with unsigned long args only > > And parentheses? > yes > >From what I can tell, that's not so bad. Anyone feel like writing an > expression evaluator for it? I think recursive descent is fine as long > as the length of the string being evaluated is capped at a sane length > (or just keep a depth counter and abort the evaluation if it exceeds > some reasonable limit). > i can try
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.