Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: For Comment and Trial: "Alternating WPS Lines" Proposed WPS extension
From: c s (rb_dev_at_yahoo.com)
Date: 2003-04-18


--- Kjell Ericson <Kjell.Ericson_at_haxx.se> wrote:
> On Fri, 18 Apr 2003, c s wrote:
> > The base time that the %t multiplies can
> > be any time (within some limits) from
> > a fraction of a second to many seconds.
>
> I would recomend to expand at to 1/10 of seconds
> right away. Otherwise you
> will soon start to be backward-compatible to
> something no one really wants.

I expect that the base time value that gets multiplied
by the %t tag will eventually be configurable, but I
would also expect that the default base time will be
one second as the majority of users would probably not
desire any finer control than one second increments,
but if it is configurable, anyone who needed a finer
resolution could set it to whatever they like without
creating a backward compatibility issue for other
people who have wps files that assume that the time
value is seconds.

> > The current wps parser is by design very
> > simple and small, at the expense of
> > requiring wps specification syntax that
> > sometimes looks somewhat cryptic
> > and/or difficult to read (even before my
> > sub-line additions).
>
> Yep, I totally agree. So if you don't make
> it user-friendly then you are
> joining the group :-)

You and I are in agreement in principal, but it's not
that simple. Yes, with unlimited resources it would be
desirable to make the wps definition syntax simple and
clean and make the application handle all the details
and do all the work.

The problem is that Rockbox is a small system running
in a very limited space, and parsers grow in size and
complexity very quickly as you try to make the coding
language more human friendly, so implementing anything
other than a very simple parser that requires use of a
somewhat cryptic wps syntax is not likely to happen.

If this is really a problem for people, it would be
better solved with an offline wps file
creation/editing application that could really make
wps file editing a lot simpler and more user friendly.
Even if it could be fit inside the Rockbox
application, wasting the limited code space inside
Rockbox for a function that is performed offline is
not a good idea.

=====
Craig

rb_dev_at_yahoo.com

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa